Changes simulation ending mechanism (exit function)

As higher optimization might actually schedule a jump to self while waiting for timer interrupts this is a more robust implementation in that sense
This commit is contained in:
2026-03-22 22:47:26 +01:00
parent 59b9e9e7e3
commit 47ba20d762
2 changed files with 3 additions and 4 deletions

View File

@@ -21,7 +21,6 @@ trap 'rm -f "$log_file"' EXIT
"$simulator" \
--isa="$isa" \
-f "$elf" \
-p tb.top.core.finish_condition=1 \
-m 10s \
| tee "$log_file"