Fixed a bug with corner_name in lib.py remaining static.

This commit is contained in:
Jennifer Eve Sowash 2019-02-20 12:59:40 -08:00
parent 1bdf4dbe4f
commit 6d3a29328c
1 changed files with 2 additions and 0 deletions

View File

@ -83,9 +83,11 @@ class lib:
(self.process, self.voltage, self.temperature) = self.corner
self.lib = open(lib_name, "w")
debug.info(1,"Writing to {0}".format(lib_name))
self.corner_name = lib_name.replace(self.out_dir,"").replace(".lib","")
self.characterize()
self.lib.close()
self.parse_info(self.corner,lib_name)
def characterize(self):
""" Characterize the current corner. """