User guide

Table Of Contents
About This Document...................................................................................................1
Welcome to the Nios II IDE...........................................................................................3
What's New in the Nios II IDE .......................................................................................7
Tutorials ..................................................................................................................10
About Tutorials....................................................................................................... 10
Creating a Nios II C/C++ Application Project ..............................................................11
Building the Project................................................................................................. 13
Running the Project ................................................................................................14
Debugging the Project.............................................................................................17
Editing the Project Properties ...................................................................................26
Creating Projects.......................................................................................................29
About Nios II IDE Projects........................................................................................ 29
About the Nios II IDE Managed-Make Build Environment .............................................. 31
Creating a New Project............................................................................................37
Importing, Exporting, and Sharing Projects and Files ................................................... 41
Indexing and Searching Project Contents ................................................................... 45
Configuring Projects................................................................................................... 46
About Project Properties .......................................................................................... 46
Configuring Project Properties .................................................................................. 47
Choosing and Configuring an Operating System .......................................................... 48
Choosing and Configuring Software Packages .............................................................50
Configuring Project Dependencies ............................................................................. 51
Editing Code.............................................................................................................53
About Editing Code ................................................................................................. 53
Building Projects .......................................................................................................54
About Building Projects............................................................................................ 54
Building a Project ................................................................................................... 55
Running and Debugging Projects .................................................................................56
About Running and Debugging Projects...................................................................... 56
Configuring the FPGA .............................................................................................. 59
Running and Debugging on Hardware........................................................................ 61
Running and Debugging on the ISS...........................................................................63
Running on the ModelSim Simulator.......................................................................... 65
Running and Debugging Multiprocessor Collections ...................................................... 66
Viewing Execution Trace .......................................................................................... 68
Viewing Disassembly............................................................................................... 70
Profiling Execution Performance................................................................................... 72
About Profiling with the Nios II IDE ........................................................................... 72
ii