Skip to content
Snippets Groups Projects
Commit 3b1a72c3 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Comment lines <= 80 char.

parent c0c893b1
No related branches found
No related tags found
1 merge request!288Resolve L2SDP-836
...@@ -178,11 +178,12 @@ BEGIN ...@@ -178,11 +178,12 @@ BEGIN
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
-- Assemble header info -- 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" -- c_eth_tester_hdr_field_sel = "1"&"101"&"111011111001"&"0100"&"100"
-- eth ip udp app -- eth ip udp app
-- where 0 = data path, 1 = MM controlled. The '0' fields are assigned here in hdr_fields_slv_in -- where 0 = data path, 1 = MM controlled. The '0' fields are assigned here
-- in order: -- in hdr_fields_slv_in in order:
-- access field -- access field
-- MM word_align -- MM word_align
-- --
...@@ -199,22 +200,24 @@ BEGIN ...@@ -199,22 +200,24 @@ BEGIN
-- MM ip_fragment_offset -- MM ip_fragment_offset
-- MM ip_time_to_live -- MM ip_time_to_live
-- MM ip_protocol -- 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 -- DP ip_src_addr
-- MM ip_dst_addr -- MM ip_dst_addr
-- --
-- DP udp_src_port -- DP udp_src_port
-- MM udp_dst_port -- MM udp_dst_port
-- DP udp_total_length -- DP udp_total_length
-- DP udp_checksum --> default fixed 0, so not used, not calculated here or in 1GbE -- DP udp_checksum --> default fixed 0, so not used, not calculated
-- eth component because would require store and forward -- here or in 1GbE eth component because would
-- -- require store and forward
-- MM dp_reserved -- MM dp_reserved
-- DP dp_sync -- DP dp_sync
-- DP dp_bsn -- DP dp_bsn
-- The bg_block_len is still valid because bg_ctrl_hold holds the BG settings until it restarts, -- The bg_block_len is still valid because bg_ctrl_hold holds the BG settings
-- so no need to pass bg_block_len on via e.g. the channel field in u_fifo -- 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 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); 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); udp_total_length <= app_total_length + c_network_udp_header_len WHEN rising_edge(st_clk);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment