5.2 General Design Flow ................................................................................................................................ 34
5.3 Using DE0-Nano System Builder ............................................................................................................. 36
CHAPTER 6 TUTORIAL: CREATING AN FPGA PROJECT ............................................................... 40
6.1 Design Flow.............................................................................................................................................. 40
6.2 Before You Begin ..................................................................................................................................... 41
6.3 What You Will Learn ................................................................................................................................ 45
6.4 Assign The Device .................................................................................................................................... 45
6.5 Creating an FPGA design ......................................................................................................................... 49
6.6 Assign the Pins ......................................................................................................................................... 71
6.7 Create a Default TimeQuest SDC File ..................................................................................................... 73
6.8 Compile Your Design ............................................................................................................................... 74
6.9 Program the FPGA Device ....................................................................................................................... 76
6.10 Verify The Hardware .............................................................................................................................. 79
CHAPTER 7 TUTORIAL: CREATING A NIOS II PROJECT ............................................................... 82
7.1 Required Features ..................................................................................................................................... 82
7.2 Creation of Hardware Design ................................................................................................................... 82
7.3 Download the Hardware Design ............................................................................................................. 117
7.4 Create a hello_world Example Project ................................................................................................... 120
7.5 Build and Run the Program .................................................................................................................... 123
7.6 Edit and Re-Run the Program ................................................................................................................. 124
7.7 Why the LED Blinks .............................................................................................................................. 126
7.8 Debugging the Application ..................................................................................................................... 127
7.9 Configure System Library ...................................................................................................................... 128
CHAPTER 8 DE0-NANO DEMONSTRATIONS ................................................................................... 130
8.1 System Requirements ............................................................................................................................. 130
8.2 Breathing LEDs ...................................................................................................................................... 130
8.3 ADC Reading .......................................................................................................................................... 132
8.4 SOPC Demo ........................................................................................................................................... 136
8.5 G-Sensor ................................................................................................................................................. 142
8.6 SDRAM Test by Nios II ......................................................................................................................... 143
CHAPTER 9 APPENDIX .......................................................................................................................... 146
9.1 Programming the Serial Configuration Device ...................................................................................... 146
9.2 EPCS Programming via nios-2-flash-programmer ................................................................................. 154