Parameters

Parameter Type Required Description
WIDTH Integer Yes

Width of data[], q[]_a, and q[]_b ports.

WIDTHAD Integer Yes

Width of the rdaddress_a[], rdaddress_b[], and wraddress[] ports.

NUMWORDS Integer No

Number of words stored in memory. This value must be within the range 2 ^ WIDTHAD-1 < NUMWORDS <= 2 ^ WIDTHAD. If omitted, the default is 2 ^ WIDTHAD.

LPM_FILE String No

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

WRITE_REG String No

Determines the clock used by the wraddress[] and wren ports. Values are "UNREGISTERED" and "INCLOCK". If omitted, the default is "INCLOCK".

WRITE_ACLR String No

Defines whether aclr affects the wraddress[] port register. Values are "ON" and "OFF". If omitted, the default is "ON".

RDADDRESS_REG_A String No

Determines the clock used by the rdaddress_a[] port. Values are "UNREGISTERED", "INCLOCK", and "OUTCLOCK". If omitted, the default is "INCLOCK".

RDADDRESS_REG_B String No

Determines the clock used by the rdaddress_b[] port. Values are "UNREGISTERED", "INCLOCK", and "OUTCLOCK". If omitted, the default is "INCLOCK".

RDADDRESS_ACLR_A String No

Defines whether aclr affects the rdaddress_a[] port. Values are "ON" and "OFF". If omitted, the default is "ON".

RDADDRESS_ACLR_B String No

Defines whether aclr affects the rdaddress_b[] port. Values are "ON" and "OFF". If omitted, the default is "ON".

RDCONTROL_REG_A String No

Determines the clock used by the rden_a port. Values are "UNREGISTERED", "INCLOCK", and "OUTCLOCK". If omitted, the default is "INCLOCK".

RDCONTROL_REG_B String No

Determines the clock used by the rden_b port. Values are "UNREGISTERED", "INCLOCK", and "OUTCLOCK". If omitted, the default is "INCLOCK".

RDCONTROL_ACLR_A String No

Specifies whether aclr affects the rden_a port register. Values are "ON" and "OFF". If omitted, the default is "ON".

RDCONTROL_ACLR_B String No

Specifies whether aclr affects the rden_b port register. Values are "ON" and "OFF". If omitted, the default is "ON".

INDATA_REG String No

Determines the clock used by the data[] port. Values are "UNREGISTERED" and "INCLOCK". If omitted, the default is "INCLOCK".

INDATA_ACLR String No

Defines whether aclr affects the data[] port register. Values are "ON" and "OFF". If omitted, the default is "ON".

OUTDATA_REG_A String No

Determines the clock used by the q_a[] port. Values are "UNREGISTERED" and "OUTCLOCK". If omitted, the default is "OUTCLOCK".

OUTDATA_REG_B String No

Determines the clock used by the q_b[] port. Values are "UNREGISTERED" and "OUTCLOCK". If omitted, the default is "OUTCLOCK".

OUTDATA_ACLR_A String No

Defines whether aclr affects the q_a[] port register. Values are "ON" and "OFF". If omitted, the default is "ON".

OUTDATA_ACLR_B String No

Defines whether aclr affects the q_b[] port register. Values are "ON" and "OFF". If omitted, the default is "ON".

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". (The "ON" setting is not useful in memory functions: the Quartus® Prime software automatically implements memory functions in ESBs or EABs by default.) This parameter is not available for simulation with other EDA simulators.