def METHOD_NAME(self):
    if self.vertical:
        self.height = 2 * self.nand.height
        self.width = max(self.nand.width, self.inv.width)
    else:
        self.width = self.nand.width + self.inv.width
    self.place_insts()
    self.add_wires()
    self.add_layout_pins()
    self.route_supply_rails()
    self.add_boundary()
    self.DRC_LVS()