rootlib = db.getRootLibrary()
lib = rootlib.getLibrary( 'pll' )
pllName = 'pll'
- pll = lib.getCell( sramName )
+ pll = lib.getCell( pllName )
if not pll:
raise ErrorMessage( 1, 'settings.createPLLBlackBox(): '
'PLL Cell "{}" not found.' \
- .format(sramName) )
- sram.setAbstractedSupply( True )
- blackboxName = 'pll'
+ .format(pllName) )
+ pll.setAbstractedSupply( True )
+ blackboxName = 'real_pll'
cell = Cell.create( lib, blackboxName )
- instance = Instance.create( cell, 'pll', pll )
+ instance = Instance.create( cell, 'real_pll', pll )
state = af.getCatalog().getState( blackboxName, True )
state.setCell( cell )
state.setLogical( True )