|
|
|
You can create or modify design files that contain custom megafunction variations of Altera-provided functions. You can then instantiate the custom megafunction variations in a design file for use with the Synplicity Synplify and Quartus® II software. This procedure shows only how to instantiate a content-addressable memory (CAM) function using Verilog HDL; however, you can use similar procedures to instantiate other Altera-provided functions.
If you have not already done so, Set Up the LeonardoSpectrum Working Environment.
If you have not already done so, Create a Design for Use with the LeonardoSpectrum Software.
The MegaWizard Plug-In Manager generates custom megafunction variations that are based on Altera-provided megafunctions, including library of parameterized modules (LPM) functions, as well as Altera® megafunctions.
See the following example to create a Verilog HDL custom megafunction variation of the altcam
function:
The design file generated by the MegaWizard Plug-In Manager must be in the same directory as the EDIF Input File or added to the Quartus II project. |
If you have not already done so, create a new project or open an existing project.
Continue to Generate EDIF Netlist Files with the LeonardoSpectrum Software.
Compile the design in the Quartus II software.
If necessary, perform a timing simulation of the design with the ModelSim software or with another Verilog HDL simulation tool.
- PLDWorld - |
|
Created by chm2web html help conversion utility. |