diff options
-rw-r--r-- | host/lib/rfnoc/ddc_block_ctrl_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/ddc_block_ctrl_impl.cpp b/host/lib/rfnoc/ddc_block_ctrl_impl.cpp index caa1f4c20..30f465098 100644 --- a/host/lib/rfnoc/ddc_block_ctrl_impl.cpp +++ b/host/lib/rfnoc/ddc_block_ctrl_impl.cpp @@ -244,8 +244,8 @@ private: sr_write("DECIM_WORD", (hb_enable << 8) | (decim & 0xff), chan); // Rate change = M/N - sr_write("M", m, chan); sr_write("N", m * std::pow(2.0, double(hb_enable)) * (decim & 0xff), chan); + sr_write("M", m, chan); const auto noc_id = _tree->access<uint64_t>(_root_path / "noc_id").get(); // FIXME this should be a rb reg in the FPGA, not based on a hard-coded // Noc-ID |