Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

2-port RAM

Altera_Forum
Honored Contributor II
1,026 Views

Hello, 

 

I am beginner of using dual port ram. My write clock is 3 times slower than my read clock? Is it possible to read the correct data from output ram? 

 

I would appreciate if you could response me faster. 

 

Thanks
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
266 Views

Yes. No problem. You need dual clock dual port RAM.

0 Kudos
Altera_Forum
Honored Contributor II
266 Views

Hi Artem-bond, 

 

Thanks for your quick response. 

 

Do you have any simple example for this including the testbench?
0 Kudos
Altera_Forum
Honored Contributor II
266 Views

Just use the megafunction. It will allow you to fully specify the RAM using a GUI. Very good for beginers, and the code works, so no need to build a testbench for the megafunction. 

 

You will need a testbench for your code though.
0 Kudos
Reply