Commit ce9552f
committed
[dv] Fix the
The test checked for the exception handler to launch and then waited for
the core to flush its pipeline. However, the flush happened immediately
after the exception, which led the test to miss the first exception
handler and the `check_priv_mode` to fail, since the check only executed
after the flush leaving the exception handlers. This also means that on
later executions, we were not checking the exception handlers as we go,
but instead, the exception handler from the exception before.
Accordingly, this test only failed if Ibex initially started in USER
mode. Otherwise, it was anyways always in MACHINE moderiscv_dret_test
1 parent 0a13971 commit ce9552f
1 file changed
+7
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1118 | 1118 | | |
1119 | 1119 | | |
1120 | 1120 | | |
1121 | | - | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
| 1121 | + | |
| 1122 | + | |
1126 | 1123 | | |
1127 | 1124 | | |
1128 | 1125 | | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
1129 | 1131 | | |
1130 | 1132 | | |
1131 | 1133 | | |
| |||
0 commit comments