AN 888: PHY Lite for Parallel Interfaces Reference Design with Dynamic Reconfiguration for Intel® Stratix® 10 Devices

ID 683220
Date 9/11/2020
Public
Document Table of Contents

1.7.3. Running the Hardware Reference Design

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

Remove all other connected devices in the programming device list during JTAG connection setup in your operating system.

  1. Open two Nios® II Command Shell prompts on your host machine:
    1. For Windows operating system:
      1. In the Intel® Quartus® Prime Pro Edition 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).
    2. For Linux operating system:
      1. Go to <Quartus software installation directory> \linux64\nios2ed directory and run nios2_command_shell.sh to launch the command prompt window (command prompt A).
    3. 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. In command prompt B, download the executable (<project_name>.elf) file into the FPGA and start the dynamic calibration process with the following command:
    nios2-download -r -g software/<project_name>/<project_name>.elf

    or

    nios2-download -r -g software/phylite_top/s10_devkit.elf
    You may observe the passing dynamic calibration result displayed in command prompt A.
  5. 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
    Note: Sent and received data are displayed in command prompt B after running the command.