mirror of https://github.com/VLSIDA/OpenRAM.git
Add boundary to all pgates
This commit is contained in:
parent
cd66ddb37c
commit
fc85dfe29f
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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 """
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -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. """
|
||||
|
|
|
|||
|
|
@ -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 """
|
||||
|
|
|
|||
|
|
@ -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"])
|
||||
|
|
|
|||
|
|
@ -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 """
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue