Nios® V Embedded Processor Design Handbook

ID 726952
Date 7/08/2024
Public
Document Table of Contents

6.2.3.3.1. Performing Data Capture with Ashling* RiscFree* IDE for Intel® FPGAs

To use the Signal Tap logic analyzer with the Ashling* RiscFree* IDE for Intel® FPGAs, you must manually download a Nios® V processor software image and control the operation of the processor through the debugger. You can perform this type of capture session when you are developing and debugging a Nios® V processor software application.
Follow these steps to run a Signal Tap capture session with the Nios® V processor controlled by the Ashling* RiscFree* IDE for Intel® FPGAs:
  1. In the Signal Tap window, program the FPGA target device with the .sof generated:
    • On the Hardware menu, select the programming cable that is connected to the FPGA development board.
    • In the SOF Manager field, click browse.
    • In the Select Programming File dialog box, select the .sof generated.
    • Click Open. The Program Device button is now available.
    • Click the Program Device button to download the .sof to the FPGA.
  2. In the Signal Tap window, in the Instance Manager pane, click the Run Analysis button to start the logic analyzer capture session.
  3. In the Ashling* RiscFree* IDE for Intel® FPGAs, right-click the name of the software project you want to run on the Nios® V processor and click Debug As > Debug Configuration > Ashling RISC-V Hardware Debugging.
  4. Set the necessary debug configuration. This action starts the debugger, downloads the .elf into system memory, and halts the processor on the entry point to main().
  5. On the Debug tab, click the Resume button to start the Nios® V processor execution

The Signal Tap logic analyzer continues running until the trigger condition specified is reached. While the Signal Tap logic analyzer is running, you can use the Ashling* RiscFree* IDE for Intel® FPGAs debugger at the same time safely (for example, you can set breakpoints and stop the processor).

To change the startup breakpoint, follow these steps in the Ashling* RiscFree* IDE for Intel® FPGAs:
  1. On the Run menu, click Debug Configurations.
  2. The Debug Configurations window appears.
  3. In the Debug Configurations window, click the Startup tab.
  4. Specify a new startup breakpoint at Set breakpoint at.
  5. Click Apply.

Alternatively, instead of using the Debug As option, you can use the Run As option. Using the Run As option causes the Ashling* RiscFree* IDE for Intel® FPGAs to download and run the software image from system memory without starting the debugger feature.