Files
mlkem-sync/.trellis/tasks/archive/2026-06/06-27-vivado-project-tcl/prd.md

12 lines
380 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Vivado 工程创建 TCL 脚本
## Goal
编写 `create_project.tcl`,自动创建 Vivado 工程,添加所有 RTL 源文件和 testbench。
## Requirements
- 脚本位于项目根目录
- 自动发现所有 sync_rtl/** 下的 .v 文件
- 添加 TB 文件(*_xsim.v
- 设置顶层模块为 tb_mlkem_top_xsim
- 支持 `vivado -mode batch -source create_project.tcl` 运行