Parameterizable Macros for Intel® FPGAs User Guide

ID 772350
Date 10/02/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.2. Simple Dual-Port RAM Parameterizable Macro Parameters

Table 2.  Simple Dual-Port RAM Parameterizable Macro Parameters
Name Allowed Values Description
ADDR_ACLR_B

NONE

CLEAR0

Clear for read address registers at Port B.
ADDR_REG_CLK_B

CLOCK1

CLOCK0

Clock choice for address registers at Port B.
ADDR_WIDTH_A Device and DATA_WIDTH_A dependent Specifies the width of the usedw port. The default value is 11.
ADDR_WIDTH_B Device and DATA_WIDTH_B dependent Specifies the width of the usedw port. The default value is 11.
RDCONTROL_REG_B

CLOCK1

CLOCK0

Clock choice for read control registers at Port B.
BYTEENA_REG_B

CLOCK1

CLOCK0

Clock for byte enable registers at Port B.
BYTE_EN_WIDTH_A 1 Width of the byte enable bus at Port A. The width for BYTE_EN_WIDTH_A should be equal to DATA_WIDTH_A divided by BYTE_SIZE.
BYTE_SIZE

5

8

9

10

Specifies the size of the byte for byte-enable mode.
OUT_DATA_ACLR_B

CLEAR1

CLEAR0

NONE

Asynchronous clear for data output registers at Port B. When OUT_DATA_REG_CLK_B is set to UNREGISTERED, this parameter specifies the clearing parameter for the output latch.
OUT_DATA_REG_CLK_B

UNREGISTERED

CLOCK1

CLOCK0

Clock choice for data output registers at Port B.
OUT_DATA_SCLR_B

NONE

SCLEAR

Synchronous clear for data output registers at Port B. When OUT_DATA_REG_CLK_B is set to UNREGISTERED, this parameter specifies the clearing parameter for the output latch.
DATA_WIDTH_A Device and ADDR_WIDTH_A dependent Specifies the width of the data and q ports. The default value is 8.
DATA_WIDTH_B Device and ADDR_WIDTH_A dependent Specifies the width of the data and q ports. The default value is 8.
INIT_FILE

*.mif

*.hex

Specifies the initialization file.
INIT_FILE_LAYOUT

PORT_A

PORT_B
Specifies the layout of the initialization file.
IN_CLOCK_EN_A

NORMAL

BYPASS

Specifies the clock enable for the input registers of Port A.
IN_CLOCK_EN_B

NORMAL

BYPASS

Specifies the clock enable for the input registers of Port B.
MAX_DEPTH 2048 Specifies the depth of the RAM slices.
OUT_CLOCK_EN_B

NORMAL

BYPASS

Specifies the clock enable for the output registers of Port B.
READ_DURING_WRITE_MODE_MIXED_PORTS

DONT_CARE

NEW_DATA

OLD_DATA

The behavior of read-during-write mode in mixed-ports.

  • The value of NEW_DATA is supported only when the read address and output data are registered by the write clock in the MLAB mode.
  • The value of DONT_CARE is supported only in the MLAB mode.