From 39529a180daf70fb8b7485aeedcd252cd0cd7f8c Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Fri, 17 Jan 2025 13:01:03 -0600 Subject: [PATCH] fpga: sim: Remove unused stall arguments Remove unused stall_probability arguments from get_master_stall_prob() and get_slave_stall_prob(). Original-commit: 80db09235b5fa0cd4259c80c3a094435b519a752 --- sim/rfnoc/PkgAxiStreamBfm.sv | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sim/rfnoc/PkgAxiStreamBfm.sv b/sim/rfnoc/PkgAxiStreamBfm.sv index b732c02..d1ca071 100644 --- a/sim/rfnoc/PkgAxiStreamBfm.sv +++ b/sim/rfnoc/PkgAxiStreamBfm.sv @@ -458,22 +458,24 @@ package PkgAxiStreamBfm; // Get the probability (as a percentage, 0 to 100) of the master interface // 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; endfunction // Get the probability (as a percentage, 0 to 100) of the slave interface // 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; 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(); fork