fpga: rfnoc: Fix inferred latch in chdr_strip_header

Original-commit: 4c7cd12e8cd0f541d4cd824690c163e4558abd51
This commit is contained in:
Wade Fife
2022-11-13 16:47:57 -06:00
parent 7dc93d0e8c
commit 91a99b78d6
+4 -1
View File
@@ -109,8 +109,12 @@ module chdr_strip_header #(
//---------------------------------------------------------------------------
always_comb begin : sm_comb
// Default assignments
m_tdata = s_chdr_tdata;
m_tlast = s_chdr_tlast;
m_tvalid = 0;
m_tuser = packet_length;
s_chdr_tready = 1;
// Calculate the length of the header, including timestamp and metadata,
// minus 1.
@@ -137,7 +141,6 @@ module chdr_strip_header #(
ST_STRIP : begin
// Drop incoming words
m_tvalid = 0;
m_tuser = 'X;
s_chdr_tready = 1;
end
ST_PASS : begin