We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ea6736 commit a33f418Copy full SHA for a33f418
1 file changed
.github/scripts/run_sim_flow.sh
@@ -17,6 +17,9 @@ CROC_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
17
18
cd "$CROC_ROOT"
19
20
+# Always restore the checked-in default after a configuration-specific run.
21
+trap '"$SCRIPT_DIR/set_croc_config.sh"' EXIT
22
+
23
echo "============================================="
24
echo "Phase 1: default config — helloworld"
25
@@ -51,12 +54,9 @@ cd verilator
51
54
./run_verilator.sh --build
52
55
53
56
# run all unit tests
-"$SCRIPT_DIR/run_tests.sh"
57
+"$SCRIPT_DIR/run_tests.sh" --sim obj_dir_rtl/Vtb_croc_soc
58
59
-# restore defaults
-"$SCRIPT_DIR/set_croc_config.sh"
-
60
echo ""
61
62
echo " Simulation completed"
0 commit comments