10.07.2015 Views

User Manual - Terasic

User Manual - Terasic

User Manual - Terasic

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Demonstration Source Code• Project directory: DE0_NANO_SOPC_DEMO• Bit stream used: DE0_NANO.sof• NIOS II elf file: DE0_NANO.elfDemonstration Batch File• Demo Batch File Folder: DE0_NANO_SOPC_DEMO\demo_batchThe demo batch file includes the file:• Batch File: test.bat and test_bashrc• FPGA Configure File: DE0_NANO.sof• Nios II Program: DE0_NANO.elfDemonstration Setup• Make sure Quartus II and Nios II are installed on your PC.• Connect a USB cable to the DE0-Nano board and install USB Blaster driver if necessary.• Execute the demo batch file “test.bat” under the batch file folder,DE0_NANO_SOPC_DEMO\demo_batch. This will load the demo into the FPGA.• After executing the batch file, a selection menu appears as follows:• Input “0” to start the accelerometer demo. The demo starts by displaying the accelerometer’schip ID, and then continues by displaying the X/Y/Z values every 1.0 second. Toterminate the demo, press KEY0 or KEY1 on the DE0-Nano board. Upon exiting thedemo, the selection menu will be displayed.139

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!