AR# 34371

MIG 7 Series and Virtex-6 DDR2/DDR3 Solution Center - Design Assistant - Auto-Refresh Counter (Refresh Period)


This section of the MIG Design Assistant focuses on refresh, defined by the JEDEC Specification as it applies to the MIG 7 Series and Virtex-6 DDR3/DDR2 designs.

NOTE: This Answer Record is part of the Xilinx MIG Solution Center (Xilinx Answer 34243) The Xilinx MIG Solution Center is available to address all questions related to MIG. Whether you are starting a new design with MIG or troubleshooting a problem, use the MIG Solution Center to guide you to the right information.


The MIG controller is set up by default to automatically send a refresh command every 7.8 microseconds. This auto-generated refresh adheres to the JEDEC specification. An internal counter is used for the auto-refresh period and is set by the TREFI parameter. When the counter expires, the refresh is automatically sent.

Changing the Auto-Refresh Period

MIG does not support turning auto-refresh off. However, it is possible to change the period between refresh commands. The parameter for the refresh period is TREFI.

By default, TREFI is 7.8 microseconds;depending on the temperature you are running the memory, you might want to change this setting. The allowable range for the refresh rate is 3.9 to 7.8 microseconds.

NOTE: Using the Create Custom Part feature, available in the MIG tool, allows the refresh period (trefi - average periodic refresh interval) to be defined within the tool and the corresponding MIG parameters to be set properly.

Manually Sending Refresh

The MIG design includes the ability to manually send a refresh command. The signal app_ref_req, not pulled out to the top level of the user interface, can be used to manually request a refresh. This signal is located in the mem_intfc.v/.vhd module.Asserting this signal tells the memory controller to send out a refresh command. When the refresh is sent, the counter (set through the TREFI parameter) is reset.

It is recommended that users let the controller send these commands at regular intervals to ensure the JEDEC refresh requirements are met, but this signal can be used when needed.

Postponing and Pulling-in Refresh

(Xilinx Answer 42309) Virtex-6 and 7 Series DDR3 - Postponing and Pulling-in REFRESH commands

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
51684 MIG 7 Series DDR2/DDR3 - JEDEC Specification N/A N/A
34243 Xilinx Memory Interface Solution Center N/A N/A

Child Answer Records

Associated Answer Records

AR# 34371
Date 09/18/2012
Status Active
Type Solution Center
Devices More Less