You can use the MegaWizard Plug-In Manager (Tools menu) to create a variation of the lpm_fifo+
megafunction. To create a 16-bit, dual-clock FIFO with separate read and write clocks, follow these steps:
Click the Selection and Smart Drawing Tool button on the toolbar.
Double-click an empty space in the Block Editor window. The Symbol dialog box appears automatically.
In the Symbol dialog box, click MegaWizard Plug-In Manager. The first page of the MegaWizard Plug-In Manager appears.
In the first page of the MegaWizard Plug-In Manager, make sure Create a new custom megafunction variation is selected and click Next.
Under Which megafunction would you like to customize?, click the + icon to expand the Storage folder, and then select LPM_FIFO+.
Specify the following responses to the remaining wizard prompts:
Wizard Prompt: |
Response: |
Which device family will you be using? | Stratix |
Which type of output file do you want to create? | AHDL |
What name do you want for the output file? | d:\qdesigns\stratix\fifo |
Click Next. MegaWizard Plug-In Manager - FIFO [Page 3 of 8] appears.
|