Skip to content
Snippets Groups Projects
Commit e60bebf7 authored by James Talbert's avatar James Talbert
Browse files

Update creating-maintaining-new-project.md

parent 2675c345
No related branches found
No related tags found
No related merge requests found
......@@ -30,3 +30,18 @@ and adding the following at the end of the file:
make_wrapper -files [get_files ${origin_dir}/${_xil_proj_name_}/${_xil_proj_name_}.srcs/sources_1/bd/design_1/design_1.bd] -top
add_files -norecurse ${origin_dir}/${_xil_proj_name_}/${_xil_proj_name_}.srcs/sources_1/bd/design_1/hdl/design_1_wrapper.vhd
```
# Version Control
At the top of the tcl file for the project, there is a list of files that need to be in version control.
All of these should be added to the repo, as well as the tcl script itself, but not the `design_1_wrapper.vhd` file.
No other files for this project need be added to the repo. Any time you add a source file, please add it under src, not the auto-generated folder.
If you add it to the auto-generated folder, the scriopt will not be able to build the project as it will delete the file before building and then be unable to find it.
## I made a mistake and added a new file to the default folder
1. Don't do that again please
2. We can fix it:
1. Go in to the folder structure and copy the file from the bad place (see file properties in Vivado) to `<project>/src/...`
2. Go into Vivado and delete the old file from the project
3. In Vivado, add the new file to the project
4. Update git to revision the new file.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment