aboutsummaryrefslogtreecommitdiffstats
path: root/fpga
diff options
context:
space:
mode:
Diffstat (limited to 'fpga')
-rw-r--r--fpga/usrp3/sim/rfnoc/PkgAxiStreamBfm.sv4
1 files changed, 4 insertions, 0 deletions
diff --git a/fpga/usrp3/sim/rfnoc/PkgAxiStreamBfm.sv b/fpga/usrp3/sim/rfnoc/PkgAxiStreamBfm.sv
index fd23e501c..14fcbc531 100644
--- a/fpga/usrp3/sim/rfnoc/PkgAxiStreamBfm.sv
+++ b/fpga/usrp3/sim/rfnoc/PkgAxiStreamBfm.sv
@@ -469,6 +469,10 @@ package PkgAxiStreamBfm;
return slave_stall_prob;
endfunction
+ // Determine if the slave interface is doing a transfer this clock
+ function logic slave_idle();
+ return !slave.tvalid;
+ endfunction
// Create separate processes for driving the master and slave interfaces
task run();