Unit installation
Glossary
Altera Corporation 321
Glossary
Glossary
FLEX 10K, FLEX 8000, FLEX 6000, 
MAX 9000, and MAX 7000 device 
architectures. Altera MegaCore 
megafunctions consist of several different 
design files. A post-synthesis AHDL 
design file is used for design 
implementation (i.e., fitting) in the target 
Altera device. In addition, VHDL or 
Verilog HDL functional simulation models 
are supplied for design and debugging 
with standard EDA simulation tools.
OpenCore megafunctions are MegaCore 
functions that you can use and evaluate 
before purchasing full support. If you 
purchase full support, you can generate 
programming files and EDIF, VHDL, and 
Verilog HDL output files for post-
compilation simulation with other EDA 
tools.
Altera provides a library of megafunctions, 
including OpenCore megafunctions, in the 
\maxplus2\max2lib\mega_lpm 
directory. (On a UNIX workstation, the 
maxplus2 directory is a subdirectory of the 
/usr directory). VHDL Component 
Declarations for megafunctions supported 
by VHDL are provided in the megacore 
package in the altera library, which is 
located in the\maxplus2\vhdlnn 
directory, where nn is Ò87Ó or Ò93Ó.
If your authorization code for a MegaCore 
megafunction includes permission to view 
the source design file, you can view the file 
by selecting the megafunction symbol in 
the Graphic Editor or megafunction name 
in the Text Editor and choosing Hierarchy 
Down (File menu).
megafunction A complex or high-level 
building block that can be used together 
with gate and flipflop primitives and/or 
old-style macrofunctions in MAX+PLUS II 
design files.
Altera provides a library of megafunctions, 
including functions from the Library of 
Parameterized Modules (LPM) version 
2.1.0, in the \maxplus2\max2lib\
mega_lpm directory created during 
installation. AHDL Include Files (.inc) for 
these megafunctions are also located in the 
\maxplus2\max2lib\mega_lpm 
directory. VHDL Component Declarations 
for LPM functions and other 
megafunctions are provided in the 
lpm_components package in the lpm 
library, and the megacore package in the 
altera library, respectively. Both of these 
libraries are located in subdirectories of the
\maxplus2\vhdlnn directory, where nn is 
Ò87Ó or Ò93Ó. (On a UNIX workstation, the 
maxplus2 directory is a subdirectory of the 
/usr directory.)
To view the file that contains the logic for a 
megafunction, select the megafunction 
symbol in the Graphic Editor or 
megafunction name in the Text Editor and 
choose Hierarchy Down (File menu).
memory bit and memory word A memory 
bit is an individual memory address in a 
memory (i.e., RAM or ROM) block.
A memory word is a group of memory bits 
in a RAM or ROM block. 
For example, the content5_[4..0] 
memory word defines a byte of memory in 
which the individual memory bits are 
content5_4, content5_3, 
content5_2, content5_1, and 
content5_0.
Memory Initialization File (.mif)  An ASCII 
file (with the extension .mif) that specifies 
81_GSBOOK.fm5 Page 321 Tuesday, October 14, 1997 4:04 PM










