write_io_banks.tcl: use a reliable way to distinguish high performance banks

Signed-off-by: Hans Baier <hansfbaier@gmail.com>
This commit is contained in:
Hans Baier 2022-12-16 17:00:59 +07:00
parent 8ce3922f8d
commit 9512609ff6
1 changed files with 1 additions and 2 deletions

View File

@ -12,8 +12,7 @@ set fp [open "iobanks.txt" "w"]
foreach iobank [get_iobanks] {
foreach site [get_sites -of $iobank] {
# we only care about the high performance banks here
# and those are numbered 32, 33, 34...
if {[string match "3*" $iobank]} {
if {[string match "BT_HIGH_PERFORMANCE" [get_property BANK_TYPE $iobank]]} {
puts $fp "$site,$iobank"
}
}