From e3e7a31c6b1cb810c5033f75063ca01e1aaab43d Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Fri, 23 Feb 2018 07:47:01 -0800 Subject: [PATCH] Fix syntax error in functional test. --- compiler/tests/22_sram_func_test.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compiler/tests/22_sram_func_test.py b/compiler/tests/22_sram_func_test.py index f719c390..ff74f073 100644 --- a/compiler/tests/22_sram_func_test.py +++ b/compiler/tests/22_sram_func_test.py @@ -29,9 +29,9 @@ class sram_func_test(openram_test): import sram debug.info(1, "Testing timing for sample 1bit, 16words SRAM with 1 bank") - s = sram.sram(word_size=OPTS.word_size, - num_words=OPTS.num_words, - num_banks=OPTS.num_banks, + s = sram.sram(word_size=1, + num_words=16, + num_banks=1, name="sram_func_test") OPTS.check_lvsdrc = True @@ -49,9 +49,9 @@ class sram_func_test(openram_test): # This will exit if it doesn't find a feasible period import tech - load = tech.spice["msflop_in_cap"]*4 - slew = tech.spice["rise_time"]*2 - feasible_period = d.find_feasible_period(load,slew) + d.load = tech.spice["msflop_in_cap"]*4 + d.slew = tech.spice["rise_time"]*2 + feasible_period = d.find_feasible_period() os.remove(tempspice) OPTS.analytical_delay = True