Parameters

Parameter Type Required Description
LPM_WIDTH Integer Yes

Width of data[] and q[] ports.

LPM_WIDTHAD Integer Yes

Width of the address port. LPM_WIDTHAD should be (but is not required to be) equal to log2(LPM_NUMWORDS). If LPM_WIDTHAD is too small, some memory locations will not be addressable. If it is too large, the addresses that are too high will return undefined (X) logic levels.

LPM_NUMWORDS Integer No

Number of words stored in memory. If omitted, the default is 2^LPM_WIDTHAD. In general, this value should be (but is not required to be) 2^LPM_WIDTHAD-1 < LPM_NUMWORDS<=2^LPM_WIDTHAD. If omitted, the default is 2^LPM_WIDTHAD.

LPM_FILE String No

Name of the Memory Initialization File (.mif) Definition or Hexadecimal (Intel-Format) Output File (.hexout) Definition containing ROM initialization data ("<file name>"), or "UNUSED". If omitted, contents default to all 0s. The we port must be registered to support memory initialization.

LPM_INDATA String No

Values are "REGISTERED", "UNREGISTERED", and "UNUSED". Controls whether the data port is registered. If omitted, the default is "REGISTERED". If the inclock port is not used, the LPM_INDATA and LPM_ADDRESS_CONTROL parameters should be set to "UNREGISTERED".

LPM_ADDRESS_CONTROL String No

Values are "REGISTERED", "UNREGISTERED", and "UNUSED". Controls whether the address and we ports are registered. If omitted, the default is "REGISTERED". If LPM_ADDRESS_CONTROL is "UNREGISTERED", the we port is level-sensitive, so that when the we port is high, the address[] port must be stable to prevent other memory locations from being overwritten. If the inclock port is not used, the LPM_INDATA and LPM_ADDRESS_CONTROL parameters should be set to "UNREGISTERED".

LPM_OUTDATA String No

Values are "REGISTERED", "UNREGISTERED", and "UNUSED". Controls whether the q and internal eq ports are registered. If omitted, the default is "REGISTERED". If the outclock port is not used, the LPM_OUTDATA parameter should be set to "UNREGISTERED".

ENABLE_RUNTIME_MOD String No

Intel-specific parameter. You must use the LPM_HINT parameter to specify the ENABLE_RUNTIME_MOD parameter in VHDL Design Files. Values are "YES" or "NO". The ENABLE_RUNTIME_MOD allows you to use the lpm_ram_dq Intel® FPGA IP with the In-System Memory Content Editor. When the ENABLE_RUNTIME_MOD parameter is specified to YES, the INSTANCE_NAME must be specified. If omitted, the default is NONE.

INSTANCE_NAME String No

Intel-specific parameter. You must use the LPM_HINT parameter to specify the INSTANCE_NAME parameter in VHDL Design Files. String values must be a maximum of 4 characters long. To specify a string value for the INSTANCE_NAME parameter in VHDL Design Files, you must use the LPM_HINT parameter. The INSTANCE_NAME parameter is used to identify the instance used with the In-System Memory Content Editor. The value of the INSTANCE_NAME parameter appears in the Instance ID column of the In-System Memory Content Editor.

USE_EAB String No

Intel-specific parameter. You must use the LPM_HINT parameter to specify the USE_EAB parameter in VHDL Design Files. Values are "ON", "OFF", and "UNUSED". Setting the USE_EAB parameter to OFF prevents the Intel® Quartus® Prime software from using Embedded System Blocks (ESBs) to implement the logic in some obsoleted devices, or Embedded Array Blocks (EABs) in other obsoleted devices; it can only use registers or latches. (The "ON" setting is not useful in memory functions: the Intel® Quartus® Prime software automatically implements memory functions in ESBs or EABs by default.) This parameter is not available for simulation with other EDA simulators and for MAX3000 and MAX7000 devices. If you wish to use this parameter when you instantiate the function in a Block Design File (.bdf) Definition, you must specify it by entering the parameter name and value manually with the Parameters tab in the Symbol Properties dialog box or in the Block Properties dialog box. You can also use this parameter name in a Text Design File (.tdf) or a Verilog Design File (.v) Definition You must use the LPM_HINT parameter to specify the USE_EAB parameter in VHDL Design Files.