mirror of https://github.com/VLSIDA/OpenRAM.git
Change mult to 1 always.
This commit is contained in:
parent
c3472b5bc5
commit
b4cab6ec57
|
|
@ -13,7 +13,6 @@ from sram_factory import factory
|
||||||
import contact
|
import contact
|
||||||
import logical_effort
|
import logical_effort
|
||||||
from globals import OPTS
|
from globals import OPTS
|
||||||
from pgate import pgate
|
|
||||||
from tech import cell_properties as cell_props
|
from tech import cell_properties as cell_props
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -151,14 +150,14 @@ class ptx(design.design):
|
||||||
self.spice.append("\n* spice ptx " + self.spice_device)
|
self.spice.append("\n* spice ptx " + self.spice_device)
|
||||||
|
|
||||||
if cell_props.ptx.model_is_subckt and OPTS.lvs_exe and OPTS.lvs_exe[0] == "calibre":
|
if cell_props.ptx.model_is_subckt and OPTS.lvs_exe and OPTS.lvs_exe[0] == "calibre":
|
||||||
# sky130 requires mult parameter too
|
# sky130 requires mult parameter too. It is not the same as m, but I don't understand it.
|
||||||
# self.lvs_device = "X{{0}} {{1}} {0} m={1} w={2} l={3} mult={1}".format(spice[self.tx_type],
|
# self.lvs_device = "X{{0}} {{1}} {0} m={1} w={2} l={3} mult=1".format(spice[self.tx_type],
|
||||||
# self.mults,
|
# self.mults,
|
||||||
# self.tx_width,
|
# self.tx_width,
|
||||||
# drc("minwidth_poly"))
|
# drc("minwidth_poly"))
|
||||||
# TEMP FIX: Use old device names if using Calibre.
|
# TEMP FIX: Use old device names if using Calibre.
|
||||||
|
|
||||||
self.lvs_device = "M{{0}} {{1}} {0} m={1} w={2} l={3} mult={1}".format("nshort" if self.tx_type == "nmos" else "pshort",
|
self.lvs_device = "M{{0}} {{1}} {0} m={1} w={2} l={3} mult=1".format("nshort" if self.tx_type == "nmos" else "pshort",
|
||||||
self.mults,
|
self.mults,
|
||||||
self.tx_width,
|
self.tx_width,
|
||||||
drc("minwidth_poly"))
|
drc("minwidth_poly"))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue