cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dor3y
Visitor
Visitor
2,542 Views
Registered: ‎02-21-2019

read data of data memory

Jump to solution

hello,

I'm unable to read the data in the data memory I created. since mem read is always zero. I attached my module, testbench, and simulation. if someone could please tell me what I'm doing wrong. thank you.

 

 

 

memory.PNGsimulate.PNGtest.PNG

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
watari
Teacher
Teacher
2,514 Views
Registered: ‎06-16-2013

Hi @dor3y 

 

> I'm unable to read the data in the data memory I created. since mem read is always zero.

 

You need to access correct address (or already written address).

Would you change an address from 0x34 to 0xee or 0xdd when you read data from memory ?

 

Best regards,

 

View solution in original post

1 Reply
watari
Teacher
Teacher
2,515 Views
Registered: ‎06-16-2013

Hi @dor3y 

 

> I'm unable to read the data in the data memory I created. since mem read is always zero.

 

You need to access correct address (or already written address).

Would you change an address from 0x34 to 0xee or 0xdd when you read data from memory ?

 

Best regards,

 

View solution in original post