Skip to content

Commit a33f418

Browse files
committed
ci: run idma tests with rebuilt model
1 parent 3ea6736 commit a33f418

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/scripts/run_sim_flow.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ CROC_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
1717

1818
cd "$CROC_ROOT"
1919

20+
# Always restore the checked-in default after a configuration-specific run.
21+
trap '"$SCRIPT_DIR/set_croc_config.sh"' EXIT
22+
2023
echo "============================================="
2124
echo "Phase 1: default config — helloworld"
2225
echo "============================================="
@@ -51,12 +54,9 @@ cd verilator
5154
./run_verilator.sh --build
5255

5356
# run all unit tests
54-
"$SCRIPT_DIR/run_tests.sh"
57+
"$SCRIPT_DIR/run_tests.sh" --sim obj_dir_rtl/Vtb_croc_soc
5558
cd "$CROC_ROOT"
5659

57-
# restore defaults
58-
"$SCRIPT_DIR/set_croc_config.sh"
59-
6060
echo ""
6161
echo "============================================="
6262
echo " Simulation completed"

0 commit comments

Comments
 (0)