mirror of https://github.com/VLSIDA/OpenRAM.git
Change argument name for lib in tests as well.
This commit is contained in:
parent
d684189241
commit
3c86f94549
|
|
@ -32,7 +32,7 @@ class lib_test(openram_test):
|
||||||
|
|
||||||
filename = s.name + "_analytical.lib"
|
filename = s.name + "_analytical.lib"
|
||||||
libname = OPTS.openram_temp + filename
|
libname = OPTS.openram_temp + filename
|
||||||
lib.lib(libname=libname,sram=s,spfile=tempspice,use_model=True)
|
lib.lib(libname=libname,sram=s,sp_file=tempspice,use_model=True)
|
||||||
|
|
||||||
# let's diff the result with a golden model
|
# let's diff the result with a golden model
|
||||||
golden = "{0}/golden/{1}".format(os.path.dirname(os.path.realpath(__file__)),filename)
|
golden = "{0}/golden/{1}".format(os.path.dirname(os.path.realpath(__file__)),filename)
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ class lib_test(openram_test):
|
||||||
|
|
||||||
filename = s.name + "_pruned.lib"
|
filename = s.name + "_pruned.lib"
|
||||||
libname = OPTS.openram_temp + filename
|
libname = OPTS.openram_temp + filename
|
||||||
lib.lib(libname=libname,sram=s,spfile=tempspice,use_model=False)
|
lib.lib(libname=libname,sram=s,sp_file=tempspice,use_model=False)
|
||||||
|
|
||||||
# let's diff the result with a golden model
|
# let's diff the result with a golden model
|
||||||
golden = "{0}/golden/{1}".format(os.path.dirname(os.path.realpath(__file__)),filename)
|
golden = "{0}/golden/{1}".format(os.path.dirname(os.path.realpath(__file__)),filename)
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ class lib_test(openram_test):
|
||||||
|
|
||||||
filename = s.name + ".lib"
|
filename = s.name + ".lib"
|
||||||
libname = OPTS.openram_temp + filename
|
libname = OPTS.openram_temp + filename
|
||||||
lib.lib(libname=libname,sram=s,spfile=tempspice,use_model=False)
|
lib.lib(libname=libname,sram=s,sp_file=tempspice,use_model=False)
|
||||||
|
|
||||||
# let's diff the result with a golden model
|
# let's diff the result with a golden model
|
||||||
golden = "{0}/golden/{1}".format(os.path.dirname(os.path.realpath(__file__)),filename)
|
golden = "{0}/golden/{1}".format(os.path.dirname(os.path.realpath(__file__)),filename)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue