diff options
author | Wade Fife <wade.fife@ettus.com> | 2020-06-18 09:55:58 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-07-16 12:15:21 -0500 |
commit | b3c74a712a08c54e48713427bf46ea498b8e899b (patch) | |
tree | 79d45a9e8dfb587579265d2a483257a0266155a4 /host/include | |
parent | 1ec7380cf708ab335b339f374d1f64826c700154 (diff) | |
download | uhd-b3c74a712a08c54e48713427bf46ea498b8e899b.tar.gz uhd-b3c74a712a08c54e48713427bf46ea498b8e899b.tar.bz2 uhd-b3c74a712a08c54e48713427bf46ea498b8e899b.zip |
fpga: rfnoc: Add RFNoC Moving Average block
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/rfnoc/blocks/moving_avg.yml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/host/include/uhd/rfnoc/blocks/moving_avg.yml b/host/include/uhd/rfnoc/blocks/moving_avg.yml new file mode 100644 index 000000000..53d0c7ba7 --- /dev/null +++ b/host/include/uhd/rfnoc/blocks/moving_avg.yml @@ -0,0 +1,55 @@ +schema: rfnoc_modtool_args +module_name: moving_avg +version: 1.0 +rfnoc_version: 1.0 +chdr_width: 64 +noc_id: 0xAAD20000 +makefile_srcs: "${fpga_lib_dir}/blocks/rfnoc_block_moving_avg/Makefile.srcs" + +parameters: + NUM_PORTS: 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: sc16 + mdata_sig: ~ + outputs: + out: + num_ports: NUM_PORTS + item_width: 32 + nipc: 1 + context_fifo_depth: 2 + payload_fifo_depth: 32 + format: sc16 + mdata_sig: ~ + +registers: + +properties: |