Parameters

Parameter Type Required Description
LPM_WIDTH Integer Yes

Width of dio[] and internal 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. 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".

LPM_ADDRESS_CONTROL String No

Values are "REGISTERED", "UNREGISTERED", and "UNUSED". Controls whether the address[], memenab, and we ports are registered. If omitted, the default is "REGISTERED".

LPM_OUTDATA String No

Values are "REGISTERED", "UNREGISTERED", and "UNUSED". Controls whether the dio[] port is registered. If omitted, the default is "REGISTERED".

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". This parameter is not available for simulation with other EDA simulators and for MAX3000 and MAX7000 devices. If you want 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) Definition or a Verilog Design File (.v) Definition