From f8d2c266636b3483fc5c1353b9cdb059ca81a02a Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Fri, 27 Feb 2026 17:16:04 -0800 Subject: [PATCH] zircon: Fix types Signed-off-by: Alex Forencich --- src/zircon/rtl/zircon_ip_rx_parse.sv | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/zircon/rtl/zircon_ip_rx_parse.sv b/src/zircon/rtl/zircon_ip_rx_parse.sv index 15f0834..3eedb20 100644 --- a/src/zircon/rtl/zircon_ip_rx_parse.sv +++ b/src/zircon/rtl/zircon_ip_rx_parse.sv @@ -276,11 +276,12 @@ end else begin end // handle ethertype -logic [4:0] eth_type_state; +state_t eth_type_state; logic [31:0] eth_type_flags; always_comb begin eth_type_flags = '0; + eth_type_state = STATE_FINISH_1; if (pkt_data_be[15:0] == ETHERTYPE_VLAN_S) begin // S-tag eth_type_state = STATE_VLAN_1; @@ -303,11 +304,12 @@ always_comb begin end // handle next header -logic [4:0] next_hdr_state; +state_t next_hdr_state; logic [31:0] next_hdr_flags; always_comb begin next_hdr_flags = '0; + next_hdr_state = STATE_FINISH_1; case (next_hdr_reg) PROTO_IPV6_HOPOPT: begin next_hdr_flags[FLG_L3_OPT_PRSNT] = 1'b1;