Ashling* RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide

ID 730783
Date 4/11/2025
Public
Document Table of Contents

3.3.6.5. Hardware Breakpoint

Follow these steps to use hardware breakpoint:

  1. In the Debug Configuration window, click Startup tab.
  2. Under Run Commands, enable Use hardware breakpoints only and set 1 hardware breakpoint.
    Note: Nios® V processor only supports one trigger.
  3. Enable Set breakpoint at: and set the location you want to set the breakpoint.
    Figure 146. Set Hardware Breakpoint
  4. Click Debug.
  5. To make sure the hardware breakpoint is in the correct location, you can check the value in the tdata2 register in the VARIABLES > Registers > CPU.
    Figure 147. Value in tdata2 Register

This example shows how to use the hardware breakpoint with set the breakpoint. The breakpoint is set at main, which is 0x37c that shown in tdata2. The breakpoint pauses the execution at the first code within the main.