From 1408a401debec4b57f9c5e6ac75b64e8b9124591 Mon Sep 17 00:00:00 2001 From: Trung N Tran Date: Thu, 8 Mar 2018 13:42:44 -0800 Subject: rfnoc: modify duc.xml and radio_x300.xml;add duc_single.xml --- host/include/uhd/rfnoc/blocks/duc.xml | 57 +++++++++++++++-- host/include/uhd/rfnoc/blocks/duc_single.xml | 96 ++++++++++++++++++++++++++++ host/include/uhd/rfnoc/blocks/radio_x300.xml | 9 +-- 3 files changed, 151 insertions(+), 11 deletions(-) create mode 100644 host/include/uhd/rfnoc/blocks/duc_single.xml diff --git a/host/include/uhd/rfnoc/blocks/duc.xml b/host/include/uhd/rfnoc/blocks/duc.xml index 62f005372..9be54da78 100644 --- a/host/include/uhd/rfnoc/blocks/duc.xml +++ b/host/include/uhd/rfnoc/blocks/duc.xml @@ -5,7 +5,7 @@ DUC - D0C0 + D0C0000000000002 @@ -80,15 +80,64 @@ 1.0 0 - + + freq + double + 0.0 + 1 + + + + + + + input_rate + double + 1.0 + 1 + GE($input_rate, 0.0) + The input rate must be a positive value (in Hz). + + + output_rate + double + 1.0 + 1 + GE($output_rate, 0.0) + The output rate must be a positive value (in Hz). + + + fullscale + double + 1.0 + 1 + GE($fullscale, 0.0) + The output rate must be a positive value (in Hz). + + + + scalar_correction + double + 1.0 + 1 + + - in + in0 + sc16 + + + out0 + sc16 + + + in1 sc16 - out + out1 sc16 diff --git a/host/include/uhd/rfnoc/blocks/duc_single.xml b/host/include/uhd/rfnoc/blocks/duc_single.xml new file mode 100644 index 000000000..39038eeee --- /dev/null +++ b/host/include/uhd/rfnoc/blocks/duc_single.xml @@ -0,0 +1,96 @@ + + + Tx DSP (DUC/CORDIC) + DUC + DUC + + + D0C0000000000000 + + + + + + N +
128
+
+ + M +
129
+
+ + + CONFIG +
130
+
+ + + INTERP_WORD +
131
+
+ + CORDIC_FREQ +
132
+
+ + SCALE_IQ +
133
+
+
+ + + + freq + double + 0.0 + 0 + + + + + + + input_rate + double + 1.0 + 0 + GE($input_rate, 0.0) + The input rate must be a positive value (in Hz). + + + output_rate + double + 1.0 + 0 + GE($output_rate, 0.0) + The output rate must be a positive value (in Hz). + + + fullscale + double + 1.0 + 0 + GE($fullscale, 0.0) + The output rate must be a positive value (in Hz). + + + + scalar_correction + double + 1.0 + 0 + + + + + + in + sc16 + + + out + sc16 + + +
+ diff --git a/host/include/uhd/rfnoc/blocks/radio_x300.xml b/host/include/uhd/rfnoc/blocks/radio_x300.xml index 4130522a5..8621ac40f 100644 --- a/host/include/uhd/rfnoc/blocks/radio_x300.xml +++ b/host/include/uhd/rfnoc/blocks/radio_x300.xml @@ -32,17 +32,12 @@ - in0 - sc16 - - - - - in1 + in sc16 + out0 sc16 -- cgit v1.2.3