zircon: Fix flow control bug in parser

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2025-08-13 13:44:49 -07:00
parent 0aad8ef2cc
commit af8daa89ce

View File

@@ -455,9 +455,9 @@ always_comb begin
ip_hdr_cksum_next = '0;
corr_cksum_next = '0;
s_axis_pkt_tready_next = frame_reg || !meta_full;
s_axis_pkt_tready_next = frame_next || !meta_full;
if (s_axis_pkt.tready && s_axis_pkt.tvalid && !frame_reg) begin
if (s_axis_pkt.tready && s_axis_pkt.tvalid && !frame_reg && !meta_full) begin
run_next = 1'b1;
state_next = STATE_ETH_1;
end else begin