External Memory Interfaces Agilex™ 7 M-Series FPGA IP User Guide

ID 772538
Date 3/18/2025
Public

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

Document Table of Contents

12.1.5.2. Example 2: Reading the Memory Clock Frequency for an Interface

This example illustrates the reading of the current memory clock frequency for an interface in the IO96B from read-only registers.

The values in this example are for illustrative purposes and are obtained from an EMIF example design with DDR4 x32 + ECC running at 800MHz on the Agilex™ 7 FPGA E-Series 065B Development Kit - Premium. This configuration uses the Primary MC of the Primary IO96B.

Base address=0x500_0000

Address for each read-only register = Base address + offset of each register

Register Name Byte Offset (Hexadecimal) Address (Hexadecimal)
MEMCLK_FREQ_FSP_CUR_INTF0 0x220 0x5000220

The expected read_data=0x000c_3500