import Etesian
import Katana
import clocktree.ClockTree
+from chip import Configuration
from Hurricane import (
DbU, DataBase, UpdateSession, Box, Transformation, Instance,
Contact, Vertical, Pad, Pin, NetExternalComponents,
db = DataBase.getDB()
print(db, dir(db))
+ METAL2 = DataBase.getDB().getTechnology().getLayer('METAL2')
METAL3 = DataBase.getDB().getTechnology().getLayer('METAL3')
+ METAL5 = DataBase.getDB().getTechnology().getLayer('METAL5')
BLOCKAGE2 = DataBase.getDB().getTechnology().getLayer('BLOCKAGE2')
BLOCKAGE3 = DataBase.getDB().getTechnology().getLayer('BLOCKAGE3')
BLOCKAGE4 = DataBase.getDB().getTechnology().getLayer('BLOCKAGE4')
+ BLOCKAGE5 = DataBase.getDB().getTechnology().getLayer('BLOCKAGE5')
cell = af.getCell('add', CRL.Catalog.State.Logical)
print(cell.getNet('a(0)'))
db = DataBase.getDB()
print(db, dir(db))
+ METAL2 = DataBase.getDB().getTechnology().getLayer('METAL2')
METAL3 = DataBase.getDB().getTechnology().getLayer('METAL3')
+ METAL5 = DataBase.getDB().getTechnology().getLayer('METAL5')
BLOCKAGE2 = DataBase.getDB().getTechnology().getLayer('BLOCKAGE2')
BLOCKAGE3 = DataBase.getDB().getTechnology().getLayer('BLOCKAGE3')
BLOCKAGE4 = DataBase.getDB().getTechnology().getLayer('BLOCKAGE4')
+ BLOCKAGE5 = DataBase.getDB().getTechnology().getLayer('BLOCKAGE5')
cell = af.getCell('sub', CRL.Catalog.State.Logical)
print(cell.getNet('a(0)'))
def alu16(**kwargs):
- editor = None
- if kwargs.has_key('editor') and kwargs['editor']:
- editor = kwargs['editor']
+ editor = kwargs.get('editor', None)
db = DataBase.getDB()
print(db, dir(db))