Parameterizable Macros for Intel FPGAs User Guide

ID 772350
Date 4/17/2023
Public

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

5.2.2. Parameters

Table 8.  SYNC_FIFO Parameterizable Macros Parameters
Parameter Allowed Values Description
DATA_WIDTH 8 Specifies the width of the data and q ports.
ADDR_WIDTH 11 Specifies the width of the usedw port.
ENABLE_ACLR

ON

OFF

Specifies whether to set ENABLE_ACLR parameter ON or OFF. Asynchronous clear choice for data output of FIFO.
ENABLE_SCLR

ON

OFF

Specifies whether to ENABLE_SCLR parameter ON or OFF. Synchronous clear choice for data output of FIFO.
ENABLE_SHOWAHEAD

ON

OFF

Specifies whether the FIFO is in normal mode (OFF) or show-ahead mode (ON).

For normal mode, the FIFO treats the rdreq port as a normal read request that only performs read operation when the port is asserted.

For show-ahead mode, FIFO treats the rdreq port as a read-acknowledge that automatically outputs the first word of valid data in the FIFO (when the empty port is low) without asserting the rdreq signal. Asserting the rdreq signal causes the FIFO IP to output the next data word, if available.

Setting ON to this parameter may reduce performance.

MAXIMUM_DEPTH 2048 Maximum depth. You can set the preferred maximum depth with MAXIMUM_DEPTH=<depth>. The value assigned must comply with this equation: 2^ADDR_WIDTH
OVERFLOW_CHECKING

ON

OFF

Specifies whether or not to enable the protection circuitry for overflow checking that disables the wrreq port when the FIFO is full. The values are ON or OFF. If omitted, the default is ON.
UNDERFLOW_CHECKING

ON

OFF

Specifies whether or not to enable the protection circuitry for underflow checking that disables the rdreq port when the FIFO is empty. The values are ON or OFF. If omitted, the default is ON.

Note that reading from an empty SCFIFO gives unpredictable results.

RAM_BLOCK_TYPE

AUTO

MLAB

M20K

Specifies the target device’s Memory Block to be used: "Auto", "MLAB", "M20K".
ADD_RAM_OUTPUT_REGISTER

ON

OFF

Specifies whether to register the q output. The values are ON and OFF. The default value is OFF.
ALMOST_FULL_VALUE 1 Sets the threshold value for the almost_full port. When the number of words stored in the FIFO is greater than or equal to this value, the almost_full port is asserted.
ALMOST_EMPTY_VALUE 1 Sets the threshold value for the almost_empty port. When the number of words stored in the FIFO is lesser than this value, the almost_empty port is asserted.
ALLOW_RWCYCLE_WHEN_FULL

ON

OFF

Allows you to combine read and write cycles to an already full SCFIFO, so that it remains full. The values are ON and OFF. The default is OFF. Use this parameter only when the OVERFLOW_CHECKING parameter is set to ON.
BYTE_SIZE

5

8

9

10

Specifies the size of the byte for byte-enable mode
BYTE_EN_WIDTH 1

Width of the byte-enable bus at Port A.

This width should be equal to DATA_WIDTH divided by BYTE_SIZE.