Archived
modify project dir structure
all three modules are modified, dl814_k7 projects are modified, .gitignore is modified, README needs to update
This commit is contained in:
+20
-19
@@ -1,9 +1,9 @@
|
||||
#*****************************************************************************************
|
||||
# Vivado (TM) v2019.1.3 (64-bit)
|
||||
#
|
||||
# multi_ch_cal.tcl: Tcl script for re-creating project 'multi_ch_cal'
|
||||
# project.tcl: Tcl script for re-creating project 'multi_ch_cal'
|
||||
#
|
||||
# Generated by Vivado on Tue Mar 21 13:00:50 +0800 2023
|
||||
# Generated by Vivado on Sat Mar 25 23:34:12 CST 2023
|
||||
# IP Build 2633630 on Wed Sep 4 12:30:14 MDT 2019
|
||||
#
|
||||
# This file contains the Vivado Tcl commands for re-creating the project to the state*
|
||||
@@ -18,7 +18,7 @@
|
||||
# NOTE: In order to use this script for source control purposes, please make sure that the
|
||||
# following files are added to the source control system:-
|
||||
#
|
||||
# 1. This project restoration tcl script (multi_ch_cal.tcl) that was generated.
|
||||
# 1. This project restoration tcl script (project.tcl) that was generated.
|
||||
#
|
||||
# 2. The following source(s) files that were local or imported into the original project.
|
||||
# (Please see the '$orig_proj_dir' and '$origin_dir' variable setting below at the start of the script)
|
||||
@@ -27,11 +27,11 @@
|
||||
#
|
||||
# 3. The following remote source files that were added to the original project:-
|
||||
#
|
||||
# "d:/vivado-git/modules/xc7k410tffg900-2/multi_ch_cal/ip/atan2_16b/atan2_16b.xci"
|
||||
# "d:/vivado-git/modules/xc7k410tffg900-2/multi_ch_cal/ip/rotate_16b/rotate_16b.xci"
|
||||
# "d:/vivado-git/common/ApproxModuli_26bit.v"
|
||||
# "d:/vivado-git/modules/xc7k410tffg900-2/multi_ch_cal/rtl/multi_ch_cal.v"
|
||||
# "d:/vivado-git/modules/xc7k410tffg900-2/multi_ch_cal/testbenches/tb_multi_ch_cal.v"
|
||||
# "/home/josh/Workspace/vivado-git/modules/xc7k410tffg900-2/multi_ch_cal/ip/atan2_16b/atan2_16b.xci"
|
||||
# "/home/josh/Workspace/vivado-git/modules/xc7k410tffg900-2/multi_ch_cal/ip/rotate_16b/rotate_16b.xci"
|
||||
# "/home/josh/Workspace/vivado-git/common/ApproxModuli_26bit.v"
|
||||
# "/home/josh/Workspace/vivado-git/modules/xc7k410tffg900-2/multi_ch_cal/rtl/multi_ch_cal.v"
|
||||
# "/home/josh/Workspace/vivado-git/modules/xc7k410tffg900-2/multi_ch_cal/testbenches/tb_multi_ch_cal.v"
|
||||
#
|
||||
#*****************************************************************************************
|
||||
|
||||
@@ -44,7 +44,7 @@ if { [info exists ::origin_dir_loc] } {
|
||||
}
|
||||
|
||||
# Set the project name
|
||||
set _xil_proj_name_ "multi_ch_cal"
|
||||
set _xil_proj_name_ "project"
|
||||
|
||||
# Use project name variable, if specified in the tcl shell
|
||||
if { [info exists ::user_project_name] } {
|
||||
@@ -52,7 +52,7 @@ if { [info exists ::user_project_name] } {
|
||||
}
|
||||
|
||||
variable script_file
|
||||
set script_file "multi_ch_cal.tcl"
|
||||
set script_file "project.tcl"
|
||||
|
||||
# Help information for this script
|
||||
proc print_help {} {
|
||||
@@ -100,7 +100,7 @@ if { $::argc > 0 } {
|
||||
}
|
||||
|
||||
# Set the directory path for the original project from where this script was exported
|
||||
set orig_proj_dir "[file normalize "$origin_dir/multi_ch_cal"]"
|
||||
set orig_proj_dir "[file normalize "$origin_dir/project/multi_ch_cal"]"
|
||||
|
||||
# Create project
|
||||
create_project ${_xil_proj_name_} ./${_xil_proj_name_} -part xc7k410tffg900-2
|
||||
@@ -110,7 +110,7 @@ set proj_dir [get_property directory [current_project]]
|
||||
|
||||
# Set project properties
|
||||
set obj [current_project]
|
||||
set_property -name "compxlib.modelsim_compiled_library_dir" -value "C:/Mentor/CompLib/2019.1.3" -objects $obj
|
||||
set_property -name "compxlib.modelsim_compiled_library_dir" -value "/home/josh/Mentor/CompLib/2019.1.3" -objects $obj
|
||||
set_property -name "corecontainer.enable" -value "1" -objects $obj
|
||||
set_property -name "default_lib" -value "xil_defaultlib" -objects $obj
|
||||
set_property -name "dsa.accelerator_binary_content" -value "bitstream" -objects $obj
|
||||
@@ -152,15 +152,15 @@ if {[string equal [get_filesets -quiet sources_1] ""]} {
|
||||
# Set 'sources_1' fileset object
|
||||
set obj [get_filesets sources_1]
|
||||
set files [list \
|
||||
[file normalize "${origin_dir}/../ip/atan2_16b/atan2_16b.xci"] \
|
||||
[file normalize "${origin_dir}/../ip/rotate_16b/rotate_16b.xci"] \
|
||||
[file normalize "${origin_dir}/../../../../common/ApproxModuli_26bit.v"] \
|
||||
[file normalize "${origin_dir}/../rtl/multi_ch_cal.v"] \
|
||||
[file normalize "${origin_dir}/ip/atan2_16b/atan2_16b.xci"] \
|
||||
[file normalize "${origin_dir}/ip/rotate_16b/rotate_16b.xci"] \
|
||||
[file normalize "${origin_dir}/../../../common/ApproxModuli_26bit.v"] \
|
||||
[file normalize "${origin_dir}/rtl/multi_ch_cal.v"] \
|
||||
]
|
||||
add_files -norecurse -fileset $obj $files
|
||||
|
||||
# Set 'sources_1' fileset file properties for remote files
|
||||
set file "$origin_dir/../ip/atan2_16b/atan2_16b.xci"
|
||||
set file "$origin_dir/ip/atan2_16b/atan2_16b.xci"
|
||||
set file [file normalize $file]
|
||||
set file_obj [get_files -of_objects [get_filesets sources_1] [list "*$file"]]
|
||||
set_property -name "generate_files_for_reference" -value "0" -objects $file_obj
|
||||
@@ -169,7 +169,7 @@ if { ![get_property "is_locked" $file_obj] } {
|
||||
set_property -name "synth_checkpoint_mode" -value "Singular" -objects $file_obj
|
||||
}
|
||||
|
||||
set file "$origin_dir/../ip/rotate_16b/rotate_16b.xci"
|
||||
set file "$origin_dir/ip/rotate_16b/rotate_16b.xci"
|
||||
set file [file normalize $file]
|
||||
set file_obj [get_files -of_objects [get_filesets sources_1] [list "*$file"]]
|
||||
set_property -name "generate_files_for_reference" -value "0" -objects $file_obj
|
||||
@@ -209,7 +209,7 @@ if {[string equal [get_filesets -quiet sim_1] ""]} {
|
||||
# Set 'sim_1' fileset object
|
||||
set obj [get_filesets sim_1]
|
||||
set files [list \
|
||||
[file normalize "${origin_dir}/../testbenches/tb_multi_ch_cal.v"] \
|
||||
[file normalize "${origin_dir}/testbenches/tb_multi_ch_cal.v"] \
|
||||
]
|
||||
add_files -norecurse -fileset $obj $files
|
||||
|
||||
@@ -252,6 +252,7 @@ if { $obj != "" } {
|
||||
|
||||
}
|
||||
set obj [get_runs synth_1]
|
||||
set_property -name "needs_refresh" -value "1" -objects $obj
|
||||
set_property -name "part" -value "xc7k410tffg900-2" -objects $obj
|
||||
set_property -name "strategy" -value "Vivado Synthesis Defaults" -objects $obj
|
||||
|
||||
Reference in New Issue
Block a user