Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHow to use Altera BRAM instance as a DualPort RAM with 1 Write and 2 parallel reads
Hi, I had used altsyncram for writing into first port and reading from the second port in a DUAL_PORT mode. Everything seems to be working in the simulation and in the hardware. Now the design ...
Altera_Forum
Honored Contributor
9 years agoHi.
If you're reading all zero - I'd assume the memory port is not connected properly. But you should have seen something in the compilation log. At the moment I can only suggest the following: 1. configure a memory unit with megawizard/IP catalog and instantiate it. There is a bunch of parameters hidden in comments that might affect the result. Try AUTO instead of M20K just as an experiment. 2. check the post-fitting technology map viewer to see if your read data net is connected properly, as well as all the other signals for B-port (clock, enables etc). 3. In-circuit debug is not hard at all and definitely faster than expecting another reply from my time-zone :) I don't think memory BIST is available in the core, I asked if you have it in your RTL (just in case).