AR# 44093


MIG Spartan-6 DDR2/DDR3 - Traffic Generator Details and Usage


The MIG Spartan-6 DDR2/DDR3 design includes two output designs; the Example Design and User Design. The Example Design includes sample logic to drive the user interface. This is called the Traffic Generator. The design sends sample writes, reads back the data, and compares the data to ensure accuracy. The design can be configured to send different types of data patterns to test for different types of problems. This Answer Record focuses on the Traffic Generator available with the MIG Spartan-6 DDR2/DDR3 Example Design.

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.


Xilinx recommends first running the Example Design in hardware to confirm there are no board or pinout related issues. If the MIG design is used without modification and the provided PCB Layout Guidelines are followed, no issues should be seen in hardware with the Example Design. For additional information, please see the following Answer Records:

The Traffic Generator, by default, sends an address as a data pattern. However, the design can be configured to send many different types of data patterns like a Hammer pattern to test for SSO or a PRBS pattern. For full details on the Traffic Generator and available data patterns, see the DDR2/DDR3 SDRAM Memory Interface Solution > Getting Started > Quick Start Example Design section of UG416. This section also explains how to change the data pattern for simulation or using the ChipScope tool in hardware with the Debug Port.

For information on the Debug Port, see (Xilinx Answer 43539).

Addressing The Traffic Generator includes four parameters that control the address space that will be tested in the traffic generator.

The BEGIN/END_ADDRESS parameters define the address space to be tested. The PRBS_S/EADDR_MASK_POS parameters are used to mask off any bits that are outside the address range. Any bits above or below your defined address range should be masked off using the PRBS parameter. Following is example:

localparam C4_p0_BEGIN_ADDRESS = 32'h00000400;
localparam C4_p0_END_ADDRESS = 32'h000007ff;
localparam C4_p0_PRBS_EADDR_MASK_POS = 32'hfffff800;
localparam C4_p0_PRBS_SADDR_MASK_POS = 32'h00000400;

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
37496 Xilinx Spartan-6 MIG Solution Center - Design Assistant N/A N/A

Associated Answer Records

AR# 44093
Date 03/01/2013
Status Active
Type General Article
People Also Viewed