Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- it works in the simulations right... the first time i read memory address 1 is shows output - 2 (@ 0.0005us) and after writing and reading again (second read is at beginning of state 2) it shows 15 (@0.0021us) PS. maybe the resolution of the uploaded pics is not that good, but i uploaded decent images, i how dont know why it got compressed that way, or how can i upload w/o reducing quality Explaining my issue again, i am trying to perform read and write operations on single port ram. I am getting the read fine, but i am unable to write any data on the RAM. I tried the RTL simulation on the modelsim, and that worked fine, so i cannot understand what the issue was --- Quote End --- I posted in my last reply that you are running state signal as 0,1,2 then it stays 2 for ever. you are writing to ram in state 0 or 1 but nothing done in 2. As such you need to check that your compiler hasn't optimised your ram off during synthesis.