3
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 ....................................................................................................................... 147
9.1 Programming the Serial Configuration Device ..................................................................................... 147
9.2 EPCS Programming via nios-2-flash-programmer ............................................................................... 155
Summary of Contents for De0-Nano
Page 1: ...1 ...
Page 4: ...4 9 3 Revision History 155 9 4 Copyright Statement 155 ...
Page 44: ...44 Figure 6 5 Browse to find the location Figure 6 6 There is no need to test the driver ...
Page 90: ...90 Figure 7 14 Add NIOS II Processor ...
Page 93: ...93 Figure 7 17 Rename the CPU 1 Figure 7 18 Rename the CPU 2 ...
Page 98: ...98 Figure 7 23 Add On Chip Memory ...
Page 100: ...100 Figure 7 25 Update Total memory size ...
Page 102: ...102 Figure 7 28 Update CPU settings ...
Page 104: ...104 Figure 7 30 Add PIO ...
Page 106: ...106 Figure 7 32 PIO 21 Rename pio_0 to pio_led as shown in Figure 7 33 Figure 7 33 Rename PIO ...
Page 113: ...113 Figure 7 43 Input verilog Text Figure 7 44 Open DE0_NANO_SOPC v ...
Page 146: ...146 Figure 8 16 Display Progress and Result Information for the SDRAM Demonstration ...
Page 150: ...150 Figure 9 3 Select Devices Page ...
Page 151: ...151 Figure 9 4 Convert Programming Files Page ...