Visible to Intel only — GUID: flc1741741857531
Ixiasoft
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
Visible to Intel only — GUID: flc1741741857531
Ixiasoft
3.3.2. Creating Nios® V Processor Application Project using Nios® V App Generator
Note: You have to generate your BSP before generating the Nios® V Processor Application Project.
Follow these steps to create a Nios® V processor application project for Visual Studio Code.
- Click the Ashling icon to open the Ashling Sidebar.
Figure 111. Ashling Sidebar
- Go to Ashling Project View > Tools > Nios V APP Generator.
Figure 112. Nios V App Generator
- A Create Nios V Application window appears. For Existing BSP location, click the ... icon to identify the App location automatically.
Figure 113. Create Nios V Application - Existing BSP location and App Location
- Select the sample code in the Sample selection.
Figure 114. Create Nios V Application – Sample Selection
The default sample selections are hello_ucosii and hello_world.
Note: You can manually add your custom sample code folder to the following directory: <Quartus Installation Directory>\niosv\examples\software. Once you place the sample code folder in this directory, it is available in the Sample selection drop-down menu.Figure 115. Manually Adding Custom Sample Code to Sample Selection Menu (in VS Code)This figure shows the manually added sample code, which is hello_from_niosvg.
Figure 116. Manually Adding Custom Sample Code to Sample Selection Menu (in Quartus® Prime Installation Folder) - Leave the Add application to the workspace option as default and click Create. Once the application is successfully generated, you can find the prints in the terminal as shown in the following diagram.
Figure 117. Terminal PrintsNote: If you want to include more sources into the CMakeLists.txt, you can use the up arrow key to retrieve the previous command (niosv-app) in the terminal.