From a276f605d4745435d6a4829e5aa454ff5bdefdbd Mon Sep 17 00:00:00 2001 From: Eric Kooistra <kooistra@astron.nl> Date: Fri, 12 Mar 2021 07:46:08 +0100 Subject: [PATCH] Added sdp_info peripheral. --- .../lofar2/libraries/sdp/sdp.peripheral.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/applications/lofar2/libraries/sdp/sdp.peripheral.yaml b/applications/lofar2/libraries/sdp/sdp.peripheral.yaml index ee6fb7b31d..84edc25bb7 100644 --- a/applications/lofar2/libraries/sdp/sdp.peripheral.yaml +++ b/applications/lofar2/libraries/sdp/sdp.peripheral.yaml @@ -33,3 +33,28 @@ peripherals: number_of_fields: 1024 # = Q_fft * N_sub = 2 signal inputs * 512 subbands radix: complx + - peripheral_name: sdp_info # pi_sdp_info.py ? + peripheral_description: "SDP info." + slave_ports: + # MM port for sdp_info.vhd + - slave_name: REG_SDP_INFO + slave_description: | + "The SDP info contains central SDP information. The station_id applies to the entire station. + The other info fields apply per antenna band (low band or high band). An FPGA node only + participates in one band." + slave_type: REG + fields: + - - { field_name: station_id, width: 16, access_mode: RW, address_offset: 0x0 } + - - { field_name: antenna_band_index, width: 1, access_mode: RO, address_offset: 0x4 } + - - { field_name: observation_id, width: 32, access_mode: RW, address_offset: 0x8 } + - - { field_name: nyquist_zone_index, width: 2, access_mode: RW, address_offset: 0xC } + - - { field_name: f_adc, width: 1, access_mode: RO, address_offset: 0x10 } + - - { field_name: fsub_type, width: 1, access_mode: RO, address_offset: 0x14 } + - - { field_name: beam_repositioning_flag, width: 1, access_mode: RW, address_offset: 0x18 } + - - { field_name: subband_calibrated_flag, width: 1, access_mode: RW, address_offset: 0x1C } + - - { field_name: O_si, width: 8, access_mode: RW, address_offset: 0x20 } + - - { field_name: N_si, width: 8, access_mode: RW, address_offset: 0x24 } + - - { field_name: O_rn, width: 8, access_mode: RW, address_offset: 0x28 } + - - { field_name: N_rn, width: 8, access_mode: RW, address_offset: 0x2C } + - - { field_name: block_period, width: 16, access_mode: RO, address_offset: 0x30 } + - - { field_name: beamlet_scale, width: 16, access_mode: RW, address_offset: 0x34 } -- GitLab