|
@@ -1,573 +0,0 @@
|
|
-# Set the reference directory for source file relative paths (by default the value is script directory path)
|
|
|
|
-set origin_dir "."
|
|
|
|
-
|
|
|
|
-# Use origin directory path location variable, if specified in the tcl shell
|
|
|
|
-if { [info exists ::origin_dir_loc] } {
|
|
|
|
- set origin_dir $::origin_dir_loc
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-# Set the project name
|
|
|
|
-set _xil_proj_name_ "fifo"
|
|
|
|
-
|
|
|
|
-# Use project name variable, if specified in the tcl shell
|
|
|
|
-if { [info exists ::user_project_name] } {
|
|
|
|
- set _xil_proj_name_ $::user_project_name
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-variable script_file
|
|
|
|
-set script_file ".exported.tcl"
|
|
|
|
-
|
|
|
|
-# Help information for this script
|
|
|
|
-proc print_help {} {
|
|
|
|
- variable script_file
|
|
|
|
- puts "\nDescription:"
|
|
|
|
- puts "Recreate a Vivado project from this script. The created project will be"
|
|
|
|
- puts "functionally equivalent to the original project for which this script was"
|
|
|
|
- puts "generated. The script contains commands for creating a project, filesets,"
|
|
|
|
- puts "runs, adding/importing sources and setting properties on various objects.\n"
|
|
|
|
- puts "Syntax:"
|
|
|
|
- puts "$script_file"
|
|
|
|
- puts "$script_file -tclargs \[--origin_dir <path>\]"
|
|
|
|
- puts "$script_file -tclargs \[--project_name <name>\]"
|
|
|
|
- puts "$script_file -tclargs \[--help\]\n"
|
|
|
|
- puts "Usage:"
|
|
|
|
- puts "Name Description"
|
|
|
|
- puts "-------------------------------------------------------------------------"
|
|
|
|
- puts "\[--origin_dir <path>\] Determine source file paths wrt this path. Default"
|
|
|
|
- puts " origin_dir path value is \".\", otherwise, the value"
|
|
|
|
- puts " that was set with the \"-paths_relative_to\" switch"
|
|
|
|
- puts " when this script was generated.\n"
|
|
|
|
- puts "\[--project_name <name>\] Create project with the specified name. Default"
|
|
|
|
- puts " name is the name of the project from where this"
|
|
|
|
- puts " script was generated.\n"
|
|
|
|
- puts "\[--help\] Print help information for this script"
|
|
|
|
- puts "-------------------------------------------------------------------------\n"
|
|
|
|
- exit 0
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-if { $::argc > 0 } {
|
|
|
|
- for {set i 0} {$i < $::argc} {incr i} {
|
|
|
|
- set option [string trim [lindex $::argv $i]]
|
|
|
|
- switch -regexp -- $option {
|
|
|
|
- "--origin_dir" { incr i; set origin_dir [lindex $::argv $i] }
|
|
|
|
- "--project_name" { incr i; set _xil_proj_name_ [lindex $::argv $i] }
|
|
|
|
- "--help" { print_help }
|
|
|
|
- default {
|
|
|
|
- if { [regexp {^-} $option] } {
|
|
|
|
- puts "ERROR: Unknown option '$option' specified, please type '$script_file -tclargs --help' for usage info.\n"
|
|
|
|
- return 1
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-# Set the directory path for the original project from where this script was exported
|
|
|
|
-set orig_proj_dir "[file normalize "sources/fifo"]"
|
|
|
|
-
|
|
|
|
-# Create project
|
|
|
|
-create_project fifo workspace/fifo
|
|
|
|
-
|
|
|
|
-# Set the directory path for the new project
|
|
|
|
-set proj_dir [get_property directory [current_project]]
|
|
|
|
-
|
|
|
|
-# Set project properties
|
|
|
|
-set obj [current_project]
|
|
|
|
-set_property -name "board_part_repo_paths" -value "/home/windows/repos/vhdl-modules/workspace/vivado-boards/new/board_files" -objects $obj
|
|
|
|
-set_property -name "default_lib" -value "xil_defaultlib" -objects $obj
|
|
|
|
-set_property -name "dsa.accelerator_binary_content" -value "bitstream" -objects $obj
|
|
|
|
-set_property -name "dsa.accelerator_binary_format" -value "xclbin2" -objects $obj
|
|
|
|
-set_property -name "dsa.description" -value "Vivado generated DSA" -objects $obj
|
|
|
|
-set_property -name "dsa.dr_bd_base_address" -value "0" -objects $obj
|
|
|
|
-set_property -name "dsa.emu_dir" -value "emu" -objects $obj
|
|
|
|
-set_property -name "dsa.flash_interface_type" -value "bpix16" -objects $obj
|
|
|
|
-set_property -name "dsa.flash_offset_address" -value "0" -objects $obj
|
|
|
|
-set_property -name "dsa.flash_size" -value "1024" -objects $obj
|
|
|
|
-set_property -name "dsa.host_architecture" -value "x86_64" -objects $obj
|
|
|
|
-set_property -name "dsa.host_interface" -value "pcie" -objects $obj
|
|
|
|
-set_property -name "dsa.num_compute_units" -value "60" -objects $obj
|
|
|
|
-set_property -name "dsa.platform_state" -value "pre_synth" -objects $obj
|
|
|
|
-set_property -name "dsa.vendor" -value "xilinx" -objects $obj
|
|
|
|
-set_property -name "dsa.version" -value "0.0" -objects $obj
|
|
|
|
-set_property -name "enable_vhdl_2008" -value "1" -objects $obj
|
|
|
|
-set_property -name "ip_cache_permissions" -value "read write" -objects $obj
|
|
|
|
-set_property -name "ip_output_repo" -value "" -objects $obj
|
|
|
|
-set_property -name "mem.enable_memory_map_generation" -value "1" -objects $obj
|
|
|
|
-set_property -name "part" -value "xc7a100tcsg324-1" -objects $obj
|
|
|
|
-set_property -name "sim.central_dir" -value "" -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 "webtalk.activehdl_export_sim" -value "4" -objects $obj
|
|
|
|
-set_property -name "webtalk.ies_export_sim" -value "4" -objects $obj
|
|
|
|
-set_property -name "webtalk.modelsim_export_sim" -value "4" -objects $obj
|
|
|
|
-set_property -name "webtalk.questa_export_sim" -value "4" -objects $obj
|
|
|
|
-set_property -name "webtalk.riviera_export_sim" -value "4" -objects $obj
|
|
|
|
-set_property -name "webtalk.vcs_export_sim" -value "4" -objects $obj
|
|
|
|
-set_property -name "webtalk.xsim_export_sim" -value "4" -objects $obj
|
|
|
|
-set_property -name "webtalk.xsim_launch_sim" -value "4" -objects $obj
|
|
|
|
-set_property -name "xpm_libraries" -value "XPM_CDC XPM_MEMORY" -objects $obj
|
|
|
|
-
|
|
|
|
-# Create 'sources_1' fileset (if not found)
|
|
|
|
-if {[string equal [get_filesets -quiet sources_1] ""]} {
|
|
|
|
- create_fileset -srcset sources_1
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-# Set IP repository paths
|
|
|
|
-set obj [get_filesets sources_1]
|
|
|
|
-# set_property "ip_repo_paths" "[file normalize "$origin_dir/workspace/ip_repo"]" $obj
|
|
|
|
-set_property "ip_repo_paths" "[file normalize "workspace/ip_repo"]" $obj
|
|
|
|
-
|
|
|
|
-# Rebuild user ip_repo's index before adding any source files
|
|
|
|
-update_ip_catalog -rebuild
|
|
|
|
-
|
|
|
|
-puts "*** BEGINNING TO RECONSTRUCT BLOCK DESIGNS"
|
|
|
|
-foreach {bd_file} [glob sources/fifo.bd/*] {
|
|
|
|
- source $bd_file
|
|
|
|
-}
|
|
|
|
-add_files -norecurse -force [make_wrapper -files [get_files design_1.bd] -top]
|
|
|
|
-foreach {fileset} [get_filesets -filter {FILESET_TYPE =~ {*Srcs}}] {
|
|
|
|
- update_compile_order -fileset $fileset
|
|
|
|
-}
|
|
|
|
-puts "*** FINISHED RECONSTRUCTING BLOCK DESIGNS"
|
|
|
|
-
|
|
|
|
-# Set 'sources_1' fileset object
|
|
|
|
-set obj [get_filesets sources_1]
|
|
|
|
-# Import local files from the original project
|
|
|
|
-set files [list \
|
|
|
|
-]
|
|
|
|
-# 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
|
|
|
|
-# None
|
|
|
|
-
|
|
|
|
-# Set 'sources_1' fileset properties
|
|
|
|
-set obj [get_filesets sources_1]
|
|
|
|
-set_property -name "top" -value "design_1_wrapper" -objects $obj
|
|
|
|
-set_property -name "top_auto_set" -value "0" -objects $obj
|
|
|
|
-
|
|
|
|
-# Create 'constrs_1' fileset (if not found)
|
|
|
|
-if {[string equal [get_filesets -quiet constrs_1] ""]} {
|
|
|
|
- create_fileset -constrset constrs_1
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-# Set 'constrs_1' fileset object
|
|
|
|
-set obj [get_filesets constrs_1]
|
|
|
|
-
|
|
|
|
-# Add/Import constrs file and set constrs file properties
|
|
|
|
-# set file "[file normalize ${origin_dir}/workspace/fifo/fifo.srcs/constrs_1/imports/new/nexys_4_ddr.xdc]"
|
|
|
|
-# set file_imported [import_files -fileset constrs_1 [list $file]]
|
|
|
|
-# set file "new/nexys_4_ddr.xdc"
|
|
|
|
-# 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 "" -objects $obj
|
|
|
|
-set_property -name "target_part" -value "xc7a100tcsg324-1" -objects $obj
|
|
|
|
-set_property -name "target_ucf" -value "" -objects $obj
|
|
|
|
-
|
|
|
|
-# Create 'sim_1' fileset (if not found)
|
|
|
|
-if {[string equal [get_filesets -quiet sim_1] ""]} {
|
|
|
|
- create_fileset -simset sim_1
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-# Set 'sim_1' fileset object
|
|
|
|
-set obj [get_filesets sim_1]
|
|
|
|
-# Empty (no sources present)
|
|
|
|
-
|
|
|
|
-# Set 'sim_1' fileset properties
|
|
|
|
-set obj [get_filesets sim_1]
|
|
|
|
-set_property -name "top" -value "design_1_wrapper" -objects $obj
|
|
|
|
-set_property -name "top_auto_set" -value "0" -objects $obj
|
|
|
|
-set_property -name "top_lib" -value "xil_defaultlib" -objects $obj
|
|
|
|
-
|
|
|
|
-# Set 'utils_1' fileset object
|
|
|
|
-set obj [get_filesets utils_1]
|
|
|
|
-# Empty (no sources present)
|
|
|
|
-
|
|
|
|
-# Set 'utils_1' fileset properties
|
|
|
|
-set obj [get_filesets utils_1]
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-# Adding sources referenced in BDs, if not already added
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-# Proc to create BD design_1
|
|
|
|
-proc cr_bd_design_1 { parentCell } {
|
|
|
|
-
|
|
|
|
- # CHANGE DESIGN NAME HERE
|
|
|
|
- set design_name design_1
|
|
|
|
-
|
|
|
|
- common::send_msg_id "BD_TCL-003" "INFO" "Currently there is no design <$design_name> in project, so creating one..."
|
|
|
|
-
|
|
|
|
- create_bd_design $design_name
|
|
|
|
-
|
|
|
|
- set bCheckIPsPassed 1
|
|
|
|
-##################################################################
|
|
|
|
-# There are no IPs nor Modules to check.
|
|
|
|
-##################################################################
|
|
|
|
-
|
|
|
|
- if { $bCheckIPsPassed != 1 } {
|
|
|
|
- common::send_msg_id "BD_TCL-1003" "WARNING" "Will not continue with creation of design due to the error(s) above."
|
|
|
|
- return 3
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- variable script_folder
|
|
|
|
-
|
|
|
|
- if { $parentCell eq "" } {
|
|
|
|
- set parentCell [get_bd_cells /]
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- # Get object for parentCell
|
|
|
|
- set parentObj [get_bd_cells $parentCell]
|
|
|
|
- if { $parentObj == "" } {
|
|
|
|
- catch {common::send_msg_id "BD_TCL-100" "ERROR" "Unable to find parent cell <$parentCell>!"}
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- # Make sure parentObj is hier blk
|
|
|
|
- set parentType [get_property TYPE $parentObj]
|
|
|
|
- if { $parentType ne "hier" } {
|
|
|
|
- catch {common::send_msg_id "BD_TCL-101" "ERROR" "Parent <$parentObj> has TYPE = <$parentType>. Expected to be <hier>."}
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- # Save current instance; Restore later
|
|
|
|
- set oldCurInst [current_bd_instance .]
|
|
|
|
-
|
|
|
|
- # Set parent object as current
|
|
|
|
- current_bd_instance $parentObj
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- # Create interface ports
|
|
|
|
-
|
|
|
|
- # Create ports
|
|
|
|
-
|
|
|
|
- # Create port connections
|
|
|
|
-
|
|
|
|
- # Create address segments
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- # Restore current instance
|
|
|
|
- current_bd_instance $oldCurInst
|
|
|
|
-
|
|
|
|
- validate_bd_design
|
|
|
|
- save_bd_design
|
|
|
|
- close_bd_design $design_name
|
|
|
|
-}
|
|
|
|
-# End of cr_bd_design_1()
|
|
|
|
-cr_bd_design_1 ""
|
|
|
|
-set_property REGISTERED_WITH_MANAGER "1" [get_files design_1.bd ]
|
|
|
|
-set_property SYNTH_CHECKPOINT_MODE "Hierarchical" [get_files design_1.bd ]
|
|
|
|
-
|
|
|
|
-# Create 'synth_1' run (if not found)
|
|
|
|
-if {[string equal [get_runs -quiet synth_1] ""]} {
|
|
|
|
- create_run -name synth_1 -part xc7a100tcsg324-1 -flow {Vivado Synthesis 2018} -strategy "Vivado Synthesis Defaults" -report_strategy {No Reports} -constrset constrs_1
|
|
|
|
-} else {
|
|
|
|
- set_property strategy "Vivado Synthesis Defaults" [get_runs synth_1]
|
|
|
|
- set_property flow "Vivado Synthesis 2018" [get_runs synth_1]
|
|
|
|
-}
|
|
|
|
-set obj [get_runs synth_1]
|
|
|
|
-set_property set_report_strategy_name 1 $obj
|
|
|
|
-set_property report_strategy {Vivado Synthesis Default Reports} $obj
|
|
|
|
-set_property set_report_strategy_name 0 $obj
|
|
|
|
-# Create 'synth_1_synth_report_utilization_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs synth_1] synth_1_synth_report_utilization_0] "" ] } {
|
|
|
|
- create_report_config -report_name synth_1_synth_report_utilization_0 -report_type report_utilization:1.0 -steps synth_design -runs synth_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs synth_1] synth_1_synth_report_utilization_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "synth_1_synth_report_utilization_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-set obj [get_runs synth_1]
|
|
|
|
-set_property -name "part" -value "xc7a100tcsg324-1" -objects $obj
|
|
|
|
-set_property -name "strategy" -value "Vivado Synthesis Defaults" -objects $obj
|
|
|
|
-
|
|
|
|
-# set the current synth run
|
|
|
|
-current_run -synthesis [get_runs synth_1]
|
|
|
|
-
|
|
|
|
-# Create 'impl_1' run (if not found)
|
|
|
|
-if {[string equal [get_runs -quiet impl_1] ""]} {
|
|
|
|
- create_run -name impl_1 -part xc7a100tcsg324-1 -flow {Vivado Implementation 2018} -strategy "Vivado Implementation Defaults" -report_strategy {No Reports} -constrset constrs_1 -parent_run synth_1
|
|
|
|
-} else {
|
|
|
|
- set_property strategy "Vivado Implementation Defaults" [get_runs impl_1]
|
|
|
|
- set_property flow "Vivado Implementation 2018" [get_runs impl_1]
|
|
|
|
-}
|
|
|
|
-set obj [get_runs impl_1]
|
|
|
|
-set_property set_report_strategy_name 1 $obj
|
|
|
|
-set_property report_strategy {Vivado Implementation Default Reports} $obj
|
|
|
|
-set_property set_report_strategy_name 0 $obj
|
|
|
|
-# Create 'impl_1_init_report_timing_summary_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_init_report_timing_summary_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_init_report_timing_summary_0 -report_type report_timing_summary:1.0 -steps init_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_init_report_timing_summary_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "is_enabled" -value "0" -objects $obj
|
|
|
|
-set_property -name "display_name" -value "impl_1_init_report_timing_summary_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_opt_report_drc_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_opt_report_drc_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_opt_report_drc_0 -report_type report_drc:1.0 -steps opt_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_opt_report_drc_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_opt_report_drc_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_opt_report_timing_summary_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_opt_report_timing_summary_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_opt_report_timing_summary_0 -report_type report_timing_summary:1.0 -steps opt_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_opt_report_timing_summary_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "is_enabled" -value "0" -objects $obj
|
|
|
|
-set_property -name "display_name" -value "impl_1_opt_report_timing_summary_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_power_opt_report_timing_summary_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_power_opt_report_timing_summary_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_power_opt_report_timing_summary_0 -report_type report_timing_summary:1.0 -steps power_opt_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_power_opt_report_timing_summary_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "is_enabled" -value "0" -objects $obj
|
|
|
|
-set_property -name "display_name" -value "impl_1_power_opt_report_timing_summary_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_place_report_io_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_io_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_place_report_io_0 -report_type report_io:1.0 -steps place_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_io_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_place_report_io_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_place_report_utilization_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_utilization_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_place_report_utilization_0 -report_type report_utilization:1.0 -steps place_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_utilization_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_place_report_utilization_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_place_report_control_sets_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_control_sets_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_place_report_control_sets_0 -report_type report_control_sets:1.0 -steps place_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_control_sets_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_place_report_control_sets_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_place_report_incremental_reuse_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_incremental_reuse_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_place_report_incremental_reuse_0 -report_type report_incremental_reuse:1.0 -steps place_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_incremental_reuse_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "is_enabled" -value "0" -objects $obj
|
|
|
|
-set_property -name "display_name" -value "impl_1_place_report_incremental_reuse_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_place_report_incremental_reuse_1' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_incremental_reuse_1] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_place_report_incremental_reuse_1 -report_type report_incremental_reuse:1.0 -steps place_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_incremental_reuse_1]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "is_enabled" -value "0" -objects $obj
|
|
|
|
-set_property -name "display_name" -value "impl_1_place_report_incremental_reuse_1" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_place_report_timing_summary_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_timing_summary_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_place_report_timing_summary_0 -report_type report_timing_summary:1.0 -steps place_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_timing_summary_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "is_enabled" -value "0" -objects $obj
|
|
|
|
-set_property -name "display_name" -value "impl_1_place_report_timing_summary_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_post_place_power_opt_report_timing_summary_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_post_place_power_opt_report_timing_summary_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_post_place_power_opt_report_timing_summary_0 -report_type report_timing_summary:1.0 -steps post_place_power_opt_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_post_place_power_opt_report_timing_summary_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "is_enabled" -value "0" -objects $obj
|
|
|
|
-set_property -name "display_name" -value "impl_1_post_place_power_opt_report_timing_summary_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_phys_opt_report_timing_summary_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_phys_opt_report_timing_summary_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_phys_opt_report_timing_summary_0 -report_type report_timing_summary:1.0 -steps phys_opt_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_phys_opt_report_timing_summary_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "is_enabled" -value "0" -objects $obj
|
|
|
|
-set_property -name "display_name" -value "impl_1_phys_opt_report_timing_summary_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_route_report_drc_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_drc_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_route_report_drc_0 -report_type report_drc:1.0 -steps route_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_drc_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_route_report_drc_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_route_report_methodology_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_methodology_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_route_report_methodology_0 -report_type report_methodology:1.0 -steps route_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_methodology_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_route_report_methodology_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_route_report_power_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_power_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_route_report_power_0 -report_type report_power:1.0 -steps route_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_power_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_route_report_power_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_route_report_route_status_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_route_status_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_route_report_route_status_0 -report_type report_route_status:1.0 -steps route_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_route_status_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_route_report_route_status_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_route_report_timing_summary_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_timing_summary_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_route_report_timing_summary_0 -report_type report_timing_summary:1.0 -steps route_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_timing_summary_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_route_report_timing_summary_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_route_report_incremental_reuse_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_incremental_reuse_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_route_report_incremental_reuse_0 -report_type report_incremental_reuse:1.0 -steps route_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_incremental_reuse_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_route_report_incremental_reuse_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_route_report_clock_utilization_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_clock_utilization_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_route_report_clock_utilization_0 -report_type report_clock_utilization:1.0 -steps route_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_clock_utilization_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_route_report_clock_utilization_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_route_report_bus_skew_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_bus_skew_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_route_report_bus_skew_0 -report_type report_bus_skew:1.1 -steps route_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_bus_skew_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_route_report_bus_skew_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_post_route_phys_opt_report_timing_summary_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_post_route_phys_opt_report_timing_summary_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_post_route_phys_opt_report_timing_summary_0 -report_type report_timing_summary:1.0 -steps post_route_phys_opt_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_post_route_phys_opt_report_timing_summary_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_post_route_phys_opt_report_timing_summary_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-# Create 'impl_1_post_route_phys_opt_report_bus_skew_0' report (if not found)
|
|
|
|
-if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_post_route_phys_opt_report_bus_skew_0] "" ] } {
|
|
|
|
- create_report_config -report_name impl_1_post_route_phys_opt_report_bus_skew_0 -report_type report_bus_skew:1.1 -steps post_route_phys_opt_design -runs impl_1
|
|
|
|
-}
|
|
|
|
-set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_post_route_phys_opt_report_bus_skew_0]
|
|
|
|
-if { $obj != "" } {
|
|
|
|
-set_property -name "display_name" -value "impl_1_post_route_phys_opt_report_bus_skew_0" -objects $obj
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-set obj [get_runs impl_1]
|
|
|
|
-set_property -name "part" -value "xc7a100tcsg324-1" -objects $obj
|
|
|
|
-set_property -name "strategy" -value "Vivado Implementation Defaults" -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
|
|
|
|
-
|
|
|
|
-# set the current impl run
|
|
|
|
-current_run -implementation [get_runs impl_1]
|
|
|
|
-
|
|
|
|
-puts "INFO: Project created:${_xil_proj_name_}"
|
|
|
|
-set obj [get_dashboards default_dashboard]
|
|
|
|
-
|
|
|
|
-# Create 'drc_1' gadget (if not found)
|
|
|
|
-if {[string equal [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "drc_1" ] ] ""]} {
|
|
|
|
-create_dashboard_gadget -name {drc_1} -type drc
|
|
|
|
-}
|
|
|
|
-set obj [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "drc_1" ] ]
|
|
|
|
-set_property -name "reports" -value "impl_1#impl_1_route_report_drc_0" -objects $obj
|
|
|
|
-
|
|
|
|
-# Create 'methodology_1' gadget (if not found)
|
|
|
|
-if {[string equal [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "methodology_1" ] ] ""]} {
|
|
|
|
-create_dashboard_gadget -name {methodology_1} -type methodology
|
|
|
|
-}
|
|
|
|
-set obj [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "methodology_1" ] ]
|
|
|
|
-set_property -name "reports" -value "impl_1#impl_1_route_report_methodology_0" -objects $obj
|
|
|
|
-
|
|
|
|
-# Create 'power_1' gadget (if not found)
|
|
|
|
-if {[string equal [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "power_1" ] ] ""]} {
|
|
|
|
-create_dashboard_gadget -name {power_1} -type power
|
|
|
|
-}
|
|
|
|
-set obj [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "power_1" ] ]
|
|
|
|
-set_property -name "reports" -value "impl_1#impl_1_route_report_power_0" -objects $obj
|
|
|
|
-
|
|
|
|
-# Create 'timing_1' gadget (if not found)
|
|
|
|
-if {[string equal [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "timing_1" ] ] ""]} {
|
|
|
|
-create_dashboard_gadget -name {timing_1} -type timing
|
|
|
|
-}
|
|
|
|
-set obj [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "timing_1" ] ]
|
|
|
|
-set_property -name "reports" -value "impl_1#impl_1_route_report_timing_summary_0" -objects $obj
|
|
|
|
-
|
|
|
|
-# Create 'utilization_1' gadget (if not found)
|
|
|
|
-if {[string equal [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "utilization_1" ] ] ""]} {
|
|
|
|
-create_dashboard_gadget -name {utilization_1} -type utilization
|
|
|
|
-}
|
|
|
|
-set obj [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "utilization_1" ] ]
|
|
|
|
-set_property -name "reports" -value "synth_1#synth_1_synth_report_utilization_0" -objects $obj
|
|
|
|
-set_property -name "run.step" -value "synth_design" -objects $obj
|
|
|
|
-set_property -name "run.type" -value "synthesis" -objects $obj
|
|
|
|
-
|
|
|
|
-# Create 'utilization_2' gadget (if not found)
|
|
|
|
-if {[string equal [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "utilization_2" ] ] ""]} {
|
|
|
|
-create_dashboard_gadget -name {utilization_2} -type utilization
|
|
|
|
-}
|
|
|
|
-set obj [get_dashboard_gadgets -of_objects [get_dashboards default_dashboard] [ list "utilization_2" ] ]
|
|
|
|
-set_property -name "reports" -value "impl_1#impl_1_place_report_utilization_0" -objects $obj
|
|
|
|
-
|
|
|
|
-move_dashboard_gadget -name {utilization_1} -row 0 -col 0
|
|
|
|
-move_dashboard_gadget -name {power_1} -row 1 -col 0
|
|
|
|
-move_dashboard_gadget -name {drc_1} -row 2 -col 0
|
|
|
|
-move_dashboard_gadget -name {timing_1} -row 0 -col 1
|
|
|
|
-move_dashboard_gadget -name {utilization_2} -row 1 -col 1
|
|
|
|
-move_dashboard_gadget -name {methodology_1} -row 2 -col 1
|
|
|
|
-# Set current dashboard to 'default_dashboard'
|
|
|
|
-current_dashboard default_dashboard
|
|
|