External Memory Interface Handbook Volume 3: Reference Material: For UniPHY-based Device Families

ID 683841
Date 3/06/2023
Public
Document Table of Contents

16.10.1. Configuring the Traffic Generator 2.0

The traffic generator replaces user logic to generate traffic to the external memory. You must incorporate the traffic generator design into the EMIF IP design during IP generation.

When you generate the example design in the parameter editor, the traffic generator module and EMIF IP are generated together. If you have an example design with the Traffic Generator 2.0 enabled, you can configure the traffic pattern using the EMIF Debug Toolkit.

Figure 214. Traffic Generator 2.0 Generated with EMIF IP in Example Design Mode

Generating the External Memory Interface

  1. Select the FPGA and Memory parameters.
  2. On the Diagnostics tab, configure the following parameters:
    1. Select Use Configurable Avalon Traffic Generator 2.0.
    2. Configure the desired traffic pattern, by specifying traffic patterns to be bypassed. The traffic pattern not bypassed is issued to the memory immediately after completion of calibration. You can choose to bypass any of the following traffic patterns:
      • Bypass the default traffic pattern Specifies not to use the default traffic patterns from the traffic generator. The default patterns include single read/write, byte-enabled read/write, and block read/write.
      • Bypass the user-configured traffic stage. Specifies to skip the stage that uses the user-defined test bench file to configure the traffic generator in simulation.
      • Bypass the traffic generator repeated-writes/repeated-reads test pattern. Bypasses the traffic generator's repeat test stage, which causes every write and read to be repeated several times.
      • Bypass the traffic generator stress pattern. Bypasses a test stage intended to stress-test signal integrity and memory interface calibration.
      • Export Traffic Generator 2.0 configuration interface. Instantiates a port for traffic generator configuration. Use this port if the traffic generator is to be configured by user logic.
  3. Click Generate Example Design to generate the EMIF IP, including the Traffic Generator 2.0 design, with the traffic pattern that you have configured.
    Note: If you click the Generate HDL option instead, the Traffic Generator 2.0 design is not included in the generated IP.
Figure 215. Enabling the Traffic Generator 2.0 in the Parameter Editor