From 02a00e875dde55d2bdd509796cde165b4dd7b660 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Tue, 2 Sep 2025 09:31:38 +0200 Subject: [PATCH] ipv4: Implement tx_ok_stb --- trashernet/trashernet_ipv4.vhd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/trashernet/trashernet_ipv4.vhd b/trashernet/trashernet_ipv4.vhd index 7dc6c1e..fd29213 100644 --- a/trashernet/trashernet_ipv4.vhd +++ b/trashernet/trashernet_ipv4.vhd @@ -174,11 +174,13 @@ begin ipv4_out.tx_data_ack <= '0'; arp_in.arp_query_stb <= '0'; ipv4_out.tx_err_stb <= '0'; + ipv4_out.tx_ok_stb <= '0'; elsif rising_edge(clk) then arp_in.arp_query_stb <= '0'; ipv4_out.tx_data_ack <= '0'; ipv4_out.tx_err_stb <= '0'; + ipv4_out.tx_ok_stb <= '0'; if (ethernet_ii_out.tx_data_ack = '1') or (state = CALC_CKS) then if byte_cnt > 0 then @@ -232,7 +234,8 @@ begin sr(sr'low) <= ipv4_in.tx_data; ipv4_out.tx_data_ack <= '1'; if not ipv4_in.tx_en then - state <= IDLE; + state <= IDLE; + ipv4_out.tx_ok_stb <= '1'; end if; end if; end case;