From d2c29c278e9e0c456128b744cbaf970043062c78 Mon Sep 17 00:00:00 2001 From: James Talbert <jtalbert@iastate.edu> Date: Mon, 24 Sep 2018 17:48:10 -0500 Subject: [PATCH] Update creating-new-project.md --- quad/doc/creating-new-project.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/quad/doc/creating-new-project.md b/quad/doc/creating-new-project.md index 9f3df743a..4e011299d 100644 --- a/quad/doc/creating-new-project.md +++ b/quad/doc/creating-new-project.md @@ -10,7 +10,7 @@ I feel that there should be a way around this, but I haven't found it yet. - You need to change the project to auto-generate a new wrapper when re-created. This is done by removeing the follwoing lines from the .tcl file - +``` # Import local files from the original project set files [list \ [file normalize "${origin_dir}/PWM_Recorder_Tests/PWM_Recorder_Tests.srcs/sources_1/bd/design_1/hdl/design_1_wrapper.vhd" ]\ @@ -24,9 +24,9 @@ This is done by removeing the follwoing lines from the .tcl file set file "hdl/design_1_wrapper.vhd" set file_obj [get_files -of_objects [get_filesets sources_1] [list "*$file"]] set_property -name "file_type" -value "VHDL" -objects $file_obj - +``` 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 - +``` -- GitLab