Hybrid Memory Cube Controller Design Example User Guide

ID 683817
Date 5/02/2016
Public

1.7. Compiling and Testing the Design Example in Hardware

To compile and run a demonstration test on the hardware design example, follow these steps:

  1. Ensure hardware design example generation is complete.
  2. In the Quartus® Prime software, open the Quartus® Prime project <example_design_install_dir>/example_design/par/hmcc_example.qpf.
  3. In the Compilation Dashboard, click Compile Design ( Intel® Quartus® Prime Pro Edition) or choose Processing > Start Compilation ( Intel® Quartus® Prime Standard Edition).
  4. After you generate a .sof, follow these steps to program the hardware design example on the Arria 10 device:
    1. Choose Tools > Programmer.
    2. In the Programmer, click Hardware Setup.
    3. Select a programming device.
    4. Select and add the Arria 10 GX FPGA Development Kit to which your Quartus® Prime session can connect.
    5. Ensure that Mode is set to JTAG.
    6. Click Auto Detect and choose any device.
    7. Double-click the Arria 10 device.
    8. Open the .sof in <example_design_install_dir>/example_design/par/output_files,
      Note: The Quartus® Prime software changes the device to the one in the .sof.
    9. In the row with your .sof, check the box in the Program/Configure column.
    10. Click Start.
    11. After the software configures the device with the hardware design example, observe the board LEDs:
      • A blinking red LED signifies the design is running.
      • Two green LEDs near the red blinking LED signifies that the HMC link is initialized and the test passed.
      • One red LED near the red blinking LED signifies that the test failed.
    12. Optional. Use the System Console testbench to observe additional test output.
      Note: Use the System Console to monitor status signals in the design example when the board is connected to your computer via the JTAG interface. The System Console shows the board's LED status for remote monitoring, the initialization status for each step, and the status of each port’s request generator and response checker. The System Console also provides an interface to start or re-start the test.
      1. Choose Tools > System Debugging Tools > System Console.
      2. In the System Console, choose File > Execute Script.
      3. Open the file <example_design_install_dir>/example_design/par/sysconsole_testbench.tcl.
      4. The software loads graphical test output. Choose Re-start to run the test again.
Figure 8. System Console Testbench Output