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

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!293Rename eth_stream into eth_stream_udp. Create new eth_stream.vhd that contains...
...@@ -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: 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 }
- { 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: diag/diag_data_buffer - peripheral_name: dp/dp_bsn_monitor_v2
peripheral_group: eth_1gbe peripheral_group: eth0_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
......
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