Parameters

Parameter Type Required Description

LPM_WIDTH

Integer Yes

Width of the q[] port.

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 are not addressable. If it is too large, the addresses that are too high return undefined 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 Yes

Name of the Memory Initialization File (.mif) Definition or Hexadecimal (Intel-Format) Output File (.hexout) Definition containing ROM initialization data ("<file name>"), or "UNUSED".

LPM_ADDRESS_CONTROL

String No

Values are "REGISTERED", "UNREGISTERED", and "UNUSED". Indicates whether the address port is registered. If omitted, the default is "REGISTERED".

LPM_OUTDATA

String No

Values are "REGISTERED", "UNREGISTERED", and "UNUSED". Indicates whether the q and eq ports are registered. If omitted, the default is "REGISTERED".