mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-30 09:58:33 +02:00
Fix spice model bin parameter error
This commit is contained in:
@@ -51,7 +51,7 @@ class pinv_dec(pinv.pinv):
|
||||
self.tx_mults = 1
|
||||
self.nmos_width = self.nmos_size * drc("minwidth_tx")
|
||||
self.pmos_width = self.pmos_size * drc("minwidth_tx")
|
||||
if self.bin_spice_models:
|
||||
if cell_props.ptx.bin_spice_models:
|
||||
self.nmos_width = self.nearest_bin("nmos", self.nmos_width)
|
||||
self.pmos_width = self.nearest_bin("pmos", self.pmos_width)
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ class pnor2(pgate.pgate):
|
||||
debug.check(size==1, "Size 1 pnor2 is only supported now.")
|
||||
self.tx_mults = 1
|
||||
|
||||
if self.bin_spice_models:
|
||||
if cell_props.ptx.bin_spice_models:
|
||||
self.nmos_width = self.nearest_bin("nmos", self.nmos_width)
|
||||
self.pmos_width = self.nearest_bin("pmos", self.pmos_width)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user