Specifications
29
This software needs to know the characteristics of the designed Nios II system, which are given
in the ptf file nios_system.ptf. Click the Nios II >Configure system... menu item to display the
Nios II System Configuration window and perform the following steps:
1. Select the USB-Blaster cable from the Cable drop-down list, which is used with DE2 board.
2. Click Browse... to display a file selection window and choose the nios_system.ptf file. Note
that this file is in the design directory sopc_builder_tutorial.
3. Click Load.
4. The Altera Debug Client also needs to know where to load the application program. In our
case, this is the memory block in the FPGA device. The SOPC Builder assigned the name
onchip_memory_0 to this block.
5. Having provided the necessary information, click Ok to confirm the system configuration.
Next, the source file lights.s needs to be specified. Click the Nios II > Configure program...
menu item to display the Nios II Program Configuration window and perform the following steps:
1. Click Add... to display a file selection window and choose the lights.s file. Note that this file is
in the directory sopc_builder_tutorial\app_software.
2. Click Ok to confirm the program configuration.