Embedded System Lab Instructions
November 2009, Version Tutorial 7.0
Table of Contents
1.MODULE 1: Getting Started 3
1.1 Acquire the DE 1 Development Board ................................................................................................ 3
1.2 Install the Design Software ........................................................................................................................ 4
1.3 Install the USB Device Driver............................................................................................................. 6
1.4 Extract the Lab Files............................................................................................................................ 6
2.MODULE 2: Design the System 7
2.1 Design Flow ........................................................................................................................................ 7
2.2 Design Requirements........................................................................................................................... 9
2.3 Design Strategy ................................................................................................................................. 10
2.4 System Schematic.............................................................................................................................. 12
3.MODULE 3: Set up the Quartus II Project 13
3.1 Create New Quartus II Project........................................................................................................... 13
3.2 Add Files to the Project............................................................................................................................ 14
3.3 Specify Family and Device Settings......................................................................................................... 15
3.4 Select EDA Tool Settings......................................................................................................................... 15
3.5 Execute Setup Script.......................................................................................................................... 16
3.6 Launch SOPC Builder ....................................................................................................................... 16
4.MODULE 4: Build the SOPC System 18
4.1 Manage Clocks.................................................................................................................................. 18
4.2 Build the SOPC System..................................................................................................................... 19
4.3 System Cleanup................................................................................................................................. 40
4.4 System clocking cleanup ................................................................................................................... 41
4.5 Set Arbitration Priorities.................................................................................................................... 43
4.6 Generate the System.......................................................................................................................... 45
5.MODULE 5: Complete the Quartus II Project 46
5.1 Complete the Quartus II Project ........................................................................................................ 46
5.2 Download the FPGA configuration ................................................................................................... 49
6.MODULE 6: Build the Software Application 52
6.1 Launch the Nios II IDE ..................................................................................................................... 52
6.2 Add source code to the project .......................................................................................................... 56
6.3 Configure system library build properties ......................................................................................... 57
6.4 Configure software project build properties ...................................................................................... 59
6.5 Build the software project.................................................................................................................. 60
6.6 Run the software application on the target......................................................................................... 61
6.7 Software Application Output............................................................................................................. 62
6.8 Interact with the Software Application.............................................................................................. 63
6.9 Menu options..................................................................................................................................... 63
6.10 Edit the Application........................................................................................................................... 67
7. MODULE 7: Lab Validation 68
7.1 Create a new software project............................................................................................................ 68
7.2 Add source code ................................................................................................................................69
7.3 Configure system library build properties .......................................... Error! Bookmark not defined.
7.4 Configure software application build properties................................................................................ 69
7.5 Build the software project.................................................................................................................. 70
Altera Corporation 1
<Doc PN>