mirror of https://github.com/VLSIDA/OpenRAM.git
Merge branch 'dev' into tech_migration
This commit is contained in:
commit
615c24f7bc
|
|
@ -82,15 +82,16 @@ class lib:
|
||||||
|
|
||||||
# Nominal corner
|
# Nominal corner
|
||||||
self.add_corner(nom_process, nom_supply, nom_temperature)
|
self.add_corner(nom_process, nom_supply, nom_temperature)
|
||||||
# Temperature corners
|
if not OPTS.nominal_corner_only:
|
||||||
self.add_corner(nom_process, nom_supply, min_temperature)
|
# Temperature corners
|
||||||
self.add_corner(nom_process, nom_supply, max_temperature)
|
self.add_corner(nom_process, nom_supply, min_temperature)
|
||||||
# Supply corners
|
self.add_corner(nom_process, nom_supply, max_temperature)
|
||||||
self.add_corner(nom_process, min_supply, nom_temperature)
|
# Supply corners
|
||||||
self.add_corner(nom_process, max_supply, nom_temperature)
|
self.add_corner(nom_process, min_supply, nom_temperature)
|
||||||
# Process corners
|
self.add_corner(nom_process, max_supply, nom_temperature)
|
||||||
self.add_corner(min_process, nom_supply, nom_temperature)
|
# Process corners
|
||||||
self.add_corner(max_process, nom_supply, nom_temperature)
|
self.add_corner(min_process, nom_supply, nom_temperature)
|
||||||
|
self.add_corner(max_process, nom_supply, nom_temperature)
|
||||||
|
|
||||||
def add_corner(self, proc, volt, temp):
|
def add_corner(self, proc, volt, temp):
|
||||||
self.corner_name = "{0}_{1}_{2}V_{3}C".format(self.sram.name,
|
self.corner_name = "{0}_{1}_{2}V_{3}C".format(self.sram.name,
|
||||||
|
|
@ -107,6 +108,7 @@ class lib:
|
||||||
|
|
||||||
def characterize_corners(self):
|
def characterize_corners(self):
|
||||||
""" Characterize the list of corners. """
|
""" Characterize the list of corners. """
|
||||||
|
debug.info(1,"Characterizing corners: " + str(self.corners))
|
||||||
for (self.corner,lib_name) in zip(self.corners,self.lib_files):
|
for (self.corner,lib_name) in zip(self.corners,self.lib_files):
|
||||||
debug.info(1,"Corner: " + str(self.corner))
|
debug.info(1,"Corner: " + str(self.corner))
|
||||||
(self.process, self.voltage, self.temperature) = self.corner
|
(self.process, self.voltage, self.temperature) = self.corner
|
||||||
|
|
|
||||||
|
|
@ -581,5 +581,5 @@ def report_status():
|
||||||
debug.print_raw("Performing simulation-based characterization with {}".format(OPTS.spice_name))
|
debug.print_raw("Performing simulation-based characterization with {}".format(OPTS.spice_name))
|
||||||
if OPTS.trim_netlist:
|
if OPTS.trim_netlist:
|
||||||
debug.print_raw("Trimming netlist to speed up characterization (trim_netlist=False to disable).")
|
debug.print_raw("Trimming netlist to speed up characterization (trim_netlist=False to disable).")
|
||||||
|
if OPTS.nominal_corner_only:
|
||||||
|
debug.print_raw("Only characterizing nominal corner.")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue