mirror of https://github.com/openXC7/prjxray.git
030-iob18: fix Vref conflict warnigns by assigning the correct Vref
Signed-off-by: Hans Baier <hansfbaier@gmail.com>
This commit is contained in:
parent
ec284dfb8f
commit
a517cfdda7
|
|
@ -65,6 +65,15 @@ def run():
|
||||||
"SSTL12": DIFF_SSTL12,
|
"SSTL12": DIFF_SSTL12,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vref_map = {
|
||||||
|
"SSTL12": .600,
|
||||||
|
"SSTL135": .675,
|
||||||
|
"SSTL15": .75,
|
||||||
|
"DIFF_SSTL12": .600,
|
||||||
|
"DIFF_SSTL135": .675,
|
||||||
|
"DIFF_SSTL15": .75,
|
||||||
|
}
|
||||||
|
|
||||||
only_diff_map = {
|
only_diff_map = {
|
||||||
"LVDS": ["LVDS"],
|
"LVDS": ["LVDS"],
|
||||||
}
|
}
|
||||||
|
|
@ -99,13 +108,7 @@ def run():
|
||||||
for iobank in iobanks:
|
for iobank in iobanks:
|
||||||
iostandard = random.choice(iostandards)
|
iostandard = random.choice(iostandards)
|
||||||
if iostandard in SSTL:
|
if iostandard in SSTL:
|
||||||
params['INTERNAL_VREF'][iobank] = random.choice(
|
params['INTERNAL_VREF'][iobank] = vref_map[iostandard]
|
||||||
(
|
|
||||||
.600,
|
|
||||||
.675,
|
|
||||||
.75,
|
|
||||||
.90,
|
|
||||||
))
|
|
||||||
|
|
||||||
iostandard_map[iobank] = iostandard
|
iostandard_map[iobank] = iostandard
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,11 @@ open_io_design -name io_1
|
||||||
set fp [open "iobanks.txt" "w"]
|
set fp [open "iobanks.txt" "w"]
|
||||||
foreach iobank [get_iobanks] {
|
foreach iobank [get_iobanks] {
|
||||||
foreach site [get_sites -of $iobank] {
|
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
|
close $fp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue