From 0acbf4390825e077370b8613f438b64aef1b7d89 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Mon, 5 Jun 2017 09:03:51 -0700 Subject: [PATCH] Fix lib test to enable spice simulation. Fixed bug with change in default argument. --- compiler/tests/23_lib_sram_model_test.py | 3 +-- compiler/tests/23_lib_sram_test.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/compiler/tests/23_lib_sram_model_test.py b/compiler/tests/23_lib_sram_model_test.py index 7b699481..7d0faf01 100644 --- a/compiler/tests/23_lib_sram_model_test.py +++ b/compiler/tests/23_lib_sram_model_test.py @@ -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) diff --git a/compiler/tests/23_lib_sram_test.py b/compiler/tests/23_lib_sram_test.py index f178f148..ecc82abf 100644 --- a/compiler/tests/23_lib_sram_test.py +++ b/compiler/tests/23_lib_sram_test.py @@ -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)