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

fix(packeter): set data to zero when frame_error

* This avoid to transmit one BPM packet replication to the central.
parent 519cfd04
No related branches found
No related tags found
No related merge requests found
......@@ -249,7 +249,8 @@ begin
sup_arb_res_s1 <= not header_tready;
pkt_ix_tdata <= pkt_reg_tdata;
pkt_ix_tdata <= pkt_reg_tdata when frame_error = '0' else
(others => '0');
pkt_ix_tvalid <= frame_error or reg_tvalid;
pkt_ix_tlast <= frame_error or pkt_cnt_zero;
pkt_ix_tuser <= (others => frame_error);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment