aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2019-10-23 19:50:34 -0500
committerMartin Braun <martin.braun@ettus.com>2019-11-26 12:21:32 -0800
commit4e6177ed5564180fe7a0da705490087e736371b6 (patch)
tree34896baea16d0e7cf6d5101ac91a2e28fdb5b0d4 /host/include
parentea89fd0dd4e7bd9a4050f6ae2b79d3b359c60a9a (diff)
downloaduhd-4e6177ed5564180fe7a0da705490087e736371b6.tar.gz
uhd-4e6177ed5564180fe7a0da705490087e736371b6.tar.bz2
uhd-4e6177ed5564180fe7a0da705490087e736371b6.zip
utils: image_builder: Support parameterized number of ports on blocks
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/blocks/radio.yml68
1 files changed, 68 insertions, 0 deletions
diff --git a/host/include/uhd/rfnoc/blocks/radio.yml b/host/include/uhd/rfnoc/blocks/radio.yml
new file mode 100644
index 000000000..903ac1ecf
--- /dev/null
+++ b/host/include/uhd/rfnoc/blocks/radio.yml
@@ -0,0 +1,68 @@
+schema: rfnoc_modtool_args
+module_name: radio
+version: 1.0
+rfnoc_version: 1.0
+chdr_width: 64
+noc_id: 0x12AD1000
+
+parameters:
+ NUM_PORTS: 2
+
+clocks:
+ - name: rfnoc_chdr
+ freq: "[]"
+ - name: rfnoc_ctrl
+ freq: "[]"
+ - name: radio
+ freq: "[]"
+
+control:
+ sw_iface: nocscript
+ fpga_iface: ctrlport
+ interface_direction: master_slave
+ fifo_depth: 32
+ clk_domain: radio
+ ctrlport:
+ byte_mode: False
+ timed: False
+ has_status: False
+
+data:
+ fpga_iface: axis_data
+ clk_domain: radio
+ inputs:
+ in:
+ num_ports: NUM_PORTS
+ item_width: 32
+ nipc: 2
+ info_fifo_depth: 16
+ payload_fifo_depth: MTU
+ format: int32
+ mdata_sig: ~
+ outputs:
+ out:
+ num_ports: NUM_PORTS
+ item_width: 32
+ nipc: 2
+ info_fifo_depth: 16
+ payload_fifo_depth: MTU
+ format: int32
+ mdata_sig: ~
+
+io_ports:
+ ctrl_port:
+ type: ctrl_port
+ drive: master
+ rename:
+ pattern: (.*)
+ repl: m_\1
+ time_keeper:
+ type: time_keeper
+ drive: listener
+ x300_radio:
+ type: x300_radio
+ drive: slave
+
+registers:
+
+properties: