fpga: sim: Remove unused stall arguments
Remove unused stall_probability arguments from get_master_stall_prob() and get_slave_stall_prob(). Original-commit: 80db09235b5fa0cd4259c80c3a094435b519a752
This commit is contained in:
@@ -458,22 +458,24 @@ package PkgAxiStreamBfm;
|
|||||||
|
|
||||||
// Get the probability (as a percentage, 0 to 100) of the master interface
|
// Get the probability (as a percentage, 0 to 100) of the master interface
|
||||||
// stalling due to lack of data to send.
|
// stalling due to lack of data to send.
|
||||||
function int get_master_stall_prob(int stall_probability = DEF_STALL_PROB);
|
function int get_master_stall_prob();
|
||||||
return master_stall_prob;
|
return master_stall_prob;
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
// Get the probability (as a percentage, 0 to 100) of the slave interface
|
// Get the probability (as a percentage, 0 to 100) of the slave interface
|
||||||
// stalling due to lack of buffer space.
|
// stalling due to lack of buffer space.
|
||||||
function int get_slave_stall_prob(int stall_probability = DEF_STALL_PROB);
|
function int get_slave_stall_prob();
|
||||||
return slave_stall_prob;
|
return slave_stall_prob;
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
// Determine if the slave interface is doing a transfer this clock
|
// Determine if the slave interface is doing a transfer this clock
|
||||||
function logic slave_idle();
|
function logic slave_idle();
|
||||||
return !slave.tvalid;
|
return !slave.tvalid;
|
||||||
endfunction
|
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();
|
||||||
fork
|
fork
|
||||||
|
|||||||
Reference in New Issue
Block a user