External Memory Interface Handbook Volume 3: Reference Material

ID 683841
Date 7/24/2019
Public
Document Table of Contents

12.1.5. Compiling and Testing the Design in Hardware

This section explains how to compile and test your EMIF example design in hardware.
Figure 175. Procedure for Testing in Hardware

Follow these steps to compile and test the design in hardware:

  1. Before compiling a design, select a method for controlling and monitoring the following pins:
    • global_reset_reset_n
    • <variation_name>_status_local_cal_fail
    • <variation_name>_status_local_cal_success
    • <variation_name>_tg_0_traffic_gen_fail
    • <variation_name>_tg_0_traffic_gen_pass
    • <variation_name>_tg_0_traffic_gen_timeout
    • Additional pins that may exist if the example design contains more than one traffic generator.
  2. Assign pins by one of the following means, as appropriate for your situation:
    • If you have selected a development kit preset, the above pins are automatically assigned to switches and LEDs on the board. See the documentation accompanying your specific development kit for details.
    • If you are using a non-development kit board, assign the above pins to appropriate locations on your board.
    • Alternatively, the above pins can be controlled and monitored using Intel in-system sources and probes. To instantiate these in your design, add the following line to your (.qsf) file: set_global_assignment -name VERILOG_MACRO "ALTERA_EMIF_ENABLE_ISSP=1"
  3. Compile the design by clicking Processing > Start Compilation in the Quartus Prime software.
  4. Configure the FPGA on the board using the generated (.sof) file.
  5. Issue a reset on the global_reset_reset_n port. If the traffic generator test completes successfully, the <variation_name>_status_local_cal_success and <variation_name>_tg_0_traffic_gen_pass signals will go high, indicating success.
  6. If you are using the Traffic Generator 2.0, you can configure and monitor the traffic generator using the EMIF Debug Toolkit. Refer to Configuring the Traffic Generator 2.0.

Did you find the information on this page useful?

Characters remaining:

Feedback Message