From 9cb623a636985b79d1a4425ff55036224471bad3 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Tue, 15 Feb 2022 16:06:28 +0100
Subject: [PATCH] Made antenne_band_index RW in sdp_info. Removed O_si, N_si
 from sdp_info because not used. Moved O_rn, N_rn to ring_info.

---
 .../lofar2/libraries/sdp/sdp.peripheral.yaml   | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/applications/lofar2/libraries/sdp/sdp.peripheral.yaml b/applications/lofar2/libraries/sdp/sdp.peripheral.yaml
index 25a06589b5..e45e1d737a 100644
--- a/applications/lofar2/libraries/sdp/sdp.peripheral.yaml
+++ b/applications/lofar2/libraries/sdp/sdp.peripheral.yaml
@@ -18,17 +18,13 @@ peripherals:
            The other info fields apply per antenna band (low band or high band). An FPGA node only
            participates in one band."
         fields:
-          - - { field_name: station_id,              mm_width: 16, access_mode: RW, address_offset: 0x2C }
-          - - { field_name: antenna_band_index,      mm_width:  1, access_mode: RO, address_offset: 0x28 }
-          - - { field_name: observation_id,          mm_width: 32, access_mode: RW, address_offset: 0x24 }
-          - - { field_name: nyquist_zone_index,      mm_width:  2, access_mode: RW, address_offset: 0x20 }
-          - - { field_name: f_adc,                   mm_width:  1, access_mode: RO, address_offset: 0x1C }
-          - - { field_name: fsub_type,               mm_width:  1, access_mode: RO, address_offset: 0x18 }
-          - - { field_name: beam_repositioning_flag, mm_width:  1, access_mode: RW, address_offset: 0x14 }
-          - - { field_name: O_si,                    mm_width:  8, access_mode: RW, address_offset: 0x10 }
-          - - { field_name: N_si,                    mm_width:  8, access_mode: RW, address_offset: 0xC  }
-          - - { field_name: O_rn,                    mm_width:  8, access_mode: RW, address_offset: 0x8  }
-          - - { field_name: N_rn,                    mm_width:  8, access_mode: RW, address_offset: 0x4  }
+          - - { field_name: station_id,              mm_width: 16, access_mode: RW, address_offset: 0x1C }
+          - - { field_name: antenna_band_index,      mm_width:  1, access_mode: RW, address_offset: 0x18 }
+          - - { field_name: observation_id,          mm_width: 32, access_mode: RW, address_offset: 0x14 }
+          - - { field_name: nyquist_zone_index,      mm_width:  2, access_mode: RW, address_offset: 0x10 }
+          - - { field_name: f_adc,                   mm_width:  1, access_mode: RO, address_offset: 0xC  }
+          - - { field_name: fsub_type,               mm_width:  1, access_mode: RO, address_offset: 0x8  }
+          - - { field_name: beam_repositioning_flag, mm_width:  1, access_mode: RW, address_offset: 0x4  }
           - - { field_name: block_period,            mm_width: 16, access_mode: RO, address_offset: 0x0  }
 
 
-- 
GitLab