diff options
author | Trung N Tran <trung.n.tran@ni.com> | 2017-10-25 01:10:06 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:04:03 -0800 |
commit | 458655be730602ae3d0b2f4202f6aa334dd38f23 (patch) | |
tree | 0f13be962ca5f0d796c87ab0bb0c25d5deed610d /host/include | |
parent | 3611033e9b52a19ca8d11b8a56a075096bcfb1a4 (diff) | |
download | uhd-458655be730602ae3d0b2f4202f6aa334dd38f23.tar.gz uhd-458655be730602ae3d0b2f4202f6aa334dd38f23.tar.bz2 uhd-458655be730602ae3d0b2f4202f6aa334dd38f23.zip |
mg: Add DSA, AD9371, and total gain
- Adds gains to gain group: dsa, ad9371
- Defaults to splitting gains evenly across group members
- Adds gain_mode which allows automatic gain setting, or manually
setting DSA vs. AD9371
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/rfnoc/blocks/radio_magnesium.xml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/host/include/uhd/rfnoc/blocks/radio_magnesium.xml b/host/include/uhd/rfnoc/blocks/radio_magnesium.xml index aa9ae5a6a..ae4fc0437 100644 --- a/host/include/uhd/rfnoc/blocks/radio_magnesium.xml +++ b/host/include/uhd/rfnoc/blocks/radio_magnesium.xml @@ -24,24 +24,21 @@ <name>spp</name> <type>int</type> <value>364</value> - <!--<value>256</value>--> - <!--<check>GE($spp, 16) AND LE($spp, 4096) AND IS_PWR_OF_2($spp)</check>--> - <!--<check_message>FFT size must be in [16, 4096] and a power of two.</check_message>--> - <!--<action>SR_WRITE("FFT_SIZE_LOG2", LOG2($spp)) AND SR_WRITE("AXIS_CONFIG_BUS", ADD(873472, LOG2($spp)))</action>--> + </arg> + <arg> + <name>gain_mode</name> + <type>string</type> + <value>auto</value> </arg> </args> <ports> <sink> <name>in0</name> <type>sc16</type> - <!--<vlen>$spp</vlen>--> - <!--<pkt_size>%vlen</pkt_size>--> </sink> <source> <name>out0</name> <type>sc16</type> - <!--<vlen>$spp</vlen>--> - <!--<pkt_size>%vlen</pkt_size>--> </source> </ports> </nocblock> |