ibex icon indicating copy to clipboard operation
ibex copied to clipboard

riscv_nested_interrupt_test case failed

Open cnan123 opened this issue 3 years ago • 3 comments

I use the comand make TEST=riscv_nested_interrupt_test SEED=8037 will have one case failed. Due to random delay for load/store, 750 cycles for timeout sometimes is not enough. when I modify dv/uvm/core_ibex/tests/core_ibex_test_lib.sv line 247 to "check_next_core_status(HANDLING_IRQ, "Core did not jump to vectored interrupt handle", 760) ", then it will pass. The value of timeout may need a suitable value.

"Synopsys VCS 2020.03-SP1" "Ubuntu Linux 18.04". commit id: fd1195a1

cnan123 avatar Dec 21 '21 03:12 cnan123

Thanks @cnan123 for reporting this issue. I didn't manage to reproduce this with Synopsys VCS R-2020.12-SP2. Unfortunately, I currently don't have access to 2020.03-SP1 anymore. Maybe someone else from the team with access to this specific version can give it a try. I will bring this up after New Year and report back.

vogelpi avatar Dec 21 '21 11:12 vogelpi

Thanks for the report @cnan123. Ultimately this is a similar style of issue to https://github.com/lowRISC/ibex/issues/1499 and the resolution is the same. Our co-simulation work will remove the problem.

GregAC avatar Jan 06 '22 10:01 GregAC

Tagging for closure as we believe that with the new co-sim approach this should be resolved.

johngt avatar Jul 20 '22 13:07 johngt