Forum Discussion
Altera_Forum
Honored Contributor
19 years agoFIFO or 2-Port RAM
First I wanted to use a 2-Port RAM to synchronize two clock domains 96MHz <--> 24MHz until I found the FIFO megafunction. The FIFO has the advantage for me that I don't have to control the address bu...
Altera_Forum
Honored Contributor
19 years agoAn advantage of a dual-clock FIFO megafunction is that it provides the logic necessary to handle write and read clocks that are asynchronous to each other. The FIFO is simpler to use, and the work of handling the domain crossing safely has already been done for you.
An advantage of a simple 2-port RAM with your own logic is that you might be able to create a more efficient implementation than the FIFO megafunction. Either megafunction will let you write one address at the same time that another address is being read.