Fix lib test to enable spice simulation. Fixed bug with change in default argument.

This commit is contained in:
Matt Guthaus 2017-06-05 09:03:51 -07:00
parent 384e169b5b
commit 0acbf43908
2 changed files with 2 additions and 3 deletions

View File

@ -36,8 +36,7 @@ class lib_test(unittest.TestCase):
filename = s.name + "_analytical.lib"
libname = OPTS.openram_temp + filename
lib.lib(libname,s,tempspice,use_model=True)
lib.lib(libname=libname,sram=s,spfile=tempspice,use_model=True)
# let's diff the result with a golden model
golden = "{0}/golden/{1}".format(os.path.dirname(os.path.realpath(__file__)),filename)

View File

@ -36,7 +36,7 @@ class lib_test(unittest.TestCase):
filename = s.name + ".lib"
libname = OPTS.openram_temp + filename
lib.lib(libname,s,tempspice)
lib.lib(libname=libname,sram=s,spfile=tempspice,use_model=False)
# let's diff the result with a golden model
golden = "{0}/golden/{1}".format(os.path.dirname(os.path.realpath(__file__)),filename)