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

Use N_destinations_max = 32

parent 460fb664
No related branches found
No related tags found
1 merge request!359Clarify g_nof_destinations_max design revision parameter and package constants...
...@@ -193,11 +193,10 @@ peripherals: ...@@ -193,11 +193,10 @@ peripherals:
- peripheral_name: sdp_bdo_destinations - peripheral_name: sdp_bdo_destinations
peripheral_description: "SDP beamlet data output (BDO) destinations." peripheral_description: "SDP beamlet data output (BDO) destinations."
parameters: parameters:
# Parameters fixed in sdp_beamformer_output.vhd / sdp_pkg.vhd # Parameters fixed in sdp_bdo_destinations_reg.vhd / sdp_pkg.vhd
- { name: N_destinations_max, value: 16 } - { name: N_destinations_max, value: 32 }
- { name: N_reorder_blocks_max, value: 16 }
mm_ports: mm_ports:
# MM port for sdp_beamformer_output.vhd / mm_fields.vhd # MM port for sdp_bdo_destinations_reg.vhd / mm_fields.vhd
- mm_port_name: REG_BDO_DESTINATIONS - mm_port_name: REG_BDO_DESTINATIONS
mm_port_type: REG mm_port_type: REG
mm_port_span: 16 * MM_BUS_SIZE mm_port_span: 16 * MM_BUS_SIZE
...@@ -207,15 +206,15 @@ peripherals: ...@@ -207,15 +206,15 @@ peripherals:
The number of destinations is 1 <= nof_destinations <= N_destinations_max. The actual The number of destinations is 1 <= nof_destinations <= N_destinations_max. The actual
nof_destinations is reported via nof_destinations_act. nof_destinations is reported via nof_destinations_act.
The actual number of blocks per packet depends on nof_destinations_act, and is reported The actual number of blocks per packet depends on nof_destinations_act, and is reported
via nof_blocks_per_packet_act." via nof_blocks_per_packet."
fields: fields:
- - { field_name: eth_destination_mac, number_of_fields: N_destinations_max, mm_width: 32, user_width: 48, radix: uint64, access_mode: RW, address_offset: 0x0 } - - { field_name: eth_destination_mac, number_of_fields: N_destinations_max, mm_width: 32, user_width: 48, radix: uint64, access_mode: RW, address_offset: 0x0 }
- - { field_name: ip_destination_address, number_of_fields: N_destinations_max, mm_width: 32, access_mode: RW, address_offset: 0x80 } - - { field_name: ip_destination_address, number_of_fields: N_destinations_max, mm_width: 32, access_mode: RW, address_offset: 0x80 }
- - { field_name: udp_destination_port, number_of_fields: N_destinations_max, mm_width: 16, access_mode: RW, address_offset: 0xC0 } - - { field_name: udp_destination_port, number_of_fields: N_destinations_max, mm_width: 16, access_mode: RW, address_offset: 0xC0 }
- - { field_name: nof_destinations, mm_width: 8, access_mode: RW, address_offset: 0x100 } - - { field_name: nof_destinations, mm_width: 8, access_mode: RW, address_offset: 0x100 }
- - { field_name: nof_destinations_act, mm_width: 8, access_mode: RO, address_offset: 0x104 } - - { field_name: nof_destinations_act, mm_width: 8, access_mode: RO, address_offset: 0x104 }
- - { field_name: nof_destinations_max, mm_width: 8, access_mode: RO, address_offset: 0x108 } - - { field_name: nof_destinations_max, mm_width: 8, access_mode: RO, address_offset: 0x108 }
- - { field_name: nof_blocks_per_packet_act, mm_width: 8, access_mode: RO, address_offset: 0x10C } - - { field_name: nof_blocks_per_packet, mm_width: 8, access_mode: RO, address_offset: 0x10C }
- peripheral_name: sdp_beamformer_output_hdr_dat # pi_dp_offload_tx_hdr_dat_lofar2_beamformer_output.py - peripheral_name: sdp_beamformer_output_hdr_dat # pi_dp_offload_tx_hdr_dat_lofar2_beamformer_output.py
......
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