aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_radio
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2020-02-21 16:45:34 -0600
committerWade Fife <wade.fife@ettus.com>2020-03-09 13:43:05 -0500
commitaebcaea5eb4e28c5c2a1c78b5e8dd42e5d1247b6 (patch)
tree47da005fc4da215f05513b4655cfbfff3e0d777e /fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_radio
parentfc895feacb8dde3b02c9a4eccb4b4f4a654f2881 (diff)
downloaduhd-aebcaea5eb4e28c5c2a1c78b5e8dd42e5d1247b6.tar.gz
uhd-aebcaea5eb4e28c5c2a1c78b5e8dd42e5d1247b6.tar.bz2
uhd-aebcaea5eb4e28c5c2a1c78b5e8dd42e5d1247b6.zip
sim: Add item support to RFNoC simulation
This adds variants of the send and recv methods in RfnocBlockCtrlBfm and ChdrIfaceBfm that input/output items instead of CHDR words.
Diffstat (limited to 'fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_radio')
-rw-r--r--fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_radio/rfnoc_block_radio_tb.sv2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_radio/rfnoc_block_radio_tb.sv b/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_radio/rfnoc_block_radio_tb.sv
index 553b0e33e..7dfa00fe5 100644
--- a/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_radio/rfnoc_block_radio_tb.sv
+++ b/fpga/usrp3/lib/rfnoc/blocks/rfnoc_block_radio/rfnoc_block_radio_tb.sv
@@ -90,7 +90,7 @@ module rfnoc_block_radio_tb #(
typedef ChdrData #(CHDR_W, ITEM_W)::item_t sample_t;
// Bus functional model for a software block controller
- RfnocBlockCtrlBfm #(.CHDR_W(CHDR_W)) blk_ctrl = new(backend, m_ctrl, s_ctrl);
+ RfnocBlockCtrlBfm #(CHDR_W, ITEM_W) blk_ctrl = new(backend, m_ctrl, s_ctrl);
// Connect block controller to BFMs
for (genvar i = 0; i < NUM_PORTS; i++) begin : gen_bfm_connections