Instantiating LPM Functions in Design Architect Schematics
Design Architect software allows you to instantiate functions included in the library of parameterized modules (LPM) from the ALTERA LPMLIB library.
Go through the following steps to instantiate LPM functions in a Design Architect schematic:
- While you are entering your Design Architect schematic, choose Altera Libraries (Library menu).
- Choose ALTERA LPMLIB (Altera Libraries menu).
- Choose from the available LPM functions on the ALTERA GENLIB menu.
- In the LPM_<function name> dialog box, specify appropriate values for the variables displayed for the LPM function you chose in step 3. Make sure that any hexadecimal (Intel-format) file that you use to specify the initial content of a memory function does not have the same name as the design file name. Choose Megafunctions/LPM from the MAX+PLUS II Help menu for detailed information on LPM functions.
- Choose OK to generate a symbol for the LPM function you chose in step 3 and a corresponding VHDL simulation model.
- Continue with the steps necessary to complete your Design Architect schematic, as described in Creating Design Architect Schematics for Use with MAX+PLUS II Software.
- When you save the schematic, the Design Architect software will ask whether you want to compile the LPM model. Choose YES if you want to compile the VHDL code for the LPM functions. The software will automatically select the corresponding compiler: System 1076 for B.(x) releases and QuickHDL compilers for releases C.1 and later.
Installing the Altera®provided MAX+PLUS II/Mentor Graphics/Exemplar Logic interface on your computer automatically creates the sample Design Architect schematic file /usr/maxplus2/examples/mentor/example7/fifo, which includes LPM instantiation.
|