Section 3: Create & Instantiate a FIFO Megafunction

Stratix devices contain TriMatrix memory blocks of three different sizes that you can use to implement various types of memory and FIFO buffers. These memory structures include small M512 memory blocks (32x18 bits), which you can use to implement single-port RAM; and medium M4K memory blocks (128x36 bits) and large MegaRAM memory blocks (4096x144 bits), which you can use to implement single-port, simple dual-port, and true dual-port RAM in the fully synchronous Stratix architecture.

You can use the MegaWizard Plug-In Manager to instantiate a dual-clock FIFO (dcfifo) megafunction. During compilation, the Compiler selects the most appropriate size memory block to implement the FIFO.


To continue the tutorial, proceed to Step 1: Create an lpm_fifo+ Megafunction.