External Memory Interfaces Stratix® 10 FPGA IP User Guide

ID 683741
Date 11/28/2024
Public
Document Table of Contents

4.2.2. AFI Address and Command Signals

The address and command signals for AFI 4.0 encode read/write/configuration commands to send to the memory device. The address and command signals are single-data rate signals.
Table 164.  Address and Command Signals 

Signal Name

Direction

Width

Description

afi_addr

Input

AFI_ADDR_WIDTH

Address.

afi_bg

Input

AFI_BANKGROUP_WIDTH

Bank group (DDR4 only).

afi_ba

Input

AFI_BANKADDR_WIDTH

Bank address.

afi_cke

Input

AFI_CLK_EN_WIDTH

Clock enable.

afi_cs_n

Input

AFI_CS_WIDTH

Chip select signal. (The number of chip selects may not match the number of ranks; for example, RDIMMs and LRDIMMs require a minimum of 2 chip select signals for both single-rank and dual-rank configurations. Consult your memory device data sheet for information about chip select signal width.)

afi_ras_n

Input

AFI_CONTROL_WIDTH

RAS# (for DDR3 memory devices.)

afi_we_n

Input

AFI_CONTROL_WIDTH

WE# (for DDR3 memory devices.)

afi_rw_n

Input

AFI_CONTROL_WIDTH * 2

RWA/B# (QDR-IV).

afi_cas_n

Input

AFI_CONTROL_WIDTH

CAS# (for DDR3 memory devices.)

afi_act_n

Input

AFI_CONTROL_WIDTH

ACT# (DDR4).

afi_rst_n

Input

AFI_CONTROL_WIDTH

RESET# (for DDR3 and DDR4 memory devices.)

afi_odt

Input

AFI_CLK_EN_WIDTH

On-die termination signal for DDR3 memory devices. (Do not confuse this memory device signal with the FPGA’s internal on-chip termination signal.)

afi_par

Input

AFI_CS_WIDTH

Address and command parity input. (DDR4)

Address parity input. (QDR-IV)

afi_ainv

Input

AFI_CONTROL_WIDTH

Address inversion. (QDR-IV)

afi_mem_clk_disable

Input

AFI_CLK_PAIR_COUNT

When this signal is asserted, mem_clk and mem_clk_n are disabled. This signal is used in low-power mode.

afi_wps_n

Output

AFI_CS_WIDTH

WPS (for QDR II/II+ memory devices.)

afi_rps_n

Output

AFI_CS_WIDTH

RPS (for QDR II/II+ memory devices.)