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
fb9a4d7d
Commit
fb9a4d7d
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Add eth_tester for 1GbE-I,II. Use eth_stream for 1GbE-II.
parent
d777352b
No related branches found
No related tags found
1 merge request
!293
Rename eth_stream into eth_stream_udp. Create new eth_stream.vhd that contains...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
boards/uniboard2c/designs/unb2c_test/unb2c_test.fpga.yaml
+88
-29
88 additions, 29 deletions
boards/uniboard2c/designs/unb2c_test/unb2c_test.fpga.yaml
with
88 additions
and
29 deletions
boards/uniboard2c/designs/unb2c_test/unb2c_test.fpga.yaml
+
88
−
29
View file @
fb9a4d7d
...
@@ -6,9 +6,8 @@ hdl_library_name: unb2c_test
...
@@ -6,9 +6,8 @@ hdl_library_name: unb2c_test
fpga_name
:
unb2c_test
fpga_name
:
unb2c_test
fpga_description
:
"
FPGA
design
unb2c_test"
fpga_description
:
"
FPGA
design
unb2c_test"
parameters
:
parameters
:
-
{
name
:
c_nof_streams_1GbE_UDP
,
value
:
2
}
-
{
name
:
c_nof_streams_eth0_UDP
,
value
:
4
}
-
{
name
:
c_def_1GbE_block_size
,
value
:
20
}
-
{
name
:
c_nof_streams_10GbE_UDP
,
value
:
72
}
-
{
name
:
c_nof_streams_10GbE_UDP
,
value
:
72
}
-
{
name
:
c_def_10GbE_block_size
,
value
:
900
}
-
{
name
:
c_def_10GbE_block_size
,
value
:
900
}
-
{
name
:
c_nof_streams_qsfp
,
value
:
24
}
-
{
name
:
c_nof_streams_qsfp
,
value
:
24
}
-
{
name
:
c_nof_streams_ring
,
value
:
24
}
-
{
name
:
c_nof_streams_ring
,
value
:
24
}
...
@@ -39,6 +38,7 @@ peripherals:
...
@@ -39,6 +38,7 @@ peripherals:
-
RAM_SCRAP
-
RAM_SCRAP
-
peripheral_name
:
eth/eth
-
peripheral_name
:
eth/eth
peripheral_group
:
eth0
mm_port_names
:
mm_port_names
:
-
AVS_ETH_0_TSE
-
AVS_ETH_0_TSE
-
AVS_ETH_0_REG
-
AVS_ETH_0_REG
...
@@ -71,47 +71,106 @@ peripherals:
...
@@ -71,47 +71,106 @@ peripherals:
mm_port_names
:
mm_port_names
:
-
REG_HEATER
-
REG_HEATER
# 1GbE
# 1GbE
-I
-
peripheral_name
:
diag/diag_block_gen
-
peripheral_name
:
diag/diag_block_gen
peripheral_group
:
eth
_1gbe
peripheral_group
:
eth
0_tx
parameter_overrides
:
parameter_overrides
:
-
{
name
:
g_nof_streams
,
value
:
c_nof_streams_
1GbE
_UDP
}
-
{
name
:
g_nof_streams
,
value
:
c_nof_streams_
eth0
_UDP
}
-
{
name
:
g_
buf_dat_w
,
value
:
32
}
-
{
name
:
g_
nof_reg
,
value
:
c_nof_streams_eth0_UDP
}
-
{
name
:
g_buf_addr_w
,
value
:
ceil_log2(c_def_1GbE_block_size)
}
-
{
name
:
g_buf_addr_w
,
value
:
8
}
mm_port_names
:
mm_port_names
:
-
REG_
DIAG_BG_1GBE
-
REG_
ETH1G_I_BG_CTRL
-
RAM_
DIAG_BG_1GBE
-
RAM_
ETH1G_I_BG_CTRL
# not used in eth_tester_tx
-
peripheral_name
:
diag/diag_tx_seq
-
peripheral_name
:
eth_tester_offload_hdr_dat
peripheral_group
:
eth_1gbe
peripheral_group
:
eth0_tx
number_of_peripherals
:
c_nof_streams_eth0_UDP
peripheral_span
:
ceil_pow2(c_nof_streams_eth0_UDP) * 32 * MM_BUS_SIZE
# number_of_ports = 4, mm_port_span = 32 words
mm_port_names
:
-
REG_ETH1G_I_HDR_DAT
-
peripheral_name
:
dp/dp_bsn_monitor_v2
peripheral_group
:
eth0_tx
parameter_overrides
:
parameter_overrides
:
-
{
name
:
g_nof_streams
,
value
:
c_nof_streams_
1GbE
_UDP
}
-
{
name
:
g_nof_streams
,
value
:
c_nof_streams_
eth0
_UDP
}
mm_port_names
:
mm_port_names
:
-
REG_
DIAG_TX_SEQ_1GBE
-
REG_
ETH1G_I_BSN_MONITOR_V2_TX
-
peripheral_name
:
dp/dp_bsn_monitor
-
peripheral_name
:
dp/dp_strobe_total_count
peripheral_group
:
eth_1gbe
peripheral_group
:
eth0_tx
number_of_peripherals
:
c_nof_streams_eth0_UDP
peripheral_span
:
ceil_pow2(c_nof_streams_eth0_UDP) * 32 * MM_BUS_SIZE
# number_of_ports = 4, mm_port_span = 32 words
parameter_overrides
:
parameter_overrides
:
-
{
name
:
g_nof_streams
,
value
:
c_nof_streams_1GbE_UDP
}
-
{
name
:
g_nof_counts
,
value
:
1
}
# actual nof counts, <= g_nof_counts_max = 15
# 0 = nof_sop
mm_port_names
:
mm_port_names
:
-
REG_
BSN_MONITOR_1GBE
-
REG_
ETH1G_I_STROBE_TOTAL_COUNT_TX
-
peripheral_name
:
d
iag/diag_data_buffer
-
peripheral_name
:
d
p/dp_bsn_monitor_v2
peripheral_group
:
eth
_1gbe
peripheral_group
:
eth
0_rx
parameter_overrides
:
parameter_overrides
:
-
{
name
:
g_nof_streams
,
value
:
c_nof_streams_1GbE_UDP
}
-
{
name
:
g_nof_streams
,
value
:
c_nof_streams_eth0_UDP
}
-
{
name
:
g_data_w
,
value
:
32
}
-
{
name
:
g_nof_data
,
value
:
c_def_1GbE_block_size
}
mm_port_names
:
mm_port_names
:
-
REG_DIAG_DATA_BUFFER_1GBE
-
REG_ETH1G_I_BSN_MONITOR_V2_RX
-
RAM_DIAG_DATA_BUFFER_1GBE
-
peripheral_name
:
diag/diag_rx_seq
-
peripheral_name
:
dp/dp_strobe_total_count
peripheral_group
:
eth_1gbe
peripheral_group
:
eth0_rx
number_of_peripherals
:
c_nof_streams_eth0_UDP
peripheral_span
:
ceil_pow2(c_nof_streams_eth0_UDP) * 32 * MM_BUS_SIZE
# number_of_ports = 4, mm_port_span = 32 words
parameter_overrides
:
-
{
name
:
g_nof_counts
,
value
:
3
}
# actual nof counts, <= g_nof_counts_max = 15
# 0 = nof_sop, 1 = nof_valid, 2 = nof_crc_corrupt
mm_port_names
:
-
REG_ETH1G_I_STROBE_TOTAL_COUNT_RX
# 1GbE-II
-
peripheral_name
:
eth/eth
# eth_stream
peripheral_group
:
eth1
mm_port_names
:
-
AVS_ETH_1_TSE
-
AVS_ETH_1_REG
# not used for eth_stream
-
AVS_ETH_1_RAM
# not used for eth_stream
-
peripheral_name
:
diag/diag_block_gen
peripheral_group
:
eth1_tx
parameter_overrides
:
-
{
name
:
g_nof_streams
,
value
:
1
}
-
{
name
:
g_nof_reg
,
value
:
1
}
-
{
name
:
g_buf_addr_w
,
value
:
8
}
mm_port_names
:
-
REG_ETH1G_I_BG_CTRL
-
RAM_ETH1G_I_BG_CTRL
# not used in eth_tester_tx
-
peripheral_name
:
eth_tester_offload_hdr_dat
peripheral_group
:
eth1_tx
mm_port_names
:
-
REG_ETH1G_I_HDR_DAT
-
peripheral_name
:
dp/dp_bsn_monitor_v2
peripheral_group
:
eth1_tx
mm_port_names
:
-
REG_ETH1G_I_BSN_MONITOR_V2_TX
-
peripheral_name
:
dp/dp_strobe_total_count
peripheral_group
:
eth1_tx
parameter_overrides
:
-
{
name
:
g_nof_counts
,
value
:
1
}
# actual nof counts, <= g_nof_counts_max = 15
# 0 = nof_sop
mm_port_names
:
-
REG_ETH1G_I_STROBE_TOTAL_COUNT_TX
-
peripheral_name
:
dp/dp_bsn_monitor_v2
peripheral_group
:
eth1_rx
mm_port_names
:
-
REG_ETH1G_I_BSN_MONITOR_V2_RX
-
peripheral_name
:
dp/dp_strobe_total_count
peripheral_group
:
eth1_rx
parameter_overrides
:
parameter_overrides
:
-
{
name
:
g_nof_streams
,
value
:
c_nof_streams_1GbE_UDP
}
-
{
name
:
g_nof_counts
,
value
:
3
}
# actual nof counts, <= g_nof_counts_max = 15
# 0 = nof_sop, 1 = nof_valid, 2 = nof_crc_corrupt
mm_port_names
:
mm_port_names
:
-
REG_
DIAG_TX_SEQ_1GBE
-
REG_
ETH1G_I_STROBE_TOTAL_COUNT_RX
# 10GbE
# 10GbE
-
peripheral_name
:
diag/diag_block_gen
-
peripheral_name
:
diag/diag_block_gen
...
...
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