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

Update creating-maintaining-new-project.md

parent e3f6debe
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,22 @@ and adding the following at the end of the file: ...@@ -30,6 +30,22 @@ 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 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 add_files -norecurse ${origin_dir}/${_xil_proj_name_}/${_xil_proj_name_}.srcs/sources_1/bd/design_1/hdl/design_1_wrapper.vhd
``` ```
Additionally, you need to make the constraints file a remote source, not a local one.
Replace
````
set file "[file normalize "$origin_dir/PWM_Recorder_Tests/src/constrs/Zybo-Z7-Master.xdc"]"
set file_imported [import_files -fileset constrs_1 [list $file]]
set file "constrs/Zybo-Z7-Master.xdc"
set file_obj [get_files -of_objects [get_filesets constrs_1] [list "*$file"]]
set_property -name "file_type" -value "XDC" -objects $file_obj
# Set 'constrs_1' fileset properties
set obj [get_filesets constrs_1]
````
with
````
add_files -fileset constrs_1 -norecurse ${origin_dir}/${_xil_proj_name_}/src/constrs/Zybo-Z7-Master.xdc
````
# Version Control # 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. At the top of the tcl file for the project, there is a list of files that need to be in version control.
......
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