Ashling* RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide
Visible to Intel only — GUID: zpl1741877526664
Ixiasoft
Visible to Intel only — GUID: zpl1741877526664
Ixiasoft
3.3.6.6. Configuring the Program Counter Manually
The Ashling* Visual Studio Code Extension provides the feature to change the processor's program counter during debugging. Use this feature with caution.
If not done carefully, changing the program counter can lead to inconsistent program states, unexpected behaviour, or crashes. Altera recommends this option for you if you have advanced knowledge and a thorough understanding of the program's logic and state.
- Navigate to Startup tab. Click Run Commands > Set program counter at (hex).
- Provide any instruction memory address in HEX.
- You may refer to the objdump file to locate the interested instruction memory address.
- Start debugging, and the processor jumps to the specified instruction memory address.
Figure 148. Set Program Counter at (hex) in Startup Tab