VICON: Sistema de Visión configurable V1.0
Trabajo Fin de Master Carlos Manuel Gomez Jimenez
Loading...
Searching...
No Matches
create_project.tcl
Go to the documentation of this file.
1#*****************************************************************************************
2# Vivado (TM) v2019.1 (64-bit)
3#
4# create_project.tcl: Tcl script for re-creating project 'sandbox'
5#
6# Generated by Vivado on Thu Feb 12 23:02:46 +0100 2026
7# IP Build 2548770 on Fri May 24 18:01:18 MDT 2019
8#
9# This file contains the Vivado Tcl commands for re-creating the project to the state*
10# when this script was generated. In order to re-create the project, please source this
11# file in the Vivado Tcl Shell.
12#
13# * Note that the runs in the created project will be configured the same way as the
14# original project, however they will not be launched automatically. To regenerate the
15# run results please launch the synthesis/implementation runs as needed.
16#
17#*****************************************************************************************
18# NOTE: In order to use this script for source control purposes, please make sure that the
19# following files are added to the source control system:-
20#
21# 1. This project restoration tcl script (create_project.tcl) that was generated.
22#
23# 2. The following source(s) files that were local or imported into the original project.
24# (Please see the '$orig_proj_dir' and '$origin_dir' variable setting below at the start of the script)
25#
26# <none>
27#
28# 3. The following remote source files that were added to the original project:-
29#
30# "C:/Users/cgomezji/TFM/projects/sandbox/src/rtl/TOP.vhd"
31# "C:/Users/cgomezji/TFM/projects/sandbox/constraints/Basys3_GPIO.xdc"
32#
33#*****************************************************************************************
34
35# Set the reference directory for source file relative paths (by default the value is script directory path)
36set origin_dir "."
37
38# Use origin directory path location variable, if specified in the tcl shell
39if { [info exists ::origin_dir_loc] } {
40 set origin_dir $::origin_dir_loc
41}
42
43# Set the project name
44set _xil_proj_name_ "sandbox"
45
46# Use project name variable, if specified in the tcl shell
47if { [info exists ::user_project_name] } {
48 set _xil_proj_name_ $::user_project_name
49}
50
51variable script_file
52set script_file "create_project.tcl"
53
54# Help information for this script
55proc print_help {} {
56 variable script_file
57 puts "\nDescription:"
58 puts "Recreate a Vivado project from this script. The created project will be"
59 puts "functionally equivalent to the original project for which this script was"
60 puts "generated. The script contains commands for creating a project, filesets,"
61 puts "runs, adding/importing sources and setting properties on various objects.\n"
62 puts "Syntax:"
63 puts "$script_file"
64 puts "$script_file -tclargs \[--origin_dir <path>\]"
65 puts "$script_file -tclargs \[--project_name <name>\]"
66 puts "$script_file -tclargs \[--help\]\n"
67 puts "Usage:"
68 puts "Name Description"
69 puts "-------------------------------------------------------------------------"
70 puts "\[--origin_dir <path>\] Determine source file paths wrt this path. Default"
71 puts " origin_dir path value is \".\", otherwise, the value"
72 puts " that was set with the \"-paths_relative_to\" switch"
73 puts " when this script was generated.\n"
74 puts "\[--project_name <name>\] Create project with the specified name. Default"
75 puts " name is the name of the project from where this"
76 puts " script was generated.\n"
77 puts "\[--help\] Print help information for this script"
78 puts "-------------------------------------------------------------------------\n"
79 exit 0
80}
81
82if { $::argc > 0 } {
83 for {set i 0} {$i < $::argc} {incr i} {
84 set option [string trim [lindex $::argv $i]]
85 switch -regexp -- $option {
86 "--origin_dir" { incr i; set origin_dir [lindex $::argv $i] }
87 "--project_name" { incr i; set _xil_proj_name_ [lindex $::argv $i] }
88 "--help" { print_help }
89 default {
90 if { [regexp {^-} $option] } {
91 puts "ERROR: Unknown option '$option' specified, please type '$script_file -tclargs --help' for usage info.\n"
92 return 1
93 }
94 }
95 }
96 }
97}
98
99# Set the directory path for the original project from where this script was exported
100set orig_proj_dir "[file normalize "$origin_dir/../project/sandbox"]"
101
102# Create project
103create_project ${_xil_proj_name_} ./${_xil_proj_name_} -part xc7a35tcpg236-1
104
105# Set the directory path for the new project
106set proj_dir [get_property directory [current_project]]
107
108# Set project properties
109set obj [current_project]
110set_property -name "default_lib" -value "xil_defaultlib" -objects $obj
111set_property -name "dsa.accelerator_binary_content" -value "bitstream" -objects $obj
112set_property -name "dsa.accelerator_binary_format" -value "xclbin2" -objects $obj
113set_property -name "dsa.description" -value "Vivado generated DSA" -objects $obj
114set_property -name "dsa.dr_bd_base_address" -value "0" -objects $obj
115set_property -name "dsa.emu_dir" -value "emu" -objects $obj
116set_property -name "dsa.flash_interface_type" -value "bpix16" -objects $obj
117set_property -name "dsa.flash_offset_address" -value "0" -objects $obj
118set_property -name "dsa.flash_size" -value "1024" -objects $obj
119set_property -name "dsa.host_architecture" -value "x86_64" -objects $obj
120set_property -name "dsa.host_interface" -value "pcie" -objects $obj
121set_property -name "dsa.num_compute_units" -value "60" -objects $obj
122set_property -name "dsa.platform_state" -value "pre_synth" -objects $obj
123set_property -name "dsa.vendor" -value "xilinx" -objects $obj
124set_property -name "dsa.version" -value "0.0" -objects $obj
125set_property -name "enable_vhdl_2008" -value "1" -objects $obj
126set_property -name "ip_cache_permissions" -value "read write" -objects $obj
127set_property -name "ip_output_repo" -value "$proj_dir/${_xil_proj_name_}.cache/ip" -objects $obj
128set_property -name "mem.enable_memory_map_generation" -value "1" -objects $obj
129set_property -name "part" -value "xc7a35tcpg236-1" -objects $obj
130set_property -name "sim.central_dir" -value "$proj_dir/${_xil_proj_name_}.ip_user_files" -objects $obj
131set_property -name "sim.ip.auto_export_scripts" -value "1" -objects $obj
132set_property -name "simulator_language" -value "Mixed" -objects $obj
133set_property -name "target_language" -value "VHDL" -objects $obj
134
135# Create 'sources_1' fileset (if not found)
136if {[string equal [get_filesets -quiet sources_1] ""]} {
137 create_fileset -srcset sources_1
138}
139
140# Set 'sources_1' fileset object
141set obj [get_filesets sources_1]
142set files [list \
143 [file normalize "${origin_dir}/../src/rtl/TOP.vhd"] \
144]
145add_files -norecurse -fileset $obj $files
146
147# Set 'sources_1' fileset file properties for remote files
148set file "$origin_dir/../src/rtl/TOP.vhd"
149set file [file normalize $file]
150set file_obj [get_files -of_objects [get_filesets sources_1] [list "*$file"]]
151set_property -name "file_type" -value "VHDL" -objects $file_obj
152
153
154# Set 'sources_1' fileset file properties for local files
155# None
156
157# Set 'sources_1' fileset properties
158set obj [get_filesets sources_1]
159set_property -name "top" -value "TOP" -objects $obj
160set_property -name "top_auto_set" -value "0" -objects $obj
161
162# Create 'constrs_1' fileset (if not found)
163if {[string equal [get_filesets -quiet constrs_1] ""]} {
164 create_fileset -constrset constrs_1
165}
166
167# Set 'constrs_1' fileset object
168set obj [get_filesets constrs_1]
169
170# Add/Import constrs file and set constrs file properties
171set file "[file normalize "$origin_dir/../constraints/Basys3_GPIO.xdc"]"
172set file_added [add_files -norecurse -fileset $obj [list $file]]
173set file "$origin_dir/../constraints/Basys3_GPIO.xdc"
174set file [file normalize $file]
175set file_obj [get_files -of_objects [get_filesets constrs_1] [list "*$file"]]
176set_property -name "file_type" -value "XDC" -objects $file_obj
177
178# Set 'constrs_1' fileset properties
179set obj [get_filesets constrs_1]
180set_property -name "target_part" -value "xc7a35tcpg236-1" -objects $obj
181
182# Create 'sim_1' fileset (if not found)
183if {[string equal [get_filesets -quiet sim_1] ""]} {
184 create_fileset -simset sim_1
185}
186
187# Set 'sim_1' fileset object
188set obj [get_filesets sim_1]
189# Empty (no sources present)
190
191# Set 'sim_1' fileset properties
192set obj [get_filesets sim_1]
193set_property -name "top" -value "TOP" -objects $obj
194set_property -name "top_auto_set" -value "0" -objects $obj
195set_property -name "top_lib" -value "xil_defaultlib" -objects $obj
196
197# Set 'utils_1' fileset object
198set obj [get_filesets utils_1]
199# Empty (no sources present)
200
201# Set 'utils_1' fileset properties
202set obj [get_filesets utils_1]
203
204# Create 'synth_1' run (if not found)
205if {[string equal [get_runs -quiet synth_1] ""]} {
206 create_run -name synth_1 -part xc7a35tcpg236-1 -flow {Vivado Synthesis 2019} -strategy "Vivado Synthesis Defaults" -report_strategy {No Reports} -constrset constrs_1
207} else {
208 set_property strategy "Vivado Synthesis Defaults" [get_runs synth_1]
209 set_property flow "Vivado Synthesis 2019" [get_runs synth_1]
210}
211set obj [get_runs synth_1]
212set_property set_report_strategy_name 1 $obj
213set_property report_strategy {Vivado Synthesis Default Reports} $obj
214set_property set_report_strategy_name 0 $obj
215# Create 'synth_1_synth_report_utilization_0' report (if not found)
216if { [ string equal [get_report_configs -of_objects [get_runs synth_1] synth_1_synth_report_utilization_0] "" ] } {
217 create_report_config -report_name synth_1_synth_report_utilization_0 -report_type report_utilization:1.0 -steps synth_design -runs synth_1
218}
219set obj [get_report_configs -of_objects [get_runs synth_1] synth_1_synth_report_utilization_0]
220if { $obj != "" } {
221
222}
223set obj [get_runs synth_1]
224set_property -name "part" -value "xc7a35tcpg236-1" -objects $obj
225set_property -name "strategy" -value "Vivado Synthesis Defaults" -objects $obj
226
227# set the current synth run
228current_run -synthesis [get_runs synth_1]
229
230# Create 'impl_1' run (if not found)
231if {[string equal [get_runs -quiet impl_1] ""]} {
232 create_run -name impl_1 -part xc7a35tcpg236-1 -flow {Vivado Implementation 2019} -strategy "Vivado Implementation Defaults" -report_strategy {No Reports} -constrset constrs_1 -parent_run synth_1
233} else {
234 set_property strategy "Vivado Implementation Defaults" [get_runs impl_1]
235 set_property flow "Vivado Implementation 2019" [get_runs impl_1]
236}
237set obj [get_runs impl_1]
238set_property set_report_strategy_name 1 $obj
239set_property report_strategy {Vivado Implementation Default Reports} $obj
240set_property set_report_strategy_name 0 $obj
241# Create 'impl_1_init_report_timing_summary_0' report (if not found)
242if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_init_report_timing_summary_0] "" ] } {
243 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
244}
245set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_init_report_timing_summary_0]
246if { $obj != "" } {
247set_property -name "is_enabled" -value "0" -objects $obj
248set_property -name "options.max_paths" -value "10" -objects $obj
249
250}
251# Create 'impl_1_opt_report_drc_0' report (if not found)
252if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_opt_report_drc_0] "" ] } {
253 create_report_config -report_name impl_1_opt_report_drc_0 -report_type report_drc:1.0 -steps opt_design -runs impl_1
254}
255set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_opt_report_drc_0]
256if { $obj != "" } {
257
258}
259# Create 'impl_1_opt_report_timing_summary_0' report (if not found)
260if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_opt_report_timing_summary_0] "" ] } {
261 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
262}
263set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_opt_report_timing_summary_0]
264if { $obj != "" } {
265set_property -name "is_enabled" -value "0" -objects $obj
266set_property -name "options.max_paths" -value "10" -objects $obj
267
268}
269# Create 'impl_1_power_opt_report_timing_summary_0' report (if not found)
270if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_power_opt_report_timing_summary_0] "" ] } {
271 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
272}
273set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_power_opt_report_timing_summary_0]
274if { $obj != "" } {
275set_property -name "is_enabled" -value "0" -objects $obj
276set_property -name "options.max_paths" -value "10" -objects $obj
277
278}
279# Create 'impl_1_place_report_io_0' report (if not found)
280if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_io_0] "" ] } {
281 create_report_config -report_name impl_1_place_report_io_0 -report_type report_io:1.0 -steps place_design -runs impl_1
282}
283set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_io_0]
284if { $obj != "" } {
285
286}
287# Create 'impl_1_place_report_utilization_0' report (if not found)
288if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_utilization_0] "" ] } {
289 create_report_config -report_name impl_1_place_report_utilization_0 -report_type report_utilization:1.0 -steps place_design -runs impl_1
290}
291set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_utilization_0]
292if { $obj != "" } {
293
294}
295# Create 'impl_1_place_report_control_sets_0' report (if not found)
296if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_control_sets_0] "" ] } {
297 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
298}
299set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_control_sets_0]
300if { $obj != "" } {
301set_property -name "options.verbose" -value "1" -objects $obj
302
303}
304# Create 'impl_1_place_report_incremental_reuse_0' report (if not found)
305if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_incremental_reuse_0] "" ] } {
306 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
307}
308set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_incremental_reuse_0]
309if { $obj != "" } {
310set_property -name "is_enabled" -value "0" -objects $obj
311
312}
313# Create 'impl_1_place_report_incremental_reuse_1' report (if not found)
314if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_incremental_reuse_1] "" ] } {
315 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
316}
317set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_incremental_reuse_1]
318if { $obj != "" } {
319set_property -name "is_enabled" -value "0" -objects $obj
320
321}
322# Create 'impl_1_place_report_timing_summary_0' report (if not found)
323if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_timing_summary_0] "" ] } {
324 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
325}
326set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_place_report_timing_summary_0]
327if { $obj != "" } {
328set_property -name "is_enabled" -value "0" -objects $obj
329set_property -name "options.max_paths" -value "10" -objects $obj
330
331}
332# Create 'impl_1_post_place_power_opt_report_timing_summary_0' report (if not found)
333if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_post_place_power_opt_report_timing_summary_0] "" ] } {
334 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
335}
336set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_post_place_power_opt_report_timing_summary_0]
337if { $obj != "" } {
338set_property -name "is_enabled" -value "0" -objects $obj
339set_property -name "options.max_paths" -value "10" -objects $obj
340
341}
342# Create 'impl_1_phys_opt_report_timing_summary_0' report (if not found)
343if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_phys_opt_report_timing_summary_0] "" ] } {
344 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
345}
346set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_phys_opt_report_timing_summary_0]
347if { $obj != "" } {
348set_property -name "is_enabled" -value "0" -objects $obj
349set_property -name "options.max_paths" -value "10" -objects $obj
350
351}
352# Create 'impl_1_route_report_drc_0' report (if not found)
353if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_drc_0] "" ] } {
354 create_report_config -report_name impl_1_route_report_drc_0 -report_type report_drc:1.0 -steps route_design -runs impl_1
355}
356set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_drc_0]
357if { $obj != "" } {
358
359}
360# Create 'impl_1_route_report_methodology_0' report (if not found)
361if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_methodology_0] "" ] } {
362 create_report_config -report_name impl_1_route_report_methodology_0 -report_type report_methodology:1.0 -steps route_design -runs impl_1
363}
364set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_methodology_0]
365if { $obj != "" } {
366
367}
368# Create 'impl_1_route_report_power_0' report (if not found)
369if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_power_0] "" ] } {
370 create_report_config -report_name impl_1_route_report_power_0 -report_type report_power:1.0 -steps route_design -runs impl_1
371}
372set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_power_0]
373if { $obj != "" } {
374
375}
376# Create 'impl_1_route_report_route_status_0' report (if not found)
377if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_route_status_0] "" ] } {
378 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
379}
380set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_route_status_0]
381if { $obj != "" } {
382
383}
384# Create 'impl_1_route_report_timing_summary_0' report (if not found)
385if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_timing_summary_0] "" ] } {
386 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
387}
388set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_timing_summary_0]
389if { $obj != "" } {
390set_property -name "options.max_paths" -value "10" -objects $obj
391
392}
393# Create 'impl_1_route_report_incremental_reuse_0' report (if not found)
394if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_incremental_reuse_0] "" ] } {
395 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
396}
397set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_incremental_reuse_0]
398if { $obj != "" } {
399
400}
401# Create 'impl_1_route_report_clock_utilization_0' report (if not found)
402if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_clock_utilization_0] "" ] } {
403 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
404}
405set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_clock_utilization_0]
406if { $obj != "" } {
407
408}
409# Create 'impl_1_route_report_bus_skew_0' report (if not found)
410if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_bus_skew_0] "" ] } {
411 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
412}
413set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_route_report_bus_skew_0]
414if { $obj != "" } {
415set_property -name "options.warn_on_violation" -value "1" -objects $obj
416
417}
418# Create 'impl_1_post_route_phys_opt_report_timing_summary_0' report (if not found)
419if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_post_route_phys_opt_report_timing_summary_0] "" ] } {
420 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
421}
422set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_post_route_phys_opt_report_timing_summary_0]
423if { $obj != "" } {
424set_property -name "options.max_paths" -value "10" -objects $obj
425set_property -name "options.warn_on_violation" -value "1" -objects $obj
426
427}
428# Create 'impl_1_post_route_phys_opt_report_bus_skew_0' report (if not found)
429if { [ string equal [get_report_configs -of_objects [get_runs impl_1] impl_1_post_route_phys_opt_report_bus_skew_0] "" ] } {
430 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
431}
432set obj [get_report_configs -of_objects [get_runs impl_1] impl_1_post_route_phys_opt_report_bus_skew_0]
433if { $obj != "" } {
434set_property -name "options.warn_on_violation" -value "1" -objects $obj
435
436}
437set obj [get_runs impl_1]
438set_property -name "part" -value "xc7a35tcpg236-1" -objects $obj
439set_property -name "strategy" -value "Vivado Implementation Defaults" -objects $obj
440set_property -name "steps.write_bitstream.args.readback_file" -value "0" -objects $obj
441set_property -name "steps.write_bitstream.args.verbose" -value "0" -objects $obj
442
443# set the current impl run
444current_run -implementation [get_runs impl_1]
445
446puts "INFO: Project created:${_xil_proj_name_}"
447# Create 'drc_1' gadget (if not found)
448if {[string equal [get_dashboard_gadgets [ list "drc_1" ] ] ""]} {
449create_dashboard_gadget -name {drc_1} -type drc
450}
451set obj [get_dashboard_gadgets [ list "drc_1" ] ]
452set_property -name "reports" -value "impl_1#impl_1_route_report_drc_0" -objects $obj
453
454# Create 'methodology_1' gadget (if not found)
455if {[string equal [get_dashboard_gadgets [ list "methodology_1" ] ] ""]} {
456create_dashboard_gadget -name {methodology_1} -type methodology
457}
458set obj [get_dashboard_gadgets [ list "methodology_1" ] ]
459set_property -name "reports" -value "impl_1#impl_1_route_report_methodology_0" -objects $obj
460
461# Create 'power_1' gadget (if not found)
462if {[string equal [get_dashboard_gadgets [ list "power_1" ] ] ""]} {
463create_dashboard_gadget -name {power_1} -type power
464}
465set obj [get_dashboard_gadgets [ list "power_1" ] ]
466set_property -name "reports" -value "impl_1#impl_1_route_report_power_0" -objects $obj
467
468# Create 'timing_1' gadget (if not found)
469if {[string equal [get_dashboard_gadgets [ list "timing_1" ] ] ""]} {
470create_dashboard_gadget -name {timing_1} -type timing
471}
472set obj [get_dashboard_gadgets [ list "timing_1" ] ]
473set_property -name "reports" -value "impl_1#impl_1_route_report_timing_summary_0" -objects $obj
474
475# Create 'utilization_1' gadget (if not found)
476if {[string equal [get_dashboard_gadgets [ list "utilization_1" ] ] ""]} {
477create_dashboard_gadget -name {utilization_1} -type utilization
478}
479set obj [get_dashboard_gadgets [ list "utilization_1" ] ]
480set_property -name "reports" -value "synth_1#synth_1_synth_report_utilization_0" -objects $obj
481set_property -name "run.step" -value "synth_design" -objects $obj
482set_property -name "run.type" -value "synthesis" -objects $obj
483
484# Create 'utilization_2' gadget (if not found)
485if {[string equal [get_dashboard_gadgets [ list "utilization_2" ] ] ""]} {
486create_dashboard_gadget -name {utilization_2} -type utilization
487}
488set obj [get_dashboard_gadgets [ list "utilization_2" ] ]
489set_property -name "reports" -value "impl_1#impl_1_place_report_utilization_0" -objects $obj
490
491move_dashboard_gadget -name {utilization_1} -row 0 -col 0
492move_dashboard_gadget -name {power_1} -row 1 -col 0
493move_dashboard_gadget -name {drc_1} -row 2 -col 0
494move_dashboard_gadget -name {timing_1} -row 0 -col 1
495move_dashboard_gadget -name {utilization_2} -row 1 -col 1
496move_dashboard_gadget -name {methodology_1} -row 2 -col 1