mirror of https://github.com/openXC7/prjxray.git
Modified 030 to emit tags for SSTL15
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
This commit is contained in:
parent
e2e1d9fc8e
commit
82e9a75dc3
|
|
@ -26,7 +26,7 @@ def drives_for_iostandard(iostandard):
|
|||
drives = [4, 8, 12, 16, 24]
|
||||
elif iostandard == 'LVCMOS12':
|
||||
drives = [4, 8, 12]
|
||||
elif iostandard == 'SSTL135':
|
||||
elif iostandard in ['SSTL135', 'SSTL15']:
|
||||
return ['_FIXED']
|
||||
else:
|
||||
drives = [4, 8, 12, 16]
|
||||
|
|
@ -34,8 +34,10 @@ def drives_for_iostandard(iostandard):
|
|||
return drives
|
||||
|
||||
|
||||
STEPDOWN_IOSTANDARDS = ['LVCMOS12', 'LVCMOS15', 'LVCMOS18', 'SSTL135']
|
||||
IBUF_LOW_PWR_SUPPORTED = ['SSTL135']
|
||||
STEPDOWN_IOSTANDARDS = [
|
||||
'LVCMOS12', 'LVCMOS15', 'LVCMOS18', 'SSTL135', 'SSTL15'
|
||||
]
|
||||
IBUF_LOW_PWR_SUPPORTED = ['SSTL135', 'SSTL15']
|
||||
|
||||
|
||||
def main():
|
||||
|
|
@ -185,6 +187,7 @@ def main():
|
|||
drive_opts.add(mk_drive_opt(opt, drive_opt))
|
||||
|
||||
drive_opts.add(mk_drive_opt("SSTL135", None))
|
||||
drive_opts.add(mk_drive_opt("SSTL15", None))
|
||||
|
||||
segmaker.add_site_group_zero(
|
||||
segmk, site, '', drive_opts, mk_drive_opt('LVCMOS25', '12'),
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ def main():
|
|||
iostandard_lines = []
|
||||
with open(args.input_rdb) as f:
|
||||
for l in f:
|
||||
if ('.SSTL135' in l or '.LVCMOS' in l
|
||||
if ('.SSTL' in l or '.LVCMOS' in l
|
||||
or '.LVTTL' in l) and 'IOB_' in l:
|
||||
iostandard_lines.append(l)
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -56,10 +56,12 @@ def run():
|
|||
'LVCMOS33',
|
||||
'LVTTL',
|
||||
'SSTL135',
|
||||
'SSTL15',
|
||||
]
|
||||
|
||||
diff_map = {
|
||||
"SSTL135": ["DIFF_SSTL135"],
|
||||
"SSTL15": ["DIFF_SSTL15"],
|
||||
}
|
||||
|
||||
IN_TERM_ALLOWED = [
|
||||
|
|
@ -81,7 +83,7 @@ def run():
|
|||
drives = [4, 8, 12, 16, 24]
|
||||
elif iostandard in ['LVCMOS12']:
|
||||
drives = [4, 8, 12]
|
||||
elif iostandard == 'SSTL135':
|
||||
elif iostandard in ['SSTL135', 'SSTL15']:
|
||||
drives = None
|
||||
else:
|
||||
drives = [4, 8, 12, 16]
|
||||
|
|
@ -104,7 +106,7 @@ def run():
|
|||
|
||||
params['iobanks'] = iobanks
|
||||
|
||||
if iostandard in ['SSTL135']:
|
||||
if iostandard in ['SSTL135', 'SSTL15']:
|
||||
for iobank in iobanks:
|
||||
params['INTERNAL_VREF'][iobank] = random.choice(
|
||||
(
|
||||
|
|
|
|||
Loading…
Reference in New Issue