Skip to content

Commit

Permalink
crc rst fix (affects sim)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbakalis-slac committed Mar 12, 2024
1 parent af26985 commit c8195ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocols/pgp/pgp2fc/core/rtl/Pgp2fcTxPhy.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ begin
end if;
end process;

crcRst <= '1' when fcWordCount = FC_WORDS_G else '0';
crcRst <= '1' when fcWordCount = FC_WORDS_G or pgpTxClkRst = '1' else '0';
crcEn <= '1' when curState = ST_FC_C else '0';

U_Crc7 : entity surf.CRC7Rtl
Expand Down

0 comments on commit c8195ce

Please sign in to comment.