- 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:
@@ -50,11 +50,12 @@ begin
|
|||||||
process(clk)
|
process(clk)
|
||||||
begin
|
begin
|
||||||
if rising_edge(clk) then
|
if rising_edge(clk) then
|
||||||
crc32_vld <= not rst and din_vld;
|
|
||||||
if rst = '1' then
|
if rst = '1' then
|
||||||
crc0 <= crc32_init;
|
crc0 <= crc32_init;
|
||||||
|
crc32_vld <= '0';
|
||||||
elsif din_vld = '1' then
|
elsif din_vld = '1' then
|
||||||
crc0 <= crc2;
|
crc0 <= crc2;
|
||||||
|
crc32_vld <= '1';
|
||||||
end if;
|
end if;
|
||||||
end if;
|
end if;
|
||||||
end process;
|
end process;
|
||||||
|
|||||||
Reference in New Issue
Block a user