eth: Add frame length enforcement and additional statistics outputs to taxi_axis_xgmii_tx_32

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2025-04-07 22:00:34 -07:00
parent 07e781e186
commit 6d31116596
4 changed files with 442 additions and 37 deletions

View File

@@ -332,14 +332,25 @@ end else if (DATA_W == 32) begin
/*
* Configuration
*/
.cfg_ifg(cfg_ifg),
.cfg_tx_max_pkt_len(16'd9218),
.cfg_tx_ifg(cfg_ifg),
.cfg_tx_enable(cfg_tx_enable),
/*
* Status
*/
.start_packet(tx_start_packet[0]),
.error_underflow(tx_error_underflow)
.tx_start_packet(tx_start_packet[0]),
.stat_tx_byte(),
.stat_tx_pkt_len(),
.stat_tx_pkt_ucast(),
.stat_tx_pkt_mcast(),
.stat_tx_pkt_bcast(),
.stat_tx_pkt_vlan(),
.stat_tx_pkt_good(),
.stat_tx_pkt_bad(),
.stat_tx_err_oversize(),
.stat_tx_err_user(),
.stat_tx_err_underflow(tx_error_underflow)
);
assign tx_start_packet[1] = 1'b0;