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. Original-commit: feabc14cb5d5d26987d72b1a51638a83f8f39131
This commit is contained in:
committed by
Wade Fife
parent
72f619c429
commit
5367ec6006
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user