Skip to content
Snippets Groups Projects
Commit 953d1c8e authored by BRONES Romain's avatar BRONES Romain
Browse files

fix: Stop frame when soft reset, fix OK flag

* Remove check on dummy and reserved field on the frame. Frame is OK
  only of SOP EOP and CRC OK
* When soft reset is set, TVALID stays at zero. Not more packet output
  on AXIS
parent 17a3a944
No related branches found
No related tags found
No related merge requests found
......@@ -163,7 +163,7 @@ begin
'0';
-- Any and all flag
flag_all <= flag_sop and flag_eop and flag_dummy and flag_rsvd and flag_crc;
flag_all <= flag_sop and flag_eop and flag_crc;
flag_frame <= flag_sop and flag_eop;
----------------------------
......@@ -293,7 +293,7 @@ begin
packet.fa_seq <= packet_timestamp(7 downto 0);
-- AXIS TVALID
m_axi_tvalid <= '1';
m_axi_tvalid <= not soft_reset;
else
m_axi_tvalid <= '0';
end if;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment