padbank[banknum] = name
print "sys_rst add", bank, banknum, name
name = None
+ elif name == 'sys_pllclk':
+ name = None # ignore
+ elif name == 'sys_pllout':
+ name = 'sys_pll_48_o'
+ iopads.append(['p_' + name, name, name])
+ elif name.startswith('sys_csel'):
+ i = name[-1]
+ name2 = 'sys_clksel_i(%s)' % i
+ name = 'p_sys_clksel_' + i
+ iopads.append([name, name2, name2])
#if name:
# iopads.append([pname, name, name])
+ print "sys pad", name
# SPI Card
elif name.startswith('mspi0') or name.startswith('mspi1'):
suffix = name[6:]
pad = ['p_' + name, name, name2 % 'o', name2 % 'i', name2 % 'oe']
print ("I2C pad", name, pad)
iopads.append(pad)
+ else:
+ iopads.append(['p_' + name, name, name])
# EINT
elif name.startswith('eint'):
i = name[-1]