URL
https://opencores.org/ocsvn/w11/w11/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 8 |
Rev 13 |
Line 1... |
Line 1... |
-- $Id: ib_sel.vhd 335 2010-10-24 22:24:23Z mueller $
|
-- $Id: ib_sel.vhd 427 2011-11-19 21:04:11Z mueller $
|
--
|
--
|
-- Copyright 2010- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
-- Copyright 2010- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
--
|
--
|
-- This program is free software; you may redistribute and/or modify it under
|
-- This program is free software; you may redistribute and/or modify it under
|
-- the terms of the GNU General Public License as published by the Free
|
-- the terms of the GNU General Public License as published by the Free
|
Line 52... |
Line 52... |
report "assert(SAWIDTH<=10)" severity failure;
|
report "assert(SAWIDTH<=10)" severity failure;
|
|
|
proc_regs: process (CLK)
|
proc_regs: process (CLK)
|
variable isel : slbit := '0';
|
variable isel : slbit := '0';
|
begin
|
begin
|
if CLK'event and CLK='1' then
|
if rising_edge(CLK) then
|
isel := '0';
|
isel := '0';
|
if IB_MREQ.aval='1' and
|
if IB_MREQ.aval='1' and
|
IB_MREQ.addr(12 downto SAWIDTH+1)=IB_ADDR(12 downto SAWIDTH+1) then
|
IB_MREQ.addr(12 downto SAWIDTH+1)=IB_ADDR(12 downto SAWIDTH+1) then
|
isel := '1';
|
isel := '1';
|
end if;
|
end if;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.