diff options
author | Wade Fife <wade.fife@ettus.com> | 2020-04-28 19:52:42 -0500 |
---|---|---|
committer | Wade Fife <wade.fife@ettus.com> | 2020-05-04 23:40:25 -0500 |
commit | d1e0c6a6c46eb24d23e80cdcfe89b21c8fe4573c (patch) | |
tree | 29165b5f9839e65e63732d2a0da990358defe306 /fpga/usrp3 | |
parent | c45ea14e41adfd97f526f19070d97ae28e3ee35e (diff) | |
download | uhd-d1e0c6a6c46eb24d23e80cdcfe89b21c8fe4573c.tar.gz uhd-d1e0c6a6c46eb24d23e80cdcfe89b21c8fe4573c.tar.bz2 uhd-d1e0c6a6c46eb24d23e80cdcfe89b21c8fe4573c.zip |
fpga: sim: Fix get_slave_data_bfm method
Diffstat (limited to 'fpga/usrp3')
-rw-r--r-- | fpga/usrp3/sim/rfnoc/PkgRfnocBlockCtrlBfm.sv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga/usrp3/sim/rfnoc/PkgRfnocBlockCtrlBfm.sv b/fpga/usrp3/sim/rfnoc/PkgRfnocBlockCtrlBfm.sv index 28dbeb893..4c8cc2ff6 100644 --- a/fpga/usrp3/sim/rfnoc/PkgRfnocBlockCtrlBfm.sv +++ b/fpga/usrp3/sim/rfnoc/PkgRfnocBlockCtrlBfm.sv @@ -229,7 +229,7 @@ package PkgRfnocBlockCtrlBfm; // Return a handle to the indicated slave port BFM function ChdrIfaceBfm #(CHDR_W, ITEM_W) get_slave_data_bfm(int port); - assert (port >= 0 && port < m_data.size()) else begin + assert (port >= 0 && port < s_data.size()) else begin $fatal(1, "Invalid slave port number"); end return s_data[port]; |