mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 21:07:34 -04:00
Always assert ready in core driver for ICache UVM testbench
This works around a bug tracked in issue #850.
This commit is contained in:
parent
863fb56eb1
commit
ff5c0c5823
1 changed files with 9 additions and 3 deletions
|
@ -112,9 +112,15 @@ class ibex_icache_core_driver
|
|||
virtual task automatic read_insn();
|
||||
int unsigned delay;
|
||||
|
||||
// Maybe (1 time in 10) wait for a valid signal before even considering asserting ready.
|
||||
if ($urandom_range(9) == 0)
|
||||
wait (cfg.vif.driver_cb.valid);
|
||||
// TODO: The icache sometimes currently requires the ready signal before it asserts valid. This
|
||||
// is tracked by issue #850.
|
||||
if (0) begin
|
||||
|
||||
// Maybe (1 time in 10) wait for a valid signal before even considering asserting ready.
|
||||
if ($urandom_range(9) == 0)
|
||||
wait (cfg.vif.driver_cb.valid);
|
||||
|
||||
end
|
||||
|
||||
// Then pick how long we wait before asserting that we are ready.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue