From feabc14cb5d5d26987d72b1a51638a83f8f39131 Mon Sep 17 00:00:00 2001 From: Humberto Jimenez Date: Wed, 11 Mar 2020 12:21:21 -0500 Subject: 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. --- fpga/usrp3/tools/scripts/viv_ip_utils.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpga/usrp3/tools/scripts') 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 -- cgit v1.2.3