diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2017-04-12 17:54:02 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:03:45 -0800 |
commit | 58510168d5a033af1450f3ddf4d87ab8f8fa1a6a (patch) | |
tree | d4e9fa59394d2ba71daa7c42c429c513f7e41a30 /host/include | |
parent | 7f7111198816cbf1e0597f7ecc9f46e4c26e916b (diff) | |
download | uhd-58510168d5a033af1450f3ddf4d87ab8f8fa1a6a.tar.gz uhd-58510168d5a033af1450f3ddf4d87ab8f8fa1a6a.tar.bz2 uhd-58510168d5a033af1450f3ddf4d87ab8f8fa1a6a.zip |
lib: usrp: magnesium: Stub out a radio_ctrl for magnesium
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Martin Braun <martin.braun@ettus.com>
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/rfnoc/blocks/radio_magnesium.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/host/include/uhd/rfnoc/blocks/radio_magnesium.xml b/host/include/uhd/rfnoc/blocks/radio_magnesium.xml new file mode 100644 index 000000000..55065d0d3 --- /dev/null +++ b/host/include/uhd/rfnoc/blocks/radio_magnesium.xml @@ -0,0 +1,60 @@ +<!--This defines one NoC-Block.--> +<nocblock> + <name>Radio (Magnesium)</name> + <blockname>Radio</blockname> + <key>MagnesiumRadio</key> + <!--There can be several of these:--> + <ids> + <id revision="0">12AD100000000003</id> + </ids> + <!-- Registers --> + <registers> + <!--<setreg>--> + <!--<name>FFT_RESET</name>--> + <!--<address>131</address>--> + <!--</setreg>--> + <!--<readback>--> + <!--<name>RB_MAGNITUDE_OUT</name>--> + <!--<address>1</address>--> + <!--</readback>--> + </registers> + <!-- Args --> + <args> + <arg> + <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> + </args> + <ports> + <sink> + <name>in0</name> + <type>sc16</type> + <!--<vlen>$spp</vlen>--> + <!--<pkt_size>%vlen</pkt_size>--> + </sink> + <sink> + <name>in1</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> + <source> + <name>out1</name> + <type>sc16</type> + <!--<vlen>$spp</vlen>--> + <!--<pkt_size>%vlen</pkt_size>--> + </source> + </ports> +</nocblock> + |