aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3
diff options
context:
space:
mode:
authorHumberto Jimenez <humberto.jimenez@ni.com>2020-03-11 12:21:21 -0500
committerWade Fife <wade.fife@ettus.com>2020-03-12 10:33:24 -0500
commitfeabc14cb5d5d26987d72b1a51638a83f8f39131 (patch)
tree59217ab1bb69f16ed5ce37501e61f4f848430b01 /fpga/usrp3
parent32c0b067e81ce8b8423ca517a85b5d44012853e9 (diff)
downloaduhd-feabc14cb5d5d26987d72b1a51638a83f8f39131.tar.gz
uhd-feabc14cb5d5d26987d72b1a51638a83f8f39131.tar.bz2
uhd-feabc14cb5d5d26987d72b1a51638a83f8f39131.zip
fpga: tools: Ignore BD layout info for TCL-based BD
When using viv_modify_tcl_bd, two Vivado instances are open: 1. GUI-mode Vivado that opens a TCL-based BD for the user to edit. 2. Batch-mode Vivado that saves changes from (1) and rewrites the TCL source file. During (2), the previous tool implementation was saving layout information in the TCL source file. This layout info gets outdated when the BD is reopened, because (1) regenerates the layout to provide a clean BD diagram in the Vivado GUI. Furthermore, each time the BD is open, the layout information will vary due to Vivado's window size, thus creating untracked changes in the source TCL file. This commit removes the command option that requests Vivado to save layout information.
Diffstat (limited to 'fpga/usrp3')
-rw-r--r--fpga/usrp3/tools/scripts/viv_ip_utils.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga/usrp3/tools/scripts/viv_ip_utils.tcl b/fpga/usrp3/tools/scripts/viv_ip_utils.tcl
index ba0e87899..11a49edcf 100644
--- a/fpga/usrp3/tools/scripts/viv_ip_utils.tcl
+++ b/fpga/usrp3/tools/scripts/viv_ip_utils.tcl
@@ -121,7 +121,7 @@ if { [string compare $cmd "create"] == 0 } {
open_project "$tmp_bddir/tmp_bd.xpr"
open_bd_design [get_files "$src_rootname.bd"]
# Rewrite TCL BD file
- write_bd_tcl -make_local -include_layout -force "$src_dir/$src_rootname.tcl"
+ write_bd_tcl -make_local -force "$src_dir/$src_rootname.tcl"
puts "INFO: BD TCL source updated: $src_dir/$src_rootname.tcl"
# Close and delete tmp_bd project, not needed anymore.
close_project