- 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
This commit is contained in:
2010-04-10 07:25:32 +00:00
parent d51a303d9c
commit cd4b4bb99a
+2 -1
View File
@@ -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;