AN 747: Implementing PHYLite in Intel® Arria® 10 Devices Design Examples

ID 683384
Date 5/08/2017
Public

1.2.2.4. Running the Hardware Reference Design

Follow the steps below to run dynamic calibration and start the data transfer for the hardware reference design.

  1. In the Intel® Quartus® Prime software installation directory in your host machine and double click on Nios II Command Shell.bat to launch the command prompt window (command prompt A). Repeat this step to launch the second command shell (command prompt B).
    Command prompt A is to display the dynamic calibration result. Command prompt B is used to run Nios II commands.
  2. In command prompt A, use the following command to run the Nios II terminal application for result printouts.
    nios2-terminal
  3. In command prompt B, go to the project top directory.
    cd <project directory>
  4. Run the issp.tcl script once to reset the system and clean up the instruction memory in the Nios II soft processor.
    quartus_stp -t issp.tcl top.qpf 1 1
    Note: Ignore the failing dynamic calibration result displayed in command prompt A. This is the result from the original executable code in the Nios II memory and is not relevant to the design example.
  5. In command prompt B, download the executable (phylite_nios_1DQ2DQS_new.elf) file into the FPGA and start the dynamic calibration process with the following command:
    nios2-download -r -g software/phylite_nios_1DQ2DQS_new/phylite_nios_1DQ2DQS_new.elf
    You may observe the passing dynamic calibration result displayed in command prompt A.
  6. When the Nios II instruction memory is cleaned and calibration is done, run the following command in command prompt B to reset the system, start the random data transfer and capture internal signals.
    quartus_stp -t issp.tcl top.qpf 1 1 1
    Note: You will see sent and received data displayed in command prompt B after running the command.