diff --git a/libraries/io/eth/src/vhdl/eth_tester_tx.vhd b/libraries/io/eth/src/vhdl/eth_tester_tx.vhd index 2468c46966073788b274257bdbe67d2d802cead0..e4ae9c2c1596302083f695dfad1218497d9d20ce 100644 --- a/libraries/io/eth/src/vhdl/eth_tester_tx.vhd +++ b/libraries/io/eth/src/vhdl/eth_tester_tx.vhd @@ -178,11 +178,12 @@ BEGIN ------------------------------------------------------------------------------- -- Assemble header info ------------------------------------------------------------------------------- - -- Whether the dp_offload_tx_hdr_fields value is actually used in the Tx header depends on: + -- Whether the dp_offload_tx_hdr_fields value is actually used in the Tx + -- header depends on: -- c_eth_tester_hdr_field_sel = "1"&"101"&"111011111001"&"0100"&"100" -- eth ip udp app - -- where 0 = data path, 1 = MM controlled. The '0' fields are assigned here in hdr_fields_slv_in - -- in order: + -- where 0 = data path, 1 = MM controlled. The '0' fields are assigned here + -- in hdr_fields_slv_in in order: -- access field -- MM word_align -- @@ -199,22 +200,24 @@ BEGIN -- MM ip_fragment_offset -- MM ip_time_to_live -- MM ip_protocol - -- DP ip_header_checksum --> not here, will be filled in by 1GbE eth component + -- DP ip_header_checksum --> not here, will be filled in by 1GbE + -- eth component -- DP ip_src_addr -- MM ip_dst_addr -- -- DP udp_src_port -- MM udp_dst_port -- DP udp_total_length - -- DP udp_checksum --> default fixed 0, so not used, not calculated here or in 1GbE - -- eth component because would require store and forward - -- + -- DP udp_checksum --> default fixed 0, so not used, not calculated + -- here or in 1GbE eth component because would + -- require store and forward -- MM dp_reserved -- DP dp_sync -- DP dp_bsn - -- The bg_block_len is still valid because bg_ctrl_hold holds the BG settings until it restarts, - -- so no need to pass bg_block_len on via e.g. the channel field in u_fifo + -- The bg_block_len is still valid because bg_ctrl_hold holds the BG settings + -- until it restarts, so no need to pass bg_block_len on via e.g. the channel + -- field in u_fifo. bg_block_len <= TO_UINT(bg_ctrl_hold.samples_per_packet(15 DOWNTO 0)); -- packet lenghts fit in 16b app_total_length <= c_eth_tester_app_hdr_len + bg_block_len WHEN rising_edge(st_clk); udp_total_length <= app_total_length + c_network_udp_header_len WHEN rising_edge(st_clk);