Description
In the MAX PLUS II software version 9.01, Altera created a megafunction called
dcfifo that was used to create a dual-clocked FIFO megafunction. Starting in version 9.21, a standardized library of parameterized modules (LPM) megafunction called lpm_fifo_dc was introduced with essentially the same functionality. The lpm_fifo_dc megafunction basically consists of the dcfifo megafunction.
Follow these steps to invoke the dual-clocked FIFO megafunction in the MAX PLUS II software:
- Select the MegaWizard Plug-In Manager option in the File menu.
- Click on Create a new custom MegaWizard variation and then Next
- Open up the Storage folder located in the Available Megafunctions window, and select FIFO. (Note that the
dcfifoandlpm_fifo_dcoptions are not available.) Make sure to specify the name and type of your output file. - For the MegaWizard™ option Do you want a common clock for reading and writing the FIFO, choose No, synchronize reading and writing to
rdclkandwrclk, respectively. This option automatically implementslpm_fifo_dc, even though the name is not directly specified. - Complete the megafunction wizard as desired.
The generated output file will show that the dcfifo megafunction was used, but the actual megafunction invoked is lpm_fifo_dc.
|