Section 5: Create & Instantiate a ROM Megafunction

In addition to true dual-port memory, the TriMatrix memory in Stratix devices also supports various simple dual-port and single-port RAM and ROM memory configurations. When you configure a memory block as RAM or ROM, you can use a Memory Initialization File (.mif) to pre-load the initial contents of the memory.

This tutorial section shows you how to use the MegaWizard Plug-In Manager to create one of the four single-port ROM (altsyncram) megafunctions in the design. Each of the ROM megafunctions uses a separate Altera-provided MIF to pre-load the initial contents of the memory. These ROM megafunctions in the design feed the data to the Multiply-Add megafunction created later in this tutorial.


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