lpm_constant Megafunction
Parameterized constant generator megafunction. Intel recommends
using the CONSTANT
primitive or AHDL Constant
Statements rather than lpm_constant
for easier implementation and to improve compilation time. However,
lpm_constant
may be useful if you need to convert a parameter into a constant.
The lpm_constant megafunction is available for all Intel
devices.
Intel recommends instantiating this function with the IP Catalog.
Note:
- You can use the
lpm_constant
megafunction to read data from and write data to in-system memory in devices with the In-System Memory Content Editor. To use thelpm_constant
megafunction with the In-System Memory Content Editor, you must turn on the Allow In-System Memory Content Editor to capture and update content independently of the system clock option (that is, theENABLE_RUNTIME_MOD
andINSTANCE_NAME
parameters must be enabled) when instantiating thelpm_constant
megafunction with the IP Catalog . - When you create your megafunction, you can use the IP Catalog to generate a netlist for third-party synthesis tools.