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   |   Design Examples   |   mySupport   |   Reference Designs  

 Products
   Quartus II
      SOPC Builder
      MAX+PLUS II
      ModelSim-Altera
  
 Resource Centers
      Overview
      Installation & Licensing
      Scripting
      Board Design & I/O
      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
  

Library Mapping File (.lmf) Definition


An ASCII text file (with the extension .lmf) used to map cells in EDIF Input Files (.edf) and Verilog Quartus Mapping Files (.vqm), components in VHDL Design Files (.vhd), or modules in Verilog Design Files (.v) to corresponding Quartus II logic functions.

LMFs allow the Compiler to substitute Quartus II logic functions for the cells in EDIF Input Files, VHDL Design Files, Verilog Design Files, and VQM Files. LMFs also eliminate the need for the Compiler to extract the information on those cells or functions and allow the Compiler to substitute Quartus II logic functions for non-Quartus II logic functions. The logic function mappings in Altera-provided LMFs allow you to take advantage of family-specific macrofunctions.

All cells in EDIF Input Files and VQM Files, and some of the functions in VHDL Design Files and Verilog Design Files must be mapped to Altera logic functions in an LMF so that the Compiler can interpret them.

 

Note: If a VHDL Design File contains VHDL primitives that have Component Declarations in the maxplus2 package (which is in the \quartus\libraries\vhdl\altera directory), you must specify maxplus2.lmf as the LMF for the VHDL Design File.

 

LMFs for EDIF Input Files and VQM Files are specified as Compiler input files when you specify an LMF in the File name box in the Design Entry & Synthesis page of the Settings dialog box (Assignments menu). LMFs for VHDL Design Files are specified in the VHDL Input page of the Settings dialog box (Assignments menu), and LMFs for Verilog Design Files are specified in the Verilog HDL Input page of the Settings dialog box.

You can use one of the following Altera-provided LMFs generated by industry-standard EDA tools:

 

Software

Library Mapping File

Design Compiler

altsyn.lmf

DC-FPGA

dc_fpga.lmf

FPGA Compiler II

fpga_exp.lmf

LeonardoSpectrum

exemplar.lmf

Precision RTL Synthesis

exemplar.lmf

Synplify

synplcty.lmf

ViewDraw

vwl_bas.lmf

 

You can also create new custom LMFs for EDIF Input Files, VHDL Design Files, and Verilog HDL Design Files.

 

 

  Please Give Us Feedback