Megafunction

Overview: Using the MegaWizard Plug-In Manager



The MegaWizard® Plug-In Manager (Tools menu) helps you create or modify design files that contain custom megafunction variations, which you can then instantiate in a design file. These custom megafunction variations are based on Altera-provided megafunctions, including library of parameterized modules (LPM) functions. The MegaWizard Plug-In Manager allows you to run a wizard that helps you easily specify options for the custom megafunction variations. The wizard asks questions about the values you want to set for parameters or about which optional ports you want to use.

The MegaWizard Plug-In Manager automatically generates a Component Declaration file (with the extension .cmp) that can be used in VHDL Design Files (.vhd) and an AHDL Include File (.inc) that can be used in Text Design Files (.tdf) and Verilog Design Files (.v). The MegaWizard Plug-In Manager also creates a sample instantiation template with the extension _inst.tdf for AHDL designs, _inst.vhd for VHDL designs, and _inst.v for Verilog HDL designs; a sample instantiation declaration file _bb.v is also created for Verilog HDL designs. The sample instantiation files contain module and port declarations for the custom megafunction variation.

You can start the MegaWizard Plug-In Manager in one of the following ways:

As an alternative to using the MegaWizard Plug-In Manager, you can enter megafunctions and specify ports and parameters directly in a TDF, VHDL Design File, or Verilog Design File. In the Block Editor, you can enter a symbol for a megafunction in a Block Design File (.bdf) and edit the ports and parameters for that instance of the megafunction with the Parameters tab and Ports tab of the Symbol Properties dialog box. In the Symbol Editor you can also modify all future instances of a megafunction symbol by using the General tab of the Port Properties dialog box, or the Parameters tab of the Symbol Properties dialog box. To apply any modifications to existing megafunction symbols, you must update the symbol.

Go to: More information is available on the MegaWizard Plug-In Manager on the Altera® web site.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.