From 740a2762bc8c8e809308d36c2932fe8b6e88ed7c Mon Sep 17 00:00:00 2001 From: Marc Majoral Date: Mon, 15 Nov 2021 12:47:33 +0100 Subject: [PATCH] Initialize the dynamic bit selection shift register --- .../signal_source/libs/fpga_dynamic_bit_selection.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/algorithms/signal_source/libs/fpga_dynamic_bit_selection.cc b/src/algorithms/signal_source/libs/fpga_dynamic_bit_selection.cc index 1802324c5..0e7a5afca 100644 --- a/src/algorithms/signal_source/libs/fpga_dynamic_bit_selection.cc +++ b/src/algorithms/signal_source/libs/fpga_dynamic_bit_selection.cc @@ -59,6 +59,12 @@ Fpga_dynamic_bit_selection::Fpga_dynamic_bit_selection(const std::string &device shift_out_bits_band1 = shift_out_bits_default; shift_out_bits_band2 = shift_out_bits_default; + // init bit selection corresopnding to frequency band 1 + d_map_base1[0] = shift_out_bits_band1; + + // init bit selection corresponding to frequency band 2 + d_map_base2[0] = shift_out_bits_band2; + DLOG(INFO) << "Dynamic bit selection FPGA class created"; }