def __init__(self, name): hierarchy_design.__init__(self,name) self.setup_drc_constants() self.setup_multiport_constants() self.m1_pitch = max(contact.m1m2.width,contact.m1m2.height) + max(self.m1_space, self.m2_space) self.m2_pitch = max(contact.m2m3.width,contact.m2m3.height) + max(self.m2_space, self.m3_space) self.m3_pitch = max(contact.m3m4.width,contact.m3m4.height) + max(self.m3_space, self.m4_space)
def __init__(self, name): hierarchy_design.__init__(self, name) self.setup_drc_constants() self.setup_multiport_constants() from tech import layer self.m1_pitch = max(contact.m1m2.width, contact.m1m2.height) + max( self.m1_space, self.m2_space) self.m2_pitch = max(contact.m2m3.width, contact.m2m3.height) + max( self.m2_space, self.m3_space) if "metal4" in layer: self.m3_pitch = max(contact.m3m4.width, contact.m3m4.height) + max( self.m3_space, self.m4_space) else: self.m3_pitch = self.m2_pitch
def __init__(self, name): hierarchy_design.__init__(self, name) self.setup_drc_constants() self.setup_layer_constants() self.setup_multiport_constants()