From a38101e4482c01fc3060b64d8b20a453a3092999 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Fri, 30 Oct 2009 12:27:36 +0000 Subject: [PATCH] - Minor changes Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@566 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/CPUs/MIPS/src/tb_mips_top.vhd | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/CPUs/MIPS/src/tb_mips_top.vhd b/lib/CPUs/MIPS/src/tb_mips_top.vhd index 854a2c8..87ea97e 100644 --- a/lib/CPUs/MIPS/src/tb_mips_top.vhd +++ b/lib/CPUs/MIPS/src/tb_mips_top.vhd @@ -398,6 +398,7 @@ FLASH_READ: variable instr : integer; variable index : natural; variable temp : signed(31 downto 0); + constant tpd : time := 25 ns; begin if rst = '1' then index := 0; @@ -408,21 +409,21 @@ FLASH_READ: index := index + 1; end loop; else - flash_d <= (others => 'Z') after 25 ns; + flash_d <= (others => 'Z') after tpd; index := to_integer(flash_a(FLASH_ADDR_WIDTH-1 downto 2)); if flash_oe_n = '0' then if flash_cs_n = '0' then if flash_be_n(0) = '0' then - flash_d(7 downto 0) <= flash_data(index)(7 downto 0) after 25 ns; + flash_d(7 downto 0) <= flash_data(index)(7 downto 0) after tpd; end if; if flash_be_n(1) = '0' then - flash_d(15 downto 8) <= flash_data(index)(15 downto 8) after 25 ns; + flash_d(15 downto 8) <= flash_data(index)(15 downto 8) after tpd; end if; if flash_be_n(2) = '0' then - flash_d(23 downto 16) <= flash_data(index)(23 downto 16) after 25 ns; + flash_d(23 downto 16) <= flash_data(index)(23 downto 16) after tpd; end if; if flash_be_n(3) = '0' then - flash_d(31 downto 24) <= flash_data(index)(31 downto 24) after 25 ns; + flash_d(31 downto 24) <= flash_data(index)(31 downto 24) after tpd; end if; end if; end if;