Commit Graph

3 Commits

Author SHA1 Message Date
6721c3c0c1 fix(create_project): replace -cd with -tclbatch pre-simulation vector copy
Vivado 2019.2 xsim does not support -cd flag. Instead:
- Generate copy_vectors_pre.tcl that copies hex files
- Pass via -tclbatch for pre-simulation execution
-  can then find vectors relative to xsim work dir
2026-06-27 02:19:22 +08:00
9ef6d96117 fix(create_project): set xsim working directory to project root
Add -cd flag so  finds vector files when running
from Vivado GUI (simulation dir ≠ project root)
2026-06-27 02:12:40 +08:00
ed83ef9da2 feat(tcl): add create_project.tcl for automatic Vivado project setup
Creates Vivado simulation project with all 25 RTL source files,
shared keccak variants, mlkem_top, and tb_mlkem_top_xsim.

Usage: vivado -mode batch -source create_project.tcl
2026-06-27 01:51:42 +08:00