From f706b89e6974e28ce76aadeeb06169becc86acba Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Tue, 8 Jun 2021 19:42:34 -0500 Subject: fpga: sim: Add slave_idle() to PkgAxiStreamBfm.sv --- fpga/usrp3/sim/rfnoc/PkgAxiStreamBfm.sv | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fpga') 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(); -- cgit v1.2.3