Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
3b1a72c3
Commit
3b1a72c3
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Comment lines <= 80 char.
parent
c0c893b1
No related branches found
Branches containing commit
No related tags found
1 merge request
!288
Resolve L2SDP-836
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/io/eth/src/vhdl/eth_tester_tx.vhd
+12
-9
12 additions, 9 deletions
libraries/io/eth/src/vhdl/eth_tester_tx.vhd
with
12 additions
and
9 deletions
libraries/io/eth/src/vhdl/eth_tester_tx.vhd
+
12
−
9
View file @
3b1a72c3
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment