Visible to Intel only — GUID: sss1409277566494
Ixiasoft
1.5.1. Install the Design Files
1.5.2. Analyze System Requirements
1.5.3. Start the Software and Open the Example Project
1.5.4. Create a New System
1.5.5. Define the System in
1.5.6. Integrate the System into the Project
1.5.7. Download the Hardware Design to the Target FPGA
1.5.8. Develop Software Using the SBT for Eclipse
1.5.9. Run the Program on Target Hardware
1.5.5.1. Specify Target FPGA and Clock Settings
1.5.5.2. Add the On-Chip Memory
1.5.5.3. Add the Processor Core
1.5.5.4. Add the JTAG UART
1.5.5.5. Add the Interval Timer
1.5.5.6. Add the System ID Peripheral
1.5.5.7. Add the PIO
1.5.5.8. Specify Base Addresses and Interrupt Request Priorities
1.5.5.9. Generate the System
Visible to Intel only — GUID: sss1409277566494
Ixiasoft
1.5.8.1. Create a New Nios II Application and BSP from Template
To create new Nios II C/C++ application and BSP projects, perform the following steps:
- Start the Nios II SBT for Eclipse. On Windows computers, click Start, point to Programs, Altera, Nios II EDS <version>, and then click Nios II <version> Software Build Tools for Eclipse. On Linux computers, run the executable file <Nios II EDS install path>/bin/eclipse-nios2.
- If the Workspace Launcher dialog box appears, click OK to accept the default workspace location.
- On the Window menu, point to Open Perspective, and then either click Nios II, or click Other and then click Nios II to ensure you are using the Nios II perspective.
- On the File menu, point to New, and then click Nios II Application and BSP from Template.
The Nios II Application and BSP from Template wizard appears.
- Under Target hardware information, next to SOPC Information File name, browse to locate the <design files directory>.
- Select first_nios2_system.sopcinfo and click Open.
Nios II Application and BSP from Template wizard will show the current information for the SOPC Information File name and CPU name fields.
- In the Project name box, type count_binary.
- In the Templates list, select Count Binary
- Click Finish.
The Nios II SBT for Eclipse creates and displays the following new projects in the Project Explorer view, typically on the left side of the window:
- count_binary—Your C/C++ application project
- count_binary_bsp—A board support package that encapsulates the details of the Nios II system hardware