Skip to content

Commit 5300e22

Browse files
committed
Update zynq bd tcl's to Vivado 2019.1
set run_remote_bd_flow=0 so that hardcoded paths are not used Signed-off-by: Michael Brown <producer@holotronic.dk>
1 parent de3f2f2 commit 5300e22

File tree

4 files changed

+2349
-630
lines changed

4 files changed

+2349
-630
lines changed

HW/VivadoProjects/avnet/ultra96/scripts/soc_system.tcl

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,12 @@ if { [string first $scripts_vivado_version $current_vivado_version] == -1 } {
3434
# START
3535
################################################################
3636

37-
# To test this script, run the following commands from Vivado Tcl console:
38-
# source soc_system_script.tcl
39-
40-
# If there is no project opened, this script will create a
41-
# project, but make sure you do not have an existing project
42-
# <./myproj/project_1.xpr> in the current working folder.
43-
44-
set list_projs [get_projects -quiet]
45-
if { $list_projs eq "" } {
46-
create_project project_1 myproj -part xczu3eg-sbva484-1-e
47-
set_property BOARD_PART em.avnet.com:ultra96v1:part0:1.2 [current_project]
37+
# CHECKING IF PROJECT EXISTS
38+
if { [get_projects -quiet] eq "" } {
39+
puts "ERROR: Please open or create a project!"
40+
return 1
4841
}
4942

50-
5143
# CHANGE DESIGN NAME HERE
5244
variable design_name
5345
set design_name soc_system
@@ -89,7 +81,7 @@ if { ${design_name} eq "" } {
8981
set errMsg "Design <$design_name> already exists in your project, please set the variable <design_name> to another value."
9082
set nRet 1
9183
} elseif { [get_files -quiet ${design_name}.bd] ne "" } {
92-
# USE CASES:
84+
# USE CASES:
9385
# 6) Current opened design, has components, but diff names, design_name exists in project.
9486
# 7) No opened design, design_name exists in project.
9587

@@ -123,7 +115,7 @@ set bCheckIPsPassed 1
123115
##################################################################
124116
set bCheckIPs 1
125117
if { $bCheckIPs == 1 } {
126-
set list_check_ips "\
118+
set list_check_ips "\
127119
machinekit.io:user:HostMot2_ip_wrap:1.0\
128120
xilinx.com:ip:clk_wiz:6.0\
129121
machinekit.io:user:hm2_axilite_int:1.0\

0 commit comments

Comments
 (0)