|
|
@@ -1,9 +1,9 @@
|
|
|
#*****************************************************************************************
|
|
|
# Vivado (TM) v2020.2 (64-bit)
|
|
|
#
|
|
|
-# recreate.tcl: Tcl script for re-creating project 'S5443_3'
|
|
|
+# recreate.tcl: Tcl script for re-creating project 'S5443_3_PROJ'
|
|
|
#
|
|
|
-# Generated by Vivado on Tue Jul 16 09:43:26 +0700 2024
|
|
|
+# Generated by Vivado on Tue Jul 16 10:35:10 +0700 2024
|
|
|
# IP Build 3064653 on Wed Nov 18 14:17:31 MST 2020
|
|
|
#
|
|
|
# This file contains the Vivado Tcl commands for re-creating the project to the state*
|
|
|
@@ -23,76 +23,78 @@
|
|
|
# 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)
|
|
|
#
|
|
|
+# "C:/S5443_3_PROJ/S5443_3_PROJ.srcs/sources_1/ip/MMCM/MMCM.xci"
|
|
|
+# "C:/S5443_3_PROJ/S5443_3_PROJ.srcs/sources_1/ip/DataFifoRx/DataFifoRx.xci"
|
|
|
+# "C:/S5443_3_PROJ/S5443_3_PROJ.srcs/sources_1/ip/DataFifoTx/DataFifoTx.xci"
|
|
|
+#
|
|
|
+# 3. The following remote source files that were added to the original project:-
|
|
|
+#
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/Cdc.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkDivider.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkManager.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/CmdSync.v"
|
|
|
# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/DataFifoWrapper.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/S5443_3Top.v"
|
|
|
# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/FifoCtrl.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIm.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIs.v"
|
|
|
# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/InitRst/InitRst.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/RegMap/RegMap.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/MmcmClkMux.v"
|
|
|
# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/QuadSPI/QuadSPIm.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/CDC.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/Sync1bit.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/RegMap/RegMap.v"
|
|
|
# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/RxFifoPtrSync.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/TxFifoPtrsync.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/QuadSPI/QuadSPIs.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkDivider.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkManager.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/CmdSync.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/SpiClkMux.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/MmcmClkMux.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIm.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIs.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SmcAnsMux/SmcAnsMux.v"
|
|
|
# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SmcInDataMux/SmcInDataMux.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiSubSystem/SpiSubSystem.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/SpiClkMux.v"
|
|
|
# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiSubSystem/SpiLinesMuxer.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SmcAnsMux/SmcAnsMux.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/ip/DataFifoRx/DataFifoRx.xci"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/ip/DataFifoTx/DataFifoTx.xci"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/ip/MMCM/MMCM.xci"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiSubSystem/SpiSubSystem.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/Sync1bit.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/TxFifoPtrsync.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/S5443_3Top.v"
|
|
|
+# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/QuadSPI/QuadSPIs.v"
|
|
|
# "C:/Projects/S5443_3/S5443_3.srcs/constrs_1/new/S5443_3.xdc"
|
|
|
-# "C:/Projects/S5443_3/SRAM_tb_behav.wcfg"
|
|
|
# "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/S5443_3_tb.v"
|
|
|
-# "C:/Projects/S5443_3/S5443_3.gen/sources_1/ip/DataFifoRx/simulation/fifo_generator_vlog_beh.v"
|
|
|
-#
|
|
|
-# 3. The following remote source files that were added to the original project:-
|
|
|
-#
|
|
|
-# <none>
|
|
|
#
|
|
|
#*****************************************************************************************
|
|
|
|
|
|
# Check file required for this script exists
|
|
|
proc checkRequiredFiles { origin_dir} {
|
|
|
set status true
|
|
|
+ foreach ifile $files {
|
|
|
+ if { ![file isfile $ifile] } {
|
|
|
+ puts " Could not find local file $ifile "
|
|
|
+ set status false
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
set files [list \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/Cdc.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkDivider.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkManager.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/CmdSync.v" \
|
|
|
"C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/DataFifoWrapper.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/S5443_3Top.v" \
|
|
|
"C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/FifoCtrl.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIm.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIs.v" \
|
|
|
"C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/InitRst/InitRst.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/RegMap/RegMap.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/MmcmClkMux.v" \
|
|
|
"C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/QuadSPI/QuadSPIm.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/CDC.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/Sync1bit.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/RegMap/RegMap.v" \
|
|
|
"C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/RxFifoPtrSync.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/TxFifoPtrsync.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/QuadSPI/QuadSPIs.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkDivider.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkManager.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/CmdSync.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/SpiClkMux.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/MmcmClkMux.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIm.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIs.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SmcAnsMux/SmcAnsMux.v" \
|
|
|
"C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SmcInDataMux/SmcInDataMux.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiSubSystem/SpiSubSystem.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/SpiClkMux.v" \
|
|
|
"C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiSubSystem/SpiLinesMuxer.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SmcAnsMux/SmcAnsMux.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiSubSystem/SpiSubSystem.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/Sync1bit.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/TxFifoPtrsync.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/S5443_3Top.v" \
|
|
|
+ "C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/QuadSPI/QuadSPIs.v" \
|
|
|
"C:/Projects/S5443_3/S5443_3.srcs/constrs_1/new/S5443_3.xdc" \
|
|
|
- "C:/Projects/S5443_3/SRAM_tb_behav.wcfg" \
|
|
|
"C:/Projects/S5443_3/S5443_3.srcs/sources_1/new/S5443_3_tb.v" \
|
|
|
- "C:/Projects/S5443_3/S5443_3.gen/sources_1/ip/DataFifoRx/simulation/fifo_generator_vlog_beh.v" \
|
|
|
]
|
|
|
foreach ifile $files {
|
|
|
if { ![file isfile $ifile] } {
|
|
|
- puts " Could not find local file $ifile "
|
|
|
+ puts " Could not find remote file $ifile "
|
|
|
set status false
|
|
|
}
|
|
|
}
|
|
|
@@ -108,7 +110,7 @@ if { [info exists ::origin_dir_loc] } {
|
|
|
}
|
|
|
|
|
|
# Set the project name
|
|
|
-set _xil_proj_name_ "S5443_3"
|
|
|
+set _xil_proj_name_ "S5443_3_PROJ"
|
|
|
|
|
|
# Use project name variable, if specified in the tcl shell
|
|
|
if { [info exists ::user_project_name] } {
|
|
|
@@ -164,7 +166,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/Projects/S5443_3"]"
|
|
|
+set orig_proj_dir "[file normalize "$origin_dir/S5443_3_PROJ"]"
|
|
|
|
|
|
# Check for paths and files needed for project creation
|
|
|
set validate_required 0
|
|
|
@@ -193,17 +195,6 @@ set_property -name "mem.enable_memory_map_generation" -value "1" -objects $obj
|
|
|
set_property -name "part" -value "xc7s25csga225-2" -objects $obj
|
|
|
set_property -name "sim.central_dir" -value "$proj_dir/${_xil_proj_name_}.ip_user_files" -objects $obj
|
|
|
set_property -name "sim.ip.auto_export_scripts" -value "1" -objects $obj
|
|
|
-set_property -name "simulator_language" -value "Mixed" -objects $obj
|
|
|
-set_property -name "source_mgmt_mode" -value "DisplayOnly" -objects $obj
|
|
|
-set_property -name "webtalk.activehdl_export_sim" -value "79" -objects $obj
|
|
|
-set_property -name "webtalk.ies_export_sim" -value "79" -objects $obj
|
|
|
-set_property -name "webtalk.modelsim_export_sim" -value "79" -objects $obj
|
|
|
-set_property -name "webtalk.questa_export_sim" -value "79" -objects $obj
|
|
|
-set_property -name "webtalk.questa_launch_sim" -value "4" -objects $obj
|
|
|
-set_property -name "webtalk.riviera_export_sim" -value "79" -objects $obj
|
|
|
-set_property -name "webtalk.vcs_export_sim" -value "79" -objects $obj
|
|
|
-set_property -name "webtalk.xsim_export_sim" -value "79" -objects $obj
|
|
|
-set_property -name "webtalk.xsim_launch_sim" -value "1006" -objects $obj
|
|
|
set_property -name "xpm_libraries" -value "XPM_CDC XPM_MEMORY" -objects $obj
|
|
|
|
|
|
# Create 'sources_1' fileset (if not found)
|
|
|
@@ -213,41 +204,106 @@ if {[string equal [get_filesets -quiet sources_1] ""]} {
|
|
|
|
|
|
# Set 'sources_1' fileset object
|
|
|
set obj [get_filesets sources_1]
|
|
|
-# Import local files from the original project
|
|
|
set files [list \
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/DataFifoWrapper.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/S5443_3Top.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/FifoCtrl.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIm.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIs.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/InitRst/InitRst.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/RegMap/RegMap.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/QuadSPI/QuadSPIm.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/Cdc.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/Sync1bit.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/RxFifoPtrSync.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/TxFifoPtrsync.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/QuadSPI/QuadSPIs.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkDivider.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkManager.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/CmdSync.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/SpiClkMux.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/MmcmClkMux.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SmcInDataMux/SmcInDataMux.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiSubSystem/SpiSubSystem.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiSubSystem/SpiLinesMuxer.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SmcAnsMux/SmcAnsMux.v" ]\
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/Cdc.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkDivider.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/ClkManager.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/CmdSync.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/DataFifoWrapper.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/FifoCtrl.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/InitRst/InitRst.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/MmcmClkMux.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/QuadSPI/QuadSPIm.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/RegMap/RegMap.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/RxFifoPtrSync.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIm.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiR/SPIs.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SmcAnsMux/SmcAnsMux.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SmcInDataMux/SmcInDataMux.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/ClkManager/SpiClkMux.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiSubSystem/SpiLinesMuxer.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/SpiSubSystem/SpiSubSystem.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/CDC/Sync1bit.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/DataFifo/TxFifoPtrsync.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/S5443_3Top.v"] \
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/QuadSPI/QuadSPIs.v"] \
|
|
|
]
|
|
|
-set imported_files [import_files -fileset sources_1 $files]
|
|
|
+add_files -norecurse -fileset $obj $files
|
|
|
|
|
|
# Set 'sources_1' fileset file properties for remote files
|
|
|
# None
|
|
|
|
|
|
+# Set 'sources_1' fileset file properties for local files
|
|
|
+# None
|
|
|
+
|
|
|
# Set 'sources_1' fileset properties
|
|
|
set obj [get_filesets sources_1]
|
|
|
set_property -name "top" -value "S5443_3Top" -objects $obj
|
|
|
set_property -name "top_auto_set" -value "0" -objects $obj
|
|
|
|
|
|
+# Set 'sources_1' fileset object
|
|
|
+# set obj [get_filesets sources_1]
|
|
|
+# # Import local files from the original project
|
|
|
+# set files [list \
|
|
|
+# [file normalize "${origin_dir}/S5443_3_PROJ/S5443_3_PROJ.srcs/sources_1/ip/MMCM/MMCM.xci" ]\
|
|
|
+# ]
|
|
|
+# set imported_files [import_files -fileset sources_1 $files]
|
|
|
+
|
|
|
+# # Set 'sources_1' fileset file properties for remote files
|
|
|
+# # None
|
|
|
+
|
|
|
+# # Set 'sources_1' fileset file properties for local files
|
|
|
+# set file "MMCM/MMCM.xci"
|
|
|
+# 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
|
|
|
+# set_property -name "registered_with_manager" -value "1" -objects $file_obj
|
|
|
+# if { ![get_property "is_locked" $file_obj] } {
|
|
|
+# set_property -name "synth_checkpoint_mode" -value "Singular" -objects $file_obj
|
|
|
+# }
|
|
|
+
|
|
|
+
|
|
|
+# # Set 'sources_1' fileset object
|
|
|
+# set obj [get_filesets sources_1]
|
|
|
+# # Import local files from the original project
|
|
|
+# set files [list \
|
|
|
+# [file normalize "${origin_dir}/S5443_3_PROJ/S5443_3_PROJ.srcs/sources_1/ip/DataFifoRx/DataFifoRx.xci" ]\
|
|
|
+# ]
|
|
|
+# set imported_files [import_files -fileset sources_1 $files]
|
|
|
+
|
|
|
+# # Set 'sources_1' fileset file properties for remote files
|
|
|
+# # None
|
|
|
+
|
|
|
+# # Set 'sources_1' fileset file properties for local files
|
|
|
+# set file "DataFifoRx/DataFifoRx.xci"
|
|
|
+# 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
|
|
|
+# set_property -name "registered_with_manager" -value "1" -objects $file_obj
|
|
|
+# if { ![get_property "is_locked" $file_obj] } {
|
|
|
+# set_property -name "synth_checkpoint_mode" -value "Singular" -objects $file_obj
|
|
|
+# }
|
|
|
+
|
|
|
+
|
|
|
+# # Set 'sources_1' fileset object
|
|
|
+# set obj [get_filesets sources_1]
|
|
|
+# # Import local files from the original project
|
|
|
+# set files [list \
|
|
|
+# [file normalize "${origin_dir}/S5443_3_PROJ/S5443_3_PROJ.srcs/sources_1/ip/DataFifoTx/DataFifoTx.xci" ]\
|
|
|
+# ]
|
|
|
+# set imported_files [import_files -fileset sources_1 $files]
|
|
|
+
|
|
|
+# # Set 'sources_1' fileset file properties for remote files
|
|
|
+# # None
|
|
|
+
|
|
|
+# # Set 'sources_1' fileset file properties for local files
|
|
|
+# set file "DataFifoTx/DataFifoTx.xci"
|
|
|
+# 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
|
|
|
+# set_property -name "registered_with_manager" -value "1" -objects $file_obj
|
|
|
+# if { ![get_property "is_locked" $file_obj] } {
|
|
|
+# set_property -name "synth_checkpoint_mode" -value "Singular" -objects $file_obj
|
|
|
+# }
|
|
|
+
|
|
|
+
|
|
|
# Create 'constrs_1' fileset (if not found)
|
|
|
if {[string equal [get_filesets -quiet constrs_1] ""]} {
|
|
|
create_fileset -constrset constrs_1
|
|
|
@@ -258,16 +314,15 @@ set obj [get_filesets constrs_1]
|
|
|
|
|
|
# Add/Import constrs file and set constrs file properties
|
|
|
set file "[file normalize "$origin_dir/Projects/S5443_3/S5443_3.srcs/constrs_1/new/S5443_3.xdc"]"
|
|
|
-set file_imported [import_files -fileset constrs_1 [list $file]]
|
|
|
-set file "new/S5443_3.xdc"
|
|
|
+set file_added [add_files -norecurse -fileset $obj [list $file]]
|
|
|
+set file "$origin_dir/Projects/S5443_3/S5443_3.srcs/constrs_1/new/S5443_3.xdc"
|
|
|
+set file [file normalize $file]
|
|
|
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]
|
|
|
-set_property -name "target_constrs_file" -value "[get_files *new/S5443_3.xdc]" -objects $obj
|
|
|
set_property -name "target_part" -value "xc7s25csga225-2" -objects $obj
|
|
|
-set_property -name "target_ucf" -value "[get_files *new/S5443_3.xdc]" -objects $obj
|
|
|
|
|
|
# Create 'sim_1' fileset (if not found)
|
|
|
if {[string equal [get_filesets -quiet sim_1] ""]} {
|
|
|
@@ -276,13 +331,10 @@ if {[string equal [get_filesets -quiet sim_1] ""]} {
|
|
|
|
|
|
# Set 'sim_1' fileset object
|
|
|
set obj [get_filesets sim_1]
|
|
|
-# Import local files from the original project
|
|
|
set files [list \
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/SRAM_tb_behav.wcfg" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/S5443_3_tb.v" ]\
|
|
|
- [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.gen/sources_1/ip/DataFifoRx/simulation/fifo_generator_vlog_beh.v" ]\
|
|
|
+ [file normalize "${origin_dir}/Projects/S5443_3/S5443_3.srcs/sources_1/new/S5443_3_tb.v"] \
|
|
|
]
|
|
|
-set imported_files [import_files -fileset sim_1 $files]
|
|
|
+add_files -norecurse -fileset $obj $files
|
|
|
|
|
|
# Set 'sim_1' fileset file properties for remote files
|
|
|
# None
|
|
|
@@ -293,7 +345,6 @@ set imported_files [import_files -fileset sim_1 $files]
|
|
|
# Set 'sim_1' fileset properties
|
|
|
set obj [get_filesets sim_1]
|
|
|
set_property -name "hbs.configure_design_for_hier_access" -value "1" -objects $obj
|
|
|
-set_property -name "nl.mode" -value "funcsim" -objects $obj
|
|
|
set_property -name "top" -value "S5443_3_tb" -objects $obj
|
|
|
set_property -name "top_auto_set" -value "0" -objects $obj
|
|
|
set_property -name "top_lib" -value "xil_defaultlib" -objects $obj
|
|
|
@@ -326,10 +377,7 @@ if { $obj != "" } {
|
|
|
}
|
|
|
set obj [get_runs synth_1]
|
|
|
set_property -name "part" -value "xc7s25csga225-2" -objects $obj
|
|
|
-set_property -name "auto_incremental_checkpoint.directory" -value "$proj_dir/S5443_3/S5443_3.srcs/utils_1/imports/synth_1" -objects $obj
|
|
|
set_property -name "strategy" -value "Vivado Synthesis Defaults" -objects $obj
|
|
|
-set_property -name "steps.synth_design.args.flatten_hierarchy" -value "none" -objects $obj
|
|
|
-set_property -name "steps.synth_design.args.gated_clock_conversion" -value "on" -objects $obj
|
|
|
|
|
|
# set the current synth run
|
|
|
current_run -synthesis [get_runs synth_1]
|
|
|
@@ -543,10 +591,7 @@ set_property -name "options.warn_on_violation" -value "1" -objects $obj
|
|
|
}
|
|
|
set obj [get_runs impl_1]
|
|
|
set_property -name "part" -value "xc7s25csga225-2" -objects $obj
|
|
|
-set_property -name "auto_incremental_checkpoint.directory" -value "$proj_dir/S5443_3/S5443_3.srcs/utils_1/imports/impl_1" -objects $obj
|
|
|
set_property -name "strategy" -value "Vivado Implementation Defaults" -objects $obj
|
|
|
-set_property -name "steps.post_route_phys_opt_design.args.directive" -value "AddRetime" -objects $obj
|
|
|
-set_property -name "steps.write_bitstream.args.bin_file" -value "1" -objects $obj
|
|
|
set_property -name "steps.write_bitstream.args.readback_file" -value "0" -objects $obj
|
|
|
set_property -name "steps.write_bitstream.args.verbose" -value "0" -objects $obj
|
|
|
|
|
|
@@ -625,13 +670,13 @@ if { [string first $scripts_vivado_version $current_vivado_version] == -1 } {
|
|
|
# source recreateIp.tcl
|
|
|
# If there is no project opened, this script will create a
|
|
|
# project, but make sure you do not have an existing project
|
|
|
-# <./S5443_3/S5443_3.xpr> in the current working folder.
|
|
|
+# <./S5443_3_PROJ/S5443_3_PROJ.xpr> in the current working folder.
|
|
|
|
|
|
set list_projs [get_projects -quiet]
|
|
|
if { $list_projs eq "" } {
|
|
|
- create_project S5443_3 S5443_3 -part xc7s25csga225-2
|
|
|
+ create_project S5443_3_PROJ S5443_3_PROJ -part xc7s25csga225-2
|
|
|
set_property target_language Verilog [current_project]
|
|
|
- set_property simulator_language Mixed [current_project]
|
|
|
+ set_property simulator_language Verilog [current_project]
|
|
|
}
|
|
|
|
|
|
##################################################################
|