added binning to precharge pmos

This commit is contained in:
SWalker
2023-03-30 11:30:50 -07:00
committed by Jacob Walker
parent 6981cfa58b
commit 764601a721
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -7,6 +7,7 @@
#
from .rom_base_cell import rom_base_cell
from .pgate import pgate
from openram.base import vector
from openram import OPTS
from openram.sram_factory import factory
@@ -30,10 +31,11 @@ class rom_precharge_cell(rom_base_cell):
def add_modules(self):
width = pgate.nearest_bin("pmos", drc["minwidth_tx"])
self.pmos = factory.create(module_type="ptx",
module_name="pre_pmos_mod",
tx_type="pmos",
width=width,
add_source_contact=self.supply_layer,
add_drain_contact=self.bitline_layer
)