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;