Commit 9d8f8b1f authored by Peter Jansweijer's avatar Peter Jansweijer

Add possibility to yes/no upgrade ip

parent b7f71b1b
Pipeline #4693 failed with stage
in 2 minutes and 17 seconds
......@@ -7,6 +7,7 @@
# ====================================================
# DESIGN TO BUILD:
# ====================================================
set version ""
set spec7_design spec7_blink
# ====================================================
......@@ -20,5 +21,6 @@ set device xc7z035fbg676-1
set proj_name spec7_blink
set proj_dir work
set script_dir [pwd]/../../../sw/scripts
set upgradeip false
set generics ""
......@@ -66,6 +66,7 @@ if [info exists irig_b_enable] {
set proj_name spec7_wr_ref_top
set proj_dir work
set script_dir [pwd]/../../../sw/scripts
set upgradeip true
set wrpc_cpu_initf [pwd]/../../../sw/precompiled/wrps-sw-v5_spec7/wrc.bram
set wrpc_cpu_elf [pwd]/../../../sw/precompiled/wrps-sw-v5_spec7/wrc.elf
set wrpc_cpu_instpath "wrpc_cpu_memory"
......
......@@ -24,6 +24,7 @@ set device xc7z035fbg676-1
set proj_name spec7_tandem_boot_top
set proj_dir work
set script_dir [pwd]/../../../sw/scripts
set upgradeip true
# update revision except when argument "no_update_revison" is passed (as for example by viv_do_programm.tcl)
if {$argc == 0 || $argv != "no_update_revision"} {
......
......@@ -160,8 +160,9 @@ puts "INFO: Reading Source Files Done!"
# ------------------------------------------------------------------------------
# Before moving on, upgrade IPs in case they are out of date
upgrade_ip [get_ips]
if {$upgradeip} {
upgrade_ip [get_ips]
}
source $script_dir/viv_do_synt.tcl
source $script_dir/viv_do_impl.tcl
if {$use_bmm} {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment