030-iob18: fix Vref conflict warnigns by assigning the correct Vref

Signed-off-by: Hans Baier <[email protected]>
This commit is contained in:
Hans Baier
2024-01-08 14:00:21 +07:00
parent ec284dfb8f
commit a517cfdda7
2 changed files with 15 additions and 8 deletions
+10 -7
View File
@@ -65,6 +65,15 @@ def run():
"SSTL12": DIFF_SSTL12,
}
vref_map = {
"SSTL12": .600,
"SSTL135": .675,
"SSTL15": .75,
"DIFF_SSTL12": .600,
"DIFF_SSTL135": .675,
"DIFF_SSTL15": .75,
}
only_diff_map = {
"LVDS": ["LVDS"],
}
@@ -99,13 +108,7 @@ def run():
for iobank in iobanks:
iostandard = random.choice(iostandards)
if iostandard in SSTL:
params['INTERNAL_VREF'][iobank] = random.choice(
(
.600,
.675,
.75,
.90,
))
params['INTERNAL_VREF'][iobank] = vref_map[iostandard]
iostandard_map[iobank] = iostandard
+5 -1
View File
@@ -11,7 +11,11 @@ open_io_design -name io_1
set fp [open "iobanks.txt" "w"]
foreach iobank [get_iobanks] {
foreach site [get_sites -of $iobank] {
puts $fp "$site,$iobank"
# we only care about the high performance banks here
# and those are numbered 32, 33, 34...
if {[string match "3*" $iobank]} {
puts $fp "$site,$iobank"
}
}
}
close $fp