aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2019-11-11 08:54:50 -0600
committerMartin Braun <martin.braun@ettus.com>2019-11-26 12:21:33 -0800
commitbe1745427ae99506f12aa17214d9d6847fc3015d (patch)
tree46e15e26b3fd6e13139d2e39fb62cc2f95abe706 /host
parent837b89e2ec6be2735cede0a8ecc55caeff302b7f (diff)
downloaduhd-be1745427ae99506f12aa17214d9d6847fc3015d.tar.gz
uhd-be1745427ae99506f12aa17214d9d6847fc3015d.tar.bz2
uhd-be1745427ae99506f12aa17214d9d6847fc3015d.zip
rfnoc: Add FIR block YAML
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/rfnoc/blocks/fir_filter.yml61
1 files changed, 61 insertions, 0 deletions
diff --git a/host/include/uhd/rfnoc/blocks/fir_filter.yml b/host/include/uhd/rfnoc/blocks/fir_filter.yml
new file mode 100644
index 000000000..970f52e43
--- /dev/null
+++ b/host/include/uhd/rfnoc/blocks/fir_filter.yml
@@ -0,0 +1,61 @@
+schema: rfnoc_modtool_args
+module_name: fir_filter
+version: 1.0
+rfnoc_version: 1.0
+chdr_width: 64
+noc_id: 0xF1120000
+
+parameters:
+ NUM_PORTS: 1
+ COEFF_WIDTH: 16
+ NUM_COEFFS: 41
+ COEFFS_VEC: "{ {1'b0, {(COEFF_WIDTH-1){1'b1}} }, {(COEFF_WIDTH*(NUM_COEFFS-1)){1'b0}} }"
+ RELOADABLE_COEFFS: 1
+ SYMMETRIC_COEFFS: 0
+ SKIP_ZERO_COEFFS: 0
+ USE_EMBEDDED_REGS_COEFFS: 1
+
+clocks:
+ - name: rfnoc_chdr
+ freq: "[]"
+ - name: rfnoc_ctrl
+ freq: "[]"
+ - name: ce
+ freq: "[]"
+
+control:
+ sw_iface: nocscript
+ fpga_iface: ctrlport
+ interface_direction: slave
+ fifo_depth: 32
+ clk_domain: ce
+ ctrlport:
+ byte_mode: False
+ timed: False
+ has_status: False
+
+data:
+ fpga_iface: axis_pyld_ctxt
+ clk_domain: ce
+ inputs:
+ in:
+ num_ports: NUM_PORTS
+ item_width: 32
+ nipc: 1
+ context_fifo_depth: 2
+ payload_fifo_depth: 32
+ format: int32
+ mdata_sig: ~
+ outputs:
+ out:
+ num_ports: NUM_PORTS
+ item_width: 32
+ nipc: 1
+ context_fifo_depth: 2
+ payload_fifo_depth: 32
+ format: int32
+ mdata_sig: ~
+
+registers:
+
+properties: