Altera Home Page
Literature Licensing
Buy On-Line Download

  Home   |   Products   |   Support   |   End Markets   |   Technology Center   |   Education & Events   |   Corporate   |   Buy On-Line  
  Knowledge Database   |   Devices   |   Design Software   |   Intellectual Property   |   Reference Designs   |   Design Examples   |   mySupport  

 Products
   Quartus II
      SOPC Builder
      MAX+PLUS II
      ModelSim-Altera
  
 Resource Centers
      Overview
      Installation & Licensing
      Scripting
      Board Design & I/O
      Design Entry & Planning
      Synthesis & Netlist Viewers
      Incremental Compilation
      Optimization
      Power Management
   TimeQuest Timing Analyzer
      Classic Timing Analyzer
      Simulation & Verification
      On-Chip Debugging
      HardCopy Design
  
 Software Resources
      OS Support
      Driver Installation
  
 Download & Licensing
      Download
   Licensing
  
 Quartus II EDA Support
      Quartus II Interface
   Synthesis Tools
   Simulation Tools
   Formal Verification Tools
   Timing Analysis Tools
   Physical Synthesis Tools
   Board Level Tools
  
 Legacy Sw. EDA Support
      View by Vendor
      View by Tool
      View by Function
  

Instantiating LPM & Other Parameterized Functions in Concept Schematics

You can use library of parameterized modules (LPM) functions and other Altera®-provided parameterized functions in Concept schematics if you also use the HDL Direct utility.

To instantiate LPM functions, go through the following steps:

  1. Choose the Add Part button from the toolbar or type add from the Concept window to open the Component Browser window.
  2. Choose alt_lpm (Library menu). All functions in the alt_lpm library are MAX+PLUS® II-compatible. Choose Megafunctions/LPM from the MAX+PLUS II Help menu to get detailed information on all supported parameterized functions.
  3. Type attribute, then click on each component to set parameters for each function. See General Guidelines below for additional information.
  4. Add inport and outport symbols from the hdl_direct_lib library to the interface signals. Use the supply_0 and supply_1 symbols from the hdl_direct_lib library to connect a net to GND or VCC.
  5. Continue with the steps necessary to complete your Concept schematic, as described in Creating Concept Schematics for Use with MAX+PLUS II Software.

Installing the Altera-provided MAX+PLUS II/Cadence interface on your computer automatically creates the following sample Concept schematic file, which includes LPM function instantiation:

General Guidelines

  • If a pin is not used, leave it floating. The concept2alt utility removes all unconnected pins when it generates an EDIF netlist file.
  • For the csfifo function, the value of the LPM_NUMWORDS parameter must be between
    2LPM_WIDTHAD-1 and 2LPM_WIDTHAD.
  • Make sure that any hexadecimal (Intel-format) file (.hex) that you use to specify the initial content of a memory does not have the same name as the design file name.
  • Make sure that all properties and value strings are in uppercase letters, except the filename specified with the LPM_FILE property, which should use the actual case of the filename.
  • Choose the Set button in the Concept window and choose CAPS_LOCK_OFF for the CAPS LOCK option.
  • Only the LPM_POLARITY parameter (which can be set to INVERT or NORMAL) can determine the polarity of the bus or pin. You can display a bubble in the Concept schematic to indicate an inverted pin by typing BUBBLE in the Concept command window and selecting the appropriate pin. However, the bubble does not determine the polarity of the pin or bus.
  • Avoid using the Replace button in the Concept window to replace old symbols with new ones: you may accidentally set unwanted properties. Instead, you should use the Delete button to delete old symbols and the Add button to add new symbol(s).

Feedback

Did this information help you?

If no, please log onto mySupport to file a technical request or enhancement.


Altera does not warrant that this solution will work for the customer's intended purpose and disclaims all liability for use of or reliance on the solution.

  Please Give Us Feedback