def setUp(self): self.db, lib = helper.createSimpleDB() block = helper.create1LevelBlock(self.db, lib, self.db.getChip()) inst = block.getInsts()[0] self.n1 = inst.findITerm('a').getNet() self.n2 = inst.findITerm('b').getNet() self.n3 = inst.findITerm('o').getNet()
def setUp(self): self.db, self.lib = helper.createSimpleDB() blockName = '1LevelBlock' self.block = odb.dbBlock_create(self.db.getChip(), blockName) self.and2 = self.lib.findMaster('and2') self.inst = odb.dbInst.create(self.block, self.and2, "inst") self.iterm_a = self.inst.findITerm('a')
def setUp(self): self.db, self.lib = helper.createSimpleDB() self.block = helper.create1LevelBlock(self.db, self.lib, self.db.getChip()) self.master_mod = odb.dbModule_create(self.block, "master_mod") self.parent_mod = odb.dbModule_create(self.block, "parent_mod") self.i1 = odb.dbModInst_create(self.parent_mod, self.master_mod, "i1") self.inst1 = self.block.findInst("inst")
def setUp(self): self.db, self.lib = helper.createSimpleDB() self.block = helper.create1LevelBlock(self.db, self.lib, self.db.getChip()) self.group = odb.dbGroup_create(self.block,"group") self.domain = odb.dbGroup_create(self.block,"domain",0,0,100,100) self.child = odb.dbGroup_create(self.block,"child") self.master_mod = odb.dbModule_create(self.block,"master_mod") self.parent_mod = odb.dbModule_create(self.block,"parent_mod") self.i1 = odb.dbModInst_create(self.parent_mod,self.master_mod,"i1") self.inst1 = self.block.findInst("inst") self.n1 = self.block.findNet("n1")
def setUp(self): self.db, self.lib = helper.createSimpleDB() self.parentBlock = odb.dbBlock_create(self.db.getChip(), 'Parent') self.block = helper.create2LevelBlock(self.db, self.lib, self.parentBlock) self.block.setCornerCount(4) self.extcornerblock = self.block.createExtCornerBlock(1) odb.dbTechNonDefaultRule_create(self.block, 'non_default_1') self.parentRegion = odb.dbRegion_create(self.block, 'parentRegion') self.childRegion = odb.dbRegion_create(self.parentRegion, 'childRegion')
def setUp(self): self.db, lib = helper.createSimpleDB() self.parentBlock = odb.dbBlock_create(self.db.getChip(), 'Parent') self.block = helper.create2LevelBlock(self.db, lib, self.parentBlock) self.i1 = self.block.findInst('i1') self.i2 = self.block.findInst('i2') self.i3 = self.block.findInst('i3') self.n1 = self.i1.findITerm('a').getNet() self.n2 = self.i1.findITerm('b').getNet() self.n3 = self.i2.findITerm('a').getNet() self.n4 = self.i2.findITerm('b').getNet() self.n5 = self.i3.findITerm('a').getNet() self.n6 = self.i3.findITerm('b').getNet() self.n7 = self.i3.findITerm('o').getNet()
def setUp(self): self.db, self.lib = helper.createSimpleDB() self.block = helper.create2LevelBlock(self.db, self.lib, self.db.getChip()) self.i1 = self.block.findInst('i1')