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

ID 772632
Date 11/18/2024
Public
Document Table of Contents

2.9. Using the EMIF Design Example with the Test Engine IP

The test engine IP is a software-programmable AXI traffic generator that generates a configurable pattern of reads and writes to a programmable memory address range. You can modify the length of the default traffic on the Design Example tab.
Figure 28. Using the Test Engine IP

Follow these steps to use the EMIF Design Example with the Test Engine IP.

  1. Change directory to the location where the .bin folder resides. (By default, this is the /qii folder.)
  2. At the command line, type the following:

    system-console --script=<path to testengine_library.tcl> --sof=<path to sof_file> --update=1 --n-loops=1

    Example:

    system-console --script=hydra_sw/testengine_library.tcl --sof=ed_synth.sof --update=1 --n-loops=1

    This example reprograms the driver with the traffic pattern in the .bin folder, and runs the traffic test for 1 loop. If you do not want to reprogram the driver, change --update=1 to --update=0.

The main advantage of the new test engine IP is that you don't need to recompile your entire design when you change or modify the traffic pattern. You need only regenerate the test engine pattern binary files. For additional information on test engine IP functions, refer to the testengine_library.tcl file.