Merge remote-tracking branch 'private/dev' into dev

This commit is contained in:
mrg
2020-10-16 13:54:43 -07:00
20 changed files with 338 additions and 1189 deletions
+17 -1
View File
@@ -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. """