def METHOD_NAME(self):
    if "li" in layer:
        self.route_layer = "li"
    else:
        self.route_layer = "m1"
    self.width = self.nand.width + self.inv.width
    self.height = self.nand.height
    self.place_insts()
    self.add_wires()
    self.add_layout_pins()
    self.route_supply_rails()
    self.add_boundary()
    self.DRC_LVS()