Ashling* RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide
ID
730783
Date
9/02/2025
Public
1. About this Document
2. Ashling RiscFree* IDE for Altera® FPGAs
3. Ashling Visual Studio Code Extension for Altera FPGAs
4. Ashling RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide Archives
5. Document Revision History for the Ashling RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide
A. Appendix
2.1. About the RiscFree* IDE for Altera® FPGAs IDE
2.2. Getting Started with the Ashling* RiscFree* IDE for Altera® FPGAs
2.3. Using Ashling* RiscFree* IDE for Altera® FPGAs with Nios® V Processor System
2.4. Using Ashling* RiscFree* IDE for Altera® FPGAs with Arm* Hard Processor System
2.5. Debugging Features with RiscFree* IDE for Altera® FPGAs
2.2.1. Installing RiscFree* IDE for Altera FPGAs
2.2.2. Getting Started with RiscFree* IDE for Altera® FPGAs
2.2.3. Creating the Project
2.2.4. Building the Application
2.2.5. Run and Debug Configurations in the RiscFree* IDE for Altera® FPGAs
2.2.6. Debug Information in the RiscFree* IDE for Altera® FPGAs
2.5.1. Debug Features in RiscFree* IDE
2.5.2. Processor System Debug
2.5.3. Heterogeneous Multicore Debug
2.5.4. Debugging µC/OS-II Application
2.5.5. Debugging FreeRTOS Application
2.5.6. Debugging Zephyr Application
2.5.7. Arm* HPS On-Chip Trace
2.5.8. Debugging the Arm* Linux Kernel
2.5.9. Debugging Target Software in an Intel® Simics Simulator Session
3.1. About the Ashling Visual Studio Code Extension
3.2. Getting Started with Ashling* Visual Studio Code Extension
3.3. Using Ashling* Visual Studio Code Extension with Nios® V Processor System
3.4. Using Ashling* Visual Studio Code Extension with Arm Hard Processor System
3.5. Debugging Features in Ashling* Visual Studio Code Extension
3.3.1. Creating Nios® V Processor BSP using Nios® V Processor BSP Generator
3.3.2. Creating Nios® V Processor Application Project using Nios® V App Generator
3.3.3. Importing Nios® V Processor Project
3.3.4. Building Nios® V Processor Project
3.3.5. Debugging a Nios® V Processor Project
3.3.6. Debugging Tools
2.5.7. Arm* HPS On-Chip Trace
You can configure and capture the Arm HPS On-Chip Trace with Intel® FPGA Download Cable II. The following table shows the Arm* trace sources that generate instruction trace:
Arm Trace Source | Encoding Type | Description | Supported Device |
---|---|---|---|
Program Trace Macrocell (PTM) | PTM | A real-time trace module providing instruction tracing of a processor |
|
Embedded Trace Macrocell (ETM) | ETMv4 | The Arm trace source that captures data and instruction trace |
|
Follow the steps to enable and configure the Trace feature:
- Launch Ashling Arm Hardware Debugging, and click the Trace tab.
Figure 66. Trace Tab
- Click the Enable trace checkbox to enable the trace selected settings. The Trace architecture defaults to Arm Coresight. The trace selected settings appear in the following tab:
- Capture Settings
- Producer Settings
- Trigger/Filter Settings
Figure 67. Capture Settings Sub-Tab
- Under the Capture Settings tab, set this settings:
- Select On-chip.
- Select one of the following Device Buffer Configuration:
- Embedded Trace FIFO (ETF) — stores trace data in small and fixed size trace buffer.
- Embedded Trace Router (ETR) — routes the trace data to the system memory. You need to specify the RAM location and Size .
- Wrap-around — enables overwriting old trace data with the new trace data when the trace buffer is full.
Note: Wrap-around is optional. If you do not select Wrap-around, trace capture stops when the trace buffer is full.
- Under Producer Settings tab, set this settings:
- Select your preferred settings:
- Cycle Accurate Trace — captures trace on all cycles even if there is no trace to output on that cycle.
- Enable context ID — enables the tracing of the ASID and the current process ID.
- Enable timestamp — enables timestamps in your trace.
- For Encoding type, you can select ETMv4 or PTM. Refer to Table Arm Trace Source for more details.
Note: ETMv3 is an older version of ETMv4 and not supported by Intel devices.Figure 68. Producer Settings Sub-tab
- Select your preferred settings:
- Under Trigger/Filter Settings tab, click the Enable trigger checkbox.
Figure 69. Trigger/Filter Settings Tab
- Click Add to bring up the Add Trigger dialog box as shown below:
Figure 70. Add Trigger Dialog Box
- For Trace action, choose one of the following options:
- Trace include— limits trace to the selected address range
- Trace exclude— excludes trace from the selected address range
- Trace start point— starts tracing when the selected address is executed
- Trace stop point— stops tracing when the selected address is executed
- For Core, use the same core that you select in Debugger tab.
- For Access type, select the only available option — Instruction execution as instruction trace and to support trigger.
- For Trace action, choose one of the following options:
- Once you complete the configuration, click Debug.
- Open Trace view via Window > Show > View > Other > Debug > Trace. Click Fetch, decode and populate trace data button on the top right of the window to fetch trace data from the target and display in the Trace view as shown below.
Figure 71. Trace View