Skip to content

Commit 657bde0

Browse files
louiicmynguyenXS
andcommitted
Modify - add variable to control port buffering
Signed-off-by: louiic <[email protected]> Co-authored-by: My Nguyen <[email protected]>
1 parent dce76f5 commit 657bde0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

flow/scripts/resize.tcl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ puts ""
2727
set_dont_use $::env(DONT_USE_CELLS)
2828

2929
# Do not buffer chip-level designs
30-
if {![info exists ::env(FOOTPRINT)]} {
31-
puts "Perform port buffering..."
32-
buffer_ports
30+
if {![info exists ::env(FOOTPRINT)] } {
31+
if { ![info exists ::env(PORTS_BUFFER)] || $::env(PORTS_BUFFER) == 1 } {
32+
puts "Perform port buffering..."
33+
buffer_ports
34+
}
3335
}
3436

3537
puts "Perform buffer insertion..."

0 commit comments

Comments
 (0)