From cd4b4bb99a3e5f711ea959e359d1385b08033355 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sat, 10 Apr 2010 07:25:32 +0000 Subject: [PATCH] - changed behaviour of 'crc32_vld' 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@902 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/emac/src/crc32.vhd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/emac/src/crc32.vhd b/lib/emac/src/crc32.vhd index c48cfb5..629b585 100644 --- a/lib/emac/src/crc32.vhd +++ b/lib/emac/src/crc32.vhd @@ -50,11 +50,12 @@ begin process(clk) begin if rising_edge(clk) then - crc32_vld <= not rst and din_vld; if rst = '1' then crc0 <= crc32_init; + crc32_vld <= '0'; elsif din_vld = '1' then crc0 <= crc2; + crc32_vld <= '1'; end if; end if; end process;