Visible to Intel only — GUID: sss1409279536173
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: sss1409279536173
Ixiasoft
1.5.8.2. Compile the Project
You have to compile the project to produce an executable software image. For the tutorial design example, you must first adjust the project settings to minimize the memory footprint of the software, because your hardware system contains only 20 KB of memory. To adjust the project settings and compile the project, perform the following steps:
- In the Project Explorer view, right-click count_binary_bsp and click Properties. The Properties for count_binary_bsp dialog box appears.
- Click the BSP Properties page. The BSP Properties page contains basic software build settings.
Though not needed for this tutorial, note the BSP Editor button in the lower right corner of the dialog box. You use the BSP Editor to access advanced BSP settings.
- Adjust the following settings to reduce the size of the compiled executable:
- Turn on enable_reduced_device_drivers.
- Turn off enable_gprof.
- Turn on enable_small_c_library.
- Turn off enable_sim_optimize.
- Click OK.
The BSP regenerates, the Properties dialog box closes, and you return to the SBT for Eclipse.
- In the Project Explorer view, right-click the count_binary project and click Build Project.
The Build Project dialog box appears, and the SBT for Eclipse begins compiling the project. When compilation completes, a count_binary build complete message appears in the Console view.