mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-03 08:27:11 +02:00
Merge remote-tracking branch 'private/dev' into dev
This commit is contained in:
+17
-1
@@ -459,17 +459,33 @@ def set_default_corner():
|
||||
OPTS.process_corners = ["TT"]
|
||||
else:
|
||||
OPTS.process_corners = tech.spice["fet_models"].keys()
|
||||
|
||||
if (OPTS.supply_voltages == ""):
|
||||
if OPTS.nominal_corner_only:
|
||||
OPTS.supply_voltages = [tech.spice["supply_voltages"][1]]
|
||||
else:
|
||||
OPTS.supply_voltages = tech.spice["supply_voltages"]
|
||||
|
||||
if (OPTS.temperatures == ""):
|
||||
if OPTS.nominal_corner_only:
|
||||
OPTS.temperatures = [tech.spice["temperatures"][1]]
|
||||
else:
|
||||
OPTS.temperatures = tech.spice["temperatures"]
|
||||
|
||||
|
||||
# Load scales are fanout multiples of the DFF input cap
|
||||
if (OPTS.load_scales == ""):
|
||||
if OPTS.nominal_corner_only:
|
||||
OPTS.load_scales = [4]
|
||||
else:
|
||||
OPTS.load_scales = [0.25, 1, 4]
|
||||
|
||||
# Load scales are fanout multiples of the default spice input slew
|
||||
if (OPTS.slew_scales == ""):
|
||||
if OPTS.nominal_corner_only:
|
||||
OPTS.slew_scales = [1]
|
||||
else:
|
||||
OPTS.slew_scales = [0.25, 1, 4]
|
||||
|
||||
|
||||
def import_tech():
|
||||
""" Dynamically adds the tech directory to the path and imports it. """
|
||||
|
||||
Reference in New Issue
Block a user