fpga: sim: Add slave_idle() to PkgAxiStreamBfm.sv
Original-commit: f706b89e6974e28ce76aadeeb06169becc86acba
This commit is contained in:
committed by
Aaron Rossetto
parent
a760762db3
commit
bfef20ea45
@@ -469,6 +469,10 @@ package PkgAxiStreamBfm;
|
|||||||
return slave_stall_prob;
|
return slave_stall_prob;
|
||||||
endfunction
|
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
|
// Create separate processes for driving the master and slave interfaces
|
||||||
task run();
|
task run();
|
||||||
|
|||||||
Reference in New Issue
Block a user