[dv/uvm/core_ibex] Fix timeout issue in wfi tests

The test loops around waiting for the core to sleep then sending
interrupts to wake it. In some cases, the sequence sends an interrupt
that isn't enabled. It never gets back to try again with a new interrupt
since the test is waiting to see wfi first. This change removes that
requirement since it is redundant anyway (have to see wfi to sleep).

Signed-off-by: Tom Roberts <tomroberts@lowrisc.org>
This commit is contained in:
Tom Roberts 2021-06-18 17:08:00 +01:00 committed by Tom Roberts
parent 8dd21e491f
commit 62aa2bcab8

View file

@ -724,7 +724,6 @@ class core_ibex_irq_wfi_test extends core_ibex_directed_test;
virtual task check_stimulus();
forever begin
wait (dut_vif.dut_cb.wfi === 1'b1);
wait (dut_vif.dut_cb.core_sleep === 1'b1);
send_irq_stimulus();
end