From 16422652f80c201b2d4ad42f381f6de9ca42558e Mon Sep 17 00:00:00 2001 From: Eric Kooistra <kooistra@astron.nl> Date: Fri, 12 Mar 2021 07:47:38 +0100 Subject: [PATCH] Corrected using True instead of true, so that Python recognizes the boolean. --- libraries/base/diag/diag.peripheral.yaml | 4 ++-- libraries/dsp/st/st.peripheral.yaml | 10 +++++----- libraries/io/aduh/aduh.peripheral.yaml | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libraries/base/diag/diag.peripheral.yaml b/libraries/base/diag/diag.peripheral.yaml index 5b08639994..6369308df9 100644 --- a/libraries/base/diag/diag.peripheral.yaml +++ b/libraries/base/diag/diag.peripheral.yaml @@ -67,7 +67,7 @@ peripherals: - { name: g_nof_streams, value: 1 } - { name: g_data_w, value: 16 } - { name: g_nof_data, value: 1024 } - - { name: g_use_in_sync, value: true } + - { name: g_use_in_sync, value: True } slave_ports: # MM port for mms_diag_data_buffer.vhd - slave_name: REG_DIAG_DB @@ -85,7 +85,7 @@ peripherals: address_offset: 0x4 # MM port for mms_diag_data_buffer.vhd - slave_name: RAM_DIAG_DB - slave_description: "Data buffer memory, gets filled after the sync when g_use_in_sync = true, else after the last word was read." + slave_description: "Data buffer memory, gets filled after the sync when g_use_in_sync = True, else after the last word was read." slave_type: RAM number_of_slaves: g_nof_streams fields: diff --git a/libraries/dsp/st/st.peripheral.yaml b/libraries/dsp/st/st.peripheral.yaml index de1db29e29..47eb5a504d 100644 --- a/libraries/dsp/st/st.peripheral.yaml +++ b/libraries/dsp/st/st.peripheral.yaml @@ -9,14 +9,14 @@ peripherals: - peripheral_name: st_sst # pi_st_sst.py peripheral_description: | "Accumulate the signal power values during a sync interval: - . g_xst_enable = false : Auto power statistics for subbands (SST), beamlets (BST) - . g_xst_enable = true : Cross power statistics for subbands = crosslets (XST)." + . g_xst_enable = False : Auto power statistics for subbands (SST), beamlets (BST) + . g_xst_enable = True : Cross power statistics for subbands = crosslets (XST)." parameters: # Parameters of pi_st_sst.py - { name: g_nof_instances, value: 1 } # Parameters of st_sst.vhd - { name: g_nof_stat, value: 512 } # nof accumulators - - { name: g_xst_enable, value: false } # false for auto powers, true for cross powers + - { name: g_xst_enable, value: False } # False for auto powers, True for cross powers - { name: g_stat_data_w, value: 64 } # statistics accumulator width in bits - { name: g_stat_data_sz, value: 2 } # statistics accumulator width in 32b MM words slave_ports: @@ -26,8 +26,8 @@ peripherals: "The statistics are calculated for blocks of g_nof_stat time multiplexed data streams. There are g_nof_instances parallel time multiplexed data streams. The statistic power values have g_stat_data_w bits. The memory format is: - . g_xst_enable = false, for real powers : (uint32 * g_stat_data_sz)st[g_nof_instances]_[g_nof_stat] - . g_xst_enable = true, for complex powers : (cuint32 * g_stat_data_sz)st[g_nof_instances]_[g_nof_stat]" + . g_xst_enable = False, for real powers : (uint32 * g_stat_data_sz)st[g_nof_instances]_[g_nof_stat] + . g_xst_enable = True, for complex powers : (cuint32 * g_stat_data_sz)st[g_nof_instances]_[g_nof_stat]" slave_type: RAM number_of_slaves: g_nof_instances fields: diff --git a/libraries/io/aduh/aduh.peripheral.yaml b/libraries/io/aduh/aduh.peripheral.yaml index 6d8ab929cf..403480b22f 100644 --- a/libraries/io/aduh/aduh.peripheral.yaml +++ b/libraries/io/aduh/aduh.peripheral.yaml @@ -43,12 +43,12 @@ peripherals: - { name: g_symbol_w, value: 16 } - { name: g_nof_symbols_per_data, value: 1 } - { name: g_buffer_nof_symbols, value: 512 } - - { name: g_buffer_use_sync, value: true } + - { name: g_buffer_use_sync, value: True } slave_ports: # MM port for mms_aduh_monitor_arr.vhd - slave_name: RAM_ADUH_MON slave_type: RAM - slave_description: "Data buffer memory, gets filled after the sync when g_buffer_use_sync = true, else after the last word was read." + slave_description: "Data buffer memory, gets filled after the sync when g_buffer_use_sync = True, else after the last word was read." number_of_slaves: g_nof_streams fields: - - field_name: data -- GitLab