VLSIDA / OpenRAM

An open-source static random access memory (SRAM) compiler.
http://www.openram.org
BSD 3-Clause "New" or "Revised" License
780 stars 198 forks source link

Stimuli Generation - sram_func.py or gen_stimuli.py #234

Open abdullahsahruri opened 2 months ago

abdullahsahruri commented 2 months ago

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.