mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 17:39:02 +02:00
Fix lib test to enable spice simulation. Fixed bug with change in default argument.
This commit is contained in:
@@ -36,7 +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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user