diff --git a/quad/doc/creating-maintaining-new-project.md b/quad/doc/creating-maintaining-new-project.md index c4af1a5ee81448484966f8e82b8448a0b86a9909..562466dba065bf826d360cb3066dd6015d157279 100644 --- a/quad/doc/creating-maintaining-new-project.md +++ b/quad/doc/creating-maintaining-new-project.md @@ -30,6 +30,20 @@ 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 ``` +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 + +```` +with +```` +add_files -fileset constrs_1 -norecurse ${origin_dir}/${_xil_proj_name_}/src/constrs/Zybo-Z7-Master.xdc +```` # 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.