rename cell to "real_pll" to avoid conflict with cell also named "pll"
[soclayout.git] / experiments9 / coriolis2 / settings.py
index 6d111f08eb33896ddfdbd6e59010f2db84ae0f62..2dc3588b45227d8a88ebacadbc444dfe29eb7360 100644 (file)
@@ -29,15 +29,15 @@ def createPLLBlackbox ():
     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 )