Download FPGA Device
Transcript
Demonstration Source Code • • • Project directory: SoCKit_IR Bit stream used: SoCKit_IR.sof Nios II Workspace: SoCKit_IR\Software Demonstration Batc h File Demo Batch File Folder: SoCKit_IR\demo_batch The demo batch file includes the following files: • • • Batch File: SoCKit_IR.bat, SoCKit_IR_bashrc FPGA Configure File : SoCKit_IR.sof Nios II Program: SoCKit_IR.elf Demonstration Set up, File Locations, and Instr uctions • • • • • • • Make sure Quartus II and Nios II are installed on your PC. Power on the SoCKit board. Connect USB Blaster to the SoCKit board and install USB Blaster driver if necessary. Execute the demo batch file “SoCKit _IR.bat” under the batch file folder, SoCKit _IR \demo_batch. After Nios II program is downloaded and executed successfully, a prompt message will be displayed in nios2-terminal. Point the IR receiver with the remote-controller and press any button the information will be displayed in nios2-terminal, shown in Figure 5-13. 68