- clone this repository
- open Vivado tcl console
cd E:/work/vivado_git/
(replace with your own path)source ./prj_gen.tcl
and wait for the project to be generated- run simulation
- create a new Vivado project
- set a good source directory structure src/rtl, src/constraints, src/testbench, src/ipcore etc.
- add every thing to your source directory src but not the project folder
- add source files rtl/testbench, constraints, etc.
- generate a tcl script to create the project
- go to tcl console
- cd to your repo folder
cd E:/work/vivado_git/
(replace with your own path) - type
write_project_tcl ./prj_gen.tcl
- delete the prj folder or use gitignore to ignore it see .gitignore
- at the root of the project, git init, add, commit, push to remote repository
- clone the repository to another directory
- follow the quick start to generate the project