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

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

2.3.5.5. Hardware Breakpoint

RiscFree* IDE for Altera® FPGAs supports hardware breakpoint when debugging on On-Chip ROM or flash. Follow these steps to use hardware breakpoint:
  1. Set a hardware breakpoint at main() by right click on the left-margin of the line containing main().
    Figure 38. Set Hardware Breakpoint
  2. To make sure the hardware breakpoint is in the correct location, you can check the value in the tdata2 register in the Window > Show View > Other… > Registers > CSR.
    Figure 39. Value in tdata2 Register
Figure 40. Difference between Hardware and Software Breakpoints