From c0bc18f64572a918cff8c3aa06802452b9461cb0 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Thu, 24 Jun 2021 09:22:21 +0200
Subject: [PATCH] Update for using number_of_peripherals = 2 for BST, so
 removed BST_0, BST_1.

---
 .../lofar2_unb2b_sdp_station.mmap.qsys.gold   | 141 ++++++------------
 1 file changed, 47 insertions(+), 94 deletions(-)

diff --git a/applications/lofar2/designs/lofar2_unb2b_sdp_station/lofar2_unb2b_sdp_station.mmap.qsys.gold b/applications/lofar2/designs/lofar2_unb2b_sdp_station/lofar2_unb2b_sdp_station.mmap.qsys.gold
index 5c51615390..2a5f980881 100644
--- a/applications/lofar2/designs/lofar2_unb2b_sdp_station/lofar2_unb2b_sdp_station.mmap.qsys.gold
+++ b/applications/lofar2/designs/lofar2_unb2b_sdp_station/lofar2_unb2b_sdp_station.mmap.qsys.gold
@@ -245,100 +245,53 @@ number_of_columns = 13
   REG_DP_XONOFF             2     1     REG    enable_stream                             0x0002d010       1     RW       uint32      b[0:0]           -  1      1    
   RAM_ST_BST                1     1     RAM    data                                      0x00001000    1952     RW       uint64     b[31:0]     b[31:0]  -      -    
   -                         -     -     -      -                                         0x0002d011       -      -            -     b[21:0]    b[53:32]  -      -    
-  REG_STAT_ENABLE_BST_0     1     1     REG    enable                                    0x0002d01c       1     RW       uint32      b[0:0]           -  -      -    
-  REG_STAT_HDR_DAT_BST_0    1     1     REG    bsn                                       0x00000040       1     RW       uint64     b[31:0]     b[31:0]  -      -    
-  -                         -     -     -      -                                         0x00000041       -      -            -     b[31:0]    b[63:32]  -      -    
-  -                         -     -     -      block_period                              0x00000042       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      nof_statistics_per_packet                 0x00000043       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      nof_bytes_per_statistic                   0x00000044       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      nof_signal_inputs                         0x00000045       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      sdp_data_id                               0x00000046       1     RW       uint32     b[31:0]           -  -      -    
-  -                         -     -     -      sdp_data_id_bst_beamlet_index             0x00000046       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      sdp_data_id_bst_reserved                  0x00000046       1     RW       uint32    b[31:16]           -  -      -    
-  -                         -     -     -      sdp_integration_interval                  0x00000047       1     RW       uint32     b[23:0]           -  -      -    
-  -                         -     -     -      sdp_reserved                              0x00000048       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      sdp_source_info_gn_index                  0x00000049       1     RW       uint32      b[4:0]           -  -      -    
-  -                         -     -     -      sdp_source_info_reserved                  0x0000004a       1     RW       uint32      b[7:5]           -  -      -    
-  -                         -     -     -      sdp_source_info_subband_calibrated_flag   0x0000004b       1     RW       uint32      b[8:8]           -  -      -    
-  -                         -     -     -      sdp_source_info_beam_repositioning_flag   0x0000004c       1     RW       uint32      b[9:9]           -  -      -    
-  -                         -     -     -      sdp_source_info_payload_error             0x0000004d       1     RW       uint32    b[10:10]           -  -      -    
-  -                         -     -     -      sdp_source_info_fsub_type                 0x0000004e       1     RW       uint32    b[11:11]           -  -      -    
-  -                         -     -     -      sdp_source_info_f_adc                     0x0000004f       1     RW       uint32    b[12:12]           -  -      -    
-  -                         -     -     -      sdp_source_info_nyquist_zone_index        0x00000050       1     RW       uint32    b[14:13]           -  -      -    
-  -                         -     -     -      sdp_source_info_antenna_band_index        0x00000051       1     RW       uint32    b[15:15]           -  -      -    
-  -                         -     -     -      sdp_station_id                            0x00000052       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      sdp_observation_id                        0x00000053       1     RW       uint32     b[31:0]           -  -      -    
-  -                         -     -     -      sdp_version_id                            0x00000054       1     RO       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      sdp_marker                                0x00000055       1     RO       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      udp_checksum                              0x00000056       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      udp_length                                0x00000057       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      udp_destination_port                      0x00000058       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      udp_source_port                           0x00000059       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      ip_destination_address                    0x0000005a       1     RW       uint32     b[31:0]           -  -      -    
-  -                         -     -     -      ip_source_address                         0x0000005b       1     RW       uint32     b[31:0]           -  -      -    
-  -                         -     -     -      ip_header_checksum                        0x0000005c       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      ip_protocol                               0x0000005d       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      ip_time_to_live                           0x0000005e       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      ip_fragment_offset                        0x0000005f       1     RW       uint32     b[12:0]           -  -      -    
-  -                         -     -     -      ip_flags                                  0x00000060       1     RW       uint32      b[2:0]           -  -      -    
-  -                         -     -     -      ip_identification                         0x00000061       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      ip_total_length                           0x00000062       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      ip_services                               0x00000063       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      ip_header_length                          0x00000064       1     RW       uint32      b[3:0]           -  -      -    
-  -                         -     -     -      ip_version                                0x00000065       1     RW       uint32      b[3:0]           -  -      -    
-  -                         -     -     -      eth_type                                  0x00000066       1     RO       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      eth_source_mac                            0x00000067       1     RO       uint64     b[31:0]     b[31:0]  -      -    
-  -                         -     -     -      -                                         0x00000068       -      -            -     b[15:0]    b[47:32]  -      -    
-  -                         -     -     -      eth_destination_mac                       0x00000069       1     RW       uint64     b[31:0]     b[31:0]  -      -    
-  -                         -     -     -      -                                         0x0000006a       -      -            -     b[15:0]    b[47:32]  -      -    
-  -                         -     -     -      word_align                                0x0000006b       1     RW       uint32     b[15:0]           -  -      -    
-  REG_STAT_ENABLE_BST_1     1     1     REG    enable                                    0x0002d01a       1     RW       uint32      b[0:0]           -  -      -    
-  REG_STAT_HDR_DAT_BST_1    1     1     REG    bsn                                       0x00000c40       1     RW       uint64     b[31:0]     b[31:0]  -      -    
-  -                         -     -     -      -                                         0x00000c41       -      -            -     b[31:0]    b[63:32]  -      -    
-  -                         -     -     -      block_period                              0x00000c42       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      nof_statistics_per_packet                 0x00000c43       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      nof_bytes_per_statistic                   0x00000c44       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      nof_signal_inputs                         0x00000c45       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      sdp_data_id                               0x00000c46       1     RW       uint32     b[31:0]           -  -      -    
-  -                         -     -     -      sdp_data_id_bst_beamlet_index             0x00000c46       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      sdp_data_id_bst_reserved                  0x00000c46       1     RW       uint32    b[31:16]           -  -      -    
-  -                         -     -     -      sdp_integration_interval                  0x00000c47       1     RW       uint32     b[23:0]           -  -      -    
-  -                         -     -     -      sdp_reserved                              0x00000c48       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      sdp_source_info_gn_index                  0x00000c49       1     RW       uint32      b[4:0]           -  -      -    
-  -                         -     -     -      sdp_source_info_reserved                  0x00000c4a       1     RW       uint32      b[7:5]           -  -      -    
-  -                         -     -     -      sdp_source_info_subband_calibrated_flag   0x00000c4b       1     RW       uint32      b[8:8]           -  -      -    
-  -                         -     -     -      sdp_source_info_beam_repositioning_flag   0x00000c4c       1     RW       uint32      b[9:9]           -  -      -    
-  -                         -     -     -      sdp_source_info_payload_error             0x00000c4d       1     RW       uint32    b[10:10]           -  -      -    
-  -                         -     -     -      sdp_source_info_fsub_type                 0x00000c4e       1     RW       uint32    b[11:11]           -  -      -    
-  -                         -     -     -      sdp_source_info_f_adc                     0x00000c4f       1     RW       uint32    b[12:12]           -  -      -    
-  -                         -     -     -      sdp_source_info_nyquist_zone_index        0x00000c50       1     RW       uint32    b[14:13]           -  -      -    
-  -                         -     -     -      sdp_source_info_antenna_band_index        0x00000c51       1     RW       uint32    b[15:15]           -  -      -    
-  -                         -     -     -      sdp_station_id                            0x00000c52       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      sdp_observation_id                        0x00000c53       1     RW       uint32     b[31:0]           -  -      -    
-  -                         -     -     -      sdp_version_id                            0x00000c54       1     RO       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      sdp_marker                                0x00000c55       1     RO       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      udp_checksum                              0x00000c56       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      udp_length                                0x00000c57       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      udp_destination_port                      0x00000c58       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      udp_source_port                           0x00000c59       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      ip_destination_address                    0x00000c5a       1     RW       uint32     b[31:0]           -  -      -    
-  -                         -     -     -      ip_source_address                         0x00000c5b       1     RW       uint32     b[31:0]           -  -      -    
-  -                         -     -     -      ip_header_checksum                        0x00000c5c       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      ip_protocol                               0x00000c5d       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      ip_time_to_live                           0x00000c5e       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      ip_fragment_offset                        0x00000c5f       1     RW       uint32     b[12:0]           -  -      -    
-  -                         -     -     -      ip_flags                                  0x00000c60       1     RW       uint32      b[2:0]           -  -      -    
-  -                         -     -     -      ip_identification                         0x00000c61       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      ip_total_length                           0x00000c62       1     RW       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      ip_services                               0x00000c63       1     RW       uint32      b[7:0]           -  -      -    
-  -                         -     -     -      ip_header_length                          0x00000c64       1     RW       uint32      b[3:0]           -  -      -    
-  -                         -     -     -      ip_version                                0x00000c65       1     RW       uint32      b[3:0]           -  -      -    
-  -                         -     -     -      eth_type                                  0x00000c66       1     RO       uint32     b[15:0]           -  -      -    
-  -                         -     -     -      eth_source_mac                            0x00000c67       1     RO       uint64     b[31:0]     b[31:0]  -      -    
-  -                         -     -     -      -                                         0x00000c68       -      -            -     b[15:0]    b[47:32]  -      -    
-  -                         -     -     -      eth_destination_mac                       0x00000c69       1     RW       uint64     b[31:0]     b[31:0]  -      -    
-  -                         -     -     -      -                                         0x00000c6a       -      -            -     b[15:0]    b[47:32]  -      -    
-  -                         -     -     -      word_align                                0x00000c6b       1     RW       uint32     b[15:0]           -  -      -    
+  REG_STAT_ENABLE_BST       2     1     REG    enable                                    0x00000000       1     RW       uint32      b[0:0]           -  1      1    
+  REG_STAT_HDR_DAT_BST      2     1     REG    bsn                                       0x00000000       1     RW       uint64     b[31:0]     b[31:0]  64     64   
+  -                         -     -     -      -                                         0x00000001       -      -            -     b[31:0]    b[63:32]  -      -    
+  -                         -     -     -      block_period                              0x00000002       1     RW       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      nof_statistics_per_packet                 0x00000003       1     RW       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      nof_bytes_per_statistic                   0x00000004       1     RW       uint32      b[7:0]           -  -      -    
+  -                         -     -     -      nof_signal_inputs                         0x00000005       1     RW       uint32      b[7:0]           -  -      -    
+  -                         -     -     -      sdp_data_id                               0x00000006       1     RW       uint32     b[31:0]           -  -      -    
+  -                         -     -     -      sdp_data_id_bst_beamlet_index             0x00000006       1     RW       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      sdp_data_id_bst_reserved                  0x00000006       1     RW       uint32    b[31:16]           -  -      -    
+  -                         -     -     -      sdp_integration_interval                  0x00000007       1     RW       uint32     b[23:0]           -  -      -    
+  -                         -     -     -      sdp_reserved                              0x00000008       1     RW       uint32      b[7:0]           -  -      -    
+  -                         -     -     -      sdp_source_info_gn_index                  0x00000009       1     RW       uint32      b[4:0]           -  -      -    
+  -                         -     -     -      sdp_source_info_reserved                  0x0000000a       1     RW       uint32      b[7:5]           -  -      -    
+  -                         -     -     -      sdp_source_info_subband_calibrated_flag   0x0000000b       1     RW       uint32      b[8:8]           -  -      -    
+  -                         -     -     -      sdp_source_info_beam_repositioning_flag   0x0000000c       1     RW       uint32      b[9:9]           -  -      -    
+  -                         -     -     -      sdp_source_info_payload_error             0x0000000d       1     RW       uint32    b[10:10]           -  -      -    
+  -                         -     -     -      sdp_source_info_fsub_type                 0x0000000e       1     RW       uint32    b[11:11]           -  -      -    
+  -                         -     -     -      sdp_source_info_f_adc                     0x0000000f       1     RW       uint32    b[12:12]           -  -      -    
+  -                         -     -     -      sdp_source_info_nyquist_zone_index        0x00000010       1     RW       uint32    b[14:13]           -  -      -    
+  -                         -     -     -      sdp_source_info_antenna_band_index        0x00000011       1     RW       uint32    b[15:15]           -  -      -    
+  -                         -     -     -      sdp_station_id                            0x00000012       1     RW       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      sdp_observation_id                        0x00000013       1     RW       uint32     b[31:0]           -  -      -    
+  -                         -     -     -      sdp_version_id                            0x00000014       1     RO       uint32      b[7:0]           -  -      -    
+  -                         -     -     -      sdp_marker                                0x00000015       1     RO       uint32      b[7:0]           -  -      -    
+  -                         -     -     -      udp_checksum                              0x00000016       1     RW       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      udp_length                                0x00000017       1     RW       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      udp_destination_port                      0x00000018       1     RW       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      udp_source_port                           0x00000019       1     RW       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      ip_destination_address                    0x0000001a       1     RW       uint32     b[31:0]           -  -      -    
+  -                         -     -     -      ip_source_address                         0x0000001b       1     RW       uint32     b[31:0]           -  -      -    
+  -                         -     -     -      ip_header_checksum                        0x0000001c       1     RW       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      ip_protocol                               0x0000001d       1     RW       uint32      b[7:0]           -  -      -    
+  -                         -     -     -      ip_time_to_live                           0x0000001e       1     RW       uint32      b[7:0]           -  -      -    
+  -                         -     -     -      ip_fragment_offset                        0x0000001f       1     RW       uint32     b[12:0]           -  -      -    
+  -                         -     -     -      ip_flags                                  0x00000020       1     RW       uint32      b[2:0]           -  -      -    
+  -                         -     -     -      ip_identification                         0x00000021       1     RW       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      ip_total_length                           0x00000022       1     RW       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      ip_services                               0x00000023       1     RW       uint32      b[7:0]           -  -      -    
+  -                         -     -     -      ip_header_length                          0x00000024       1     RW       uint32      b[3:0]           -  -      -    
+  -                         -     -     -      ip_version                                0x00000025       1     RW       uint32      b[3:0]           -  -      -    
+  -                         -     -     -      eth_type                                  0x00000026       1     RO       uint32     b[15:0]           -  -      -    
+  -                         -     -     -      eth_source_mac                            0x00000027       1     RO       uint64     b[31:0]     b[31:0]  -      -    
+  -                         -     -     -      -                                         0x00000028       -      -            -     b[15:0]    b[47:32]  -      -    
+  -                         -     -     -      eth_destination_mac                       0x00000029       1     RW       uint64     b[31:0]     b[31:0]  -      -    
+  -                         -     -     -      -                                         0x0000002a       -      -            -     b[15:0]    b[47:32]  -      -    
+  -                         -     -     -      word_align                                0x0000002b       1     RW       uint32     b[15:0]           -  -      -    
   REG_NW_10GBE_MAC          1     1     REG    rx_transfer_control                       0x00002000       1     RW       uint32      b[0:0]           -  -      -    
   -                         -     -     -      rx_transfer_status                        0x00002001       1     RO       uint32      b[0:0]           -  -      -    
   -                         -     -     -      tx_transfer_control                       0x00002002       1     RW       uint32      b[0:0]           -  -      -    
-- 
GitLab