VLSIDA / OpenRAM

An open-source static random access memory (SRAM) compiler.

Home Page:http://www.openram.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stimuli Generation - sram_func.py or gen_stimuli.py

abdullahsahruri opened this issue · comments

Describe the bug

I'm trying to generate stimuli files by using either sram_func.py or gen_stimuli.py. However, I am getting an attribute error.

File "/home/abdullahsahruri/work/OpenRAM/compiler/sram_factory.py", line 70, in get_usermodule_type
overridden = module_type in OPTS.overridden.keys()
AttributeError: 'options' object has no attribute 'overridden'

I'm only giving the parameters as an argument, but I'm getting this error. My arguments are as follows:

python gen_stimulus.py ../macros/example_config_scn4m_subm/example_config_scn4m_subm.py 10 10 20

Version
1.2.48

To Reproduce
I'm using the config file provided in the macros: example_config_scn4m_subm.py

Expected behavior
I expected that either gen_stimuli or sram_func could create spice stimuli so I could define reading and writing times.