megafunction Definition
A complex or high-level building block that can be used together with gate and flipflop primitives in Quartus® Prime design files.
Intel provides a library of megafunctions, including functions from the Library of
Parameterized Modules (LPM) version 2.2.0, in the
\quartus\libraries\megafunctions directory created during
installation. AHDL Include Files (.inc) for these megafunctions are
also located in the \quartus\libraries\megafunctions 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
\quartus\libraries\vhdl directory.