mirror of https://github.com/VLSIDA/OpenRAM.git
Fix syntax error in functional test.
This commit is contained in:
parent
cf4e8ce880
commit
e3e7a31c6b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue