From 12dfb97c8efce40494efb35bdd81d06b6f8b9b62 Mon Sep 17 00:00:00 2001 From: Michael West Date: Sun, 15 Mar 2020 01:17:50 -0700 Subject: DUC/DDC: Add variable time increment Sets time increment based on tick rate and sample rate instead of assuming one tick per sample. Defaults to legacy behavior. Minor compat number bumped on DUC and DDC blocks. Signed-off-by: Michael West --- host/include/uhd/rfnoc/ddc_block_control.hpp | 1 + host/include/uhd/rfnoc/duc_block_control.hpp | 1 + 2 files changed, 2 insertions(+) (limited to 'host/include') diff --git a/host/include/uhd/rfnoc/ddc_block_control.hpp b/host/include/uhd/rfnoc/ddc_block_control.hpp index f4197dd55..834fa0aa3 100644 --- a/host/include/uhd/rfnoc/ddc_block_control.hpp +++ b/host/include/uhd/rfnoc/ddc_block_control.hpp @@ -46,6 +46,7 @@ public: static const uint32_t SR_DECIM_ADDR; static const uint32_t SR_MUX_ADDR; static const uint32_t SR_COEFFS_ADDR; + static const uint32_t SR_TIME_INCR_ADDR; /*! Set the DDS frequency * diff --git a/host/include/uhd/rfnoc/duc_block_control.hpp b/host/include/uhd/rfnoc/duc_block_control.hpp index 4cf8a8fb8..cf9d3a5d7 100644 --- a/host/include/uhd/rfnoc/duc_block_control.hpp +++ b/host/include/uhd/rfnoc/duc_block_control.hpp @@ -45,6 +45,7 @@ public: static const uint32_t SR_FREQ_ADDR; static const uint32_t SR_SCALE_IQ_ADDR; static const uint32_t SR_INTERP_ADDR; + static const uint32_t SR_TIME_INCR_ADDR; /*! Set the DDS frequency * -- cgit v1.2.3