aboutsummaryrefslogtreecommitdiffstats
path: root/fpga
diff options
context:
space:
mode:
Diffstat (limited to 'fpga')
-rw-r--r--fpga/usrp3/sim/rfnoc/PkgRfnocBlockCtrlBfm.sv2
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];