Add boundary to all pgates

This commit is contained in:
mrg 2020-04-21 15:21:57 -07:00
parent cd66ddb37c
commit fc85dfe29f
12 changed files with 14 additions and 2 deletions

View File

@ -45,6 +45,7 @@ class pand2(pgate.pgate):
self.place_insts()
self.add_wires()
self.add_layout_pins()
self.add_boundary()
self.DRC_LVS()
def add_pins(self):

View File

@ -44,6 +44,7 @@ class pand3(pgate.pgate):
self.place_insts()
self.add_wires()
self.add_layout_pins()
self.add_boundary()
self.DRC_LVS()
def add_pins(self):

View File

@ -37,6 +37,7 @@ class pbuf(pgate.pgate):
self.place_insts()
self.add_wires()
self.add_layout_pins()
self.add_boundary()
def add_pins(self):
self.add_pin("A", "INPUT")

View File

@ -76,6 +76,7 @@ class pdriver(pgate.pgate):
self.width = self.inv_inst_list[-1].rx()
self.height = self.inv_inst_list[0].height
self.add_boundary()
def add_pins(self):
self.add_pin("A", "INPUT")

View File

@ -64,6 +64,7 @@ class pinv(pgate.pgate):
"A",
position="farleft")
self.route_outputs()
self.add_boundary()
def add_pins(self):
""" Adds pins for spice netlist """

View File

@ -47,6 +47,7 @@ class pinvbuf(pgate.pgate):
self.place_modules()
self.route_wires()
self.add_layout_pins()
self.add_boundary()
self.offset_all_coordinates()

View File

@ -57,7 +57,8 @@ class pnand2(pgate.pgate):
self.extend_wells()
self.route_inputs()
self.route_output()
self.add_boundary()
def add_pins(self):
""" Adds pins for spice netlist """
pin_list = ["A", "B", "Z", "vdd", "gnd"]

View File

@ -67,6 +67,7 @@ class pnand3(pgate.pgate):
self.extend_wells()
self.route_inputs()
self.route_output()
self.add_boundary()
def add_ptx(self):
""" Create the PMOS and NMOS transistors. """

View File

@ -56,6 +56,7 @@ class pnor2(pgate.pgate):
self.extend_wells()
self.route_inputs()
self.route_output()
self.add_boundary()
def add_pins(self):
""" Adds pins for spice netlist """

View File

@ -68,7 +68,8 @@ class precharge(design.design):
self.route_vdd_rail()
self.route_bitlines()
self.connect_to_bitlines()
self.add_boundary()
def add_pins(self):
self.add_pin_list(["bl", "br", "en_bar", "vdd"],
["OUTPUT", "OUTPUT", "INPUT", "POWER"])

View File

@ -56,6 +56,7 @@ class ptristate_inv(pgate.pgate):
self.connect_rails()
self.route_inputs()
self.route_outputs()
self.add_boundary()
def add_pins(self):
""" Adds pins for spice netlist """

View File

@ -52,6 +52,7 @@ class pwrite_driver(design.design):
self.place_modules()
self.route_wires()
self.route_supplies()
self.add_boundary()
def add_pins(self):
self.add_pin("din", "INPUT")