74d8f021c9
test(top): add fast single-K / single-case runner to run_tb.sh
...
./run_tb.sh top [K] [CASE] now elaborates only the requested K and runs only
the requested CASE(s), parsing PASS/FAIL + file-not-found per run. Avoids the
full 3-snapshot, 11-case sweep when iterating. 'top' with no extra args and
all other modules keep their original full-tcl behaviour.
2026-06-28 16:46:33 +08:00
880e87daad
fix(run_tb): allow digits in TCL variable names (e.g. SHA3_DIR)
...
Grep pattern [A-Z_]+ rejected variable names containing digits
like SHA3_DIR, SHA3C_DIR, NTT_DIR, etc. Changed to [A-Z0-9_]+.
2026-06-27 01:13:58 +08:00
db0a559826
fix(tb): fix run_tb.sh TCL variable extraction
...
Convert TCL 'set VAR path' to bash VAR=path before executing
xvlog/xelab/xsim commands extracted from xsim_run.tcl files.
2026-06-25 20:57:30 +08:00
79653ac3a5
fix(tb): fix Vivado 2019.2 compatibility and add run_tb.sh
...
- Replace -include_dirs . with -i . (Vivado 2019.2 syntax)
- Add --timescale 1ns/1ps to all xelab commands
- Add LD_PRELOAD comment for ncurses compatibility
- Add run_tb.sh convenience script
Usage: ./run_tb.sh mod_add
./run_tb.sh --list
- Update spec with Vivado 2019.2 compatibility notes
2026-06-25 20:53:47 +08:00