mirror of https://github.com/VLSIDA/OpenRAM.git
Add exception for sky130 klayout LVS device output
This commit is contained in:
parent
d555e67fb1
commit
82a1a8d87f
|
|
@ -161,8 +161,13 @@ class ptx(design.design):
|
||||||
self.mults,
|
self.mults,
|
||||||
self.tx_width,
|
self.tx_width,
|
||||||
drc("minwidth_poly"))
|
drc("minwidth_poly"))
|
||||||
|
|
||||||
|
elif OPTS.lvs_exe and OPTS.lvs_exe[0] == "klayout":
|
||||||
|
self.lvs_device = "M{{0}} {{1}} {0} m={1} w={2} l={3}".format(spice[self.tx_type],
|
||||||
|
self.mults,
|
||||||
|
self.tx_width,
|
||||||
|
drc("minwidth_poly"))
|
||||||
elif cell_props.ptx.model_is_subckt:
|
elif cell_props.ptx.model_is_subckt:
|
||||||
# sky130 requires mult parameter too
|
|
||||||
self.lvs_device = "X{{0}} {{1}} {0} m={1} w={2}u l={3}u".format(spice[self.tx_type],
|
self.lvs_device = "X{{0}} {{1}} {0} m={1} w={2}u l={3}u".format(spice[self.tx_type],
|
||||||
self.mults,
|
self.mults,
|
||||||
self.tx_width,
|
self.tx_width,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue