Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data not getting written into memory cells #199

Open
KolliparaAbhishekAnand opened this issue Jul 15, 2023 · 6 comments
Open

data not getting written into memory cells #199

KolliparaAbhishekAnand opened this issue Jul 15, 2023 · 6 comments
Assignees

Comments

@KolliparaAbhishekAnand
Copy link

Describe the bug
In memory macros of size 16_64 , 16_128 , data is not getting written into memory cells . this is observed by testing on generated .sp files using ngspice as simulator tool.

Version
v1.2.18 and commit 3620d56

To Reproduce
1.I wrote different content into memory cells , and every time the data stored is always zero in memory cells.
2. also tested the functional_stim.sp file generated by openram . the file will include some pre-known results which we should be able to get by running this test stimulus file . pre-known results and actual simulation results didn't match.`

Expected behavior
data should be written into memory cells properly. i observed this behaviour in those memory macros with word size 64 and 128.

@bugraonal
Copy link
Collaborator

Can you attach the config you used. I am having trouble replicating this issue.

@KolliparaAbhishekAnand
Copy link
Author

Data word size

word_size = 64

Number of words in the memory

num_words = 16

human_byte_size = "{:.0f}kbytes".format((word_size * num_words)/1024/8)

netlist_only=True

num_spare_cols=1
num_spare_rows=1
tech_name = "sky130"
process_corners = [ "TT"]
supply_voltages = [ 1.8 ]
temperatures = [ 27 ]
num_rw_ports=1
num_r_ports=0
num_w_ports=0
write_size=None
ports_human='1rw'

Disable analytical models for full characterization (WARNING: slow!)

analytical_delay = False

file_path="/home/abhishek/SINESyslab/OpenRAM/macros/sram_configs/"
import os
exec(open(os.path.join(os.path.dirname(file_path),'sky130_sram_common.py')).read())

@bugraonal
Copy link
Collaborator

I am able to read and write with these stimulus files.
functional.tar.gz

Could you perhaps send your stimulus?

@KolliparaAbhishekAnand
Copy link
Author

I am getting problem in those circuits in which number of words are 16 and data bits/word size = 64 . you have taken exactly opposite of it.

@bugraonal
Copy link
Collaborator

Ah, I see. I'll try that one.

@KolliparaAbhishekAnand
Copy link
Author

are you able to replicate the issue??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants