name = None
elif name == 'sys_pllclk':
name = None # ignore
- elif name == 'sys_pllock':
- name = 'sys_pll_lck_o'
+ elif name == 'sys_pllvcout':
+ name = 'sys_pll_vco_o'
pad = ['p_' + name, name, name]
- elif name == 'sys_pllout':
- name = 'sys_pll_18_o'
+ elif name == 'sys_plltestout':
+ name = 'sys_pll_testout_o'
pad = ['p_' + name, name, name]
- elif name.startswith('sys_csel'):
+ elif name.startswith('sys_pllsel'):
i = name[-1]
name2 = 'sys_clksel_i(%s)' % i
name = 'p_sys_clksel_' + i
return (RangePin("-"), [], None)
def sys(suffix, bank):
- return (['CLK-', 'RST-', 'PLLCLK-', 'PLLOUT+',
- 'CSEL0-', 'CSEL1-', 'PLLOCK+'], [], 'CLK')
+ return (['CLK-', 'RST-',
+ 'PLLCLK-', # PLL ref clock input
+ 'PLLSELA0-', 'PLLSELA1-', # PLL divider-selector
+ 'PLLTESTOUT+', # divided-output (for testing)
+ 'PLLVCOUT+', # PLL VCO analog out (for testing)
+ ], [], 'CLK')
# list functions by name here