Jelajahi Sumber

Исправил скрипт

Anatoliy Chigirinskiy 1 tahun lalu
induk
melakukan
f4be05b6fd
1 mengubah file dengan 0 tambahan dan 28 penghapusan
  1. 0 28
      script/recreate.tcl

+ 0 - 28
script/recreate.tcl

@@ -23,7 +23,6 @@
 # 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:/VNA_XDMA_PROJ/VNA_XDMA.srcs/utils_1/imports/synth_1/xilinx_dma_pcie_ep.dcp"
 #
 # 3. The following remote source files that were added to the original project:-
 #
@@ -69,16 +68,6 @@
 
 # Check file required for this script exists
 proc checkRequiredFiles { origin_dir} {
-  set status true
-  set files [list \
- "[file normalize "$origin_dir/VNA_XDMA_PROJ/VNA_XDMA.srcs/utils_1/imports/synth_1/xilinx_dma_pcie_ep.dcp"]"\
-  ]
-  foreach ifile $files {
-    if { ![file isfile $ifile] } {
-      puts " Could not find local file $ifile "
-      set status false
-    }
-  }
 
   set files [list \
  "[file normalize "$origin_dir/VNA_XDMA_REPO/src/ip/xdma_0/xdma_0.xci"]"\
@@ -396,22 +385,6 @@ set_property -name "top_lib" -value "xil_defaultlib" -objects $obj
 # Set 'utils_1' fileset object
 set obj [get_filesets utils_1]
 # Import local files from the original project
-set files [list \
- [file normalize "${origin_dir}/VNA_XDMA_PROJ/VNA_XDMA.srcs/utils_1/imports/synth_1/xilinx_dma_pcie_ep.dcp" ]\
-]
-set imported_files ""
-foreach f $files {
-  lappend imported_files [import_files -fileset utils_1 $f]
-}
-
-# Set 'utils_1' fileset file properties for remote files
-# None
-
-# Set 'utils_1' fileset file properties for local files
-set file "synth_1/xilinx_dma_pcie_ep.dcp"
-set file_obj [get_files -of_objects [get_filesets utils_1] [list "*$file"]]
-set_property -name "netlist_only" -value "0" -objects $file_obj
-
 
 # Set 'utils_1' fileset properties
 set obj [get_filesets utils_1]
@@ -444,7 +417,6 @@ if { $obj != "" } {
 set obj [get_runs synth_1]
 set_property -name "needs_refresh" -value "1" -objects $obj
 set_property -name "part" -value "xc7a100tfgg484-2" -objects $obj
-set_property -name "incremental_checkpoint" -value "$proj_dir/${_xil_proj_name_}.srcs/utils_1/imports/synth_1/xilinx_dma_pcie_ep.dcp" -objects $obj
 set_property -name "auto_incremental_checkpoint" -value "1" -objects $obj
 set_property -name "strategy" -value "Vivado Synthesis Defaults" -objects $obj