mirror of https://github.com/VLSIDA/OpenRAM.git
Fix lib test to enable spice simulation. Fixed bug with change in default argument.
This commit is contained in:
parent
384e169b5b
commit
0acbf43908
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue