fpga: sim: Add slave_idle() to PkgAxiStreamBfm.sv

Original-commit: f706b89e6974e28ce76aadeeb06169becc86acba
This commit is contained in:
Wade Fife
2021-06-10 11:56:58 -05:00
committed by Aaron Rossetto
parent a760762db3
commit bfef20ea45
+4
View File
@@ -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();