Altera DE2-115 Podręcznik Użytkownika

Przeglądaj online lub pobierz Podręcznik Użytkownika dla Oprogramowanie Altera DE2-115. Altera DE2-115 User guide Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj

Podsumowanie treści

Strona 1 - SPRING 2012

Embedded Systems Design Flow using Altera’s FPGA Development Board (DE2-115 T-Pad) SPRING 2012 Ankita Goel Hamid Mahmoodi

Strona 2 - Table of Contents

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 9

Strona 3

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 99 If you wish to open the complete already designed hardwa

Strona 4 - 1.1 Overview of DE2-115

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 100 assign reset_n = 1'b1; assign HC_DIM = 1'b1; n

Strona 5

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 101 .spi_cs_n_from_the_sd_card_control

Strona 6

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 102 // FLASH_RY, //////////////////////////////////////////

Strona 7

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 103 //vid_draw_round_corner_box ( 300, 4

Strona 8 - 1.3 Getting Started

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 104 touch = 1;

Strona 9

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 105 b) – For software, Run the software program under target

Strona 10

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 106 Video Demonstration of this tutorial is available on You

Strona 11

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 10 Step 4) Select the Destination where the Altera folder is

Strona 12

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 11 Step 5) Select everything except for the Components that s

Strona 13

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 12 Step 6) Click next for the DSP Builder setup

Strona 14

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 13 Step 7) A summary of what will be installed to the comput

Strona 15

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 14 Step 8) After the installation is complete click finish.

Strona 16

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 15 1.4 Control Panel Demonstration To get familiarized with t

Strona 17 - Verilog in Quartus II

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 16 Chapter 2: Hardware Design Flow Using Verilog in Quartus I

Strona 18

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 17 a) Design Flow- Introduction (Page No. 11), Graphical User

Strona 19

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 18 2.2 Design Flow (Hardware Only)

Strona 20 - 2.3 Binary Adder Example

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 1 Table of Contents Chapter 1: Introduction to the DE2-115 D

Strona 21

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 19 2.3 Binary Adder Example Now that you are getting famili

Strona 22

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 20 0The Binary Adder tutorial teaches how to  Connect the

Strona 23

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 21 c) Under the tab “Driver” select “Update Driver” -> A

Strona 24

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 22 d) In the field “Search for Drivers in this location” bro

Strona 25 - EP4CE115F29C7. Click “Next”

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 23 c) In step 2 of 5, you will add any previously created f

Strona 26

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 24 ii. Target device is “Specific” and select our dev

Strona 27

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 25 c) Click “OK” d) A new Verilog file will open. An

Strona 28

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 26

Strona 29

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 27

Strona 30 - Builder”( PG No. 15)

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 28

Strona 31

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 2 Link to the Video Demonstration: ...

Strona 32

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 29 Step 6: For any project it is required to create pin ass

Strona 33

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 30 Step 7: When the Verilog code is finished, and all

Strona 34

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 31

Strona 35

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 32 2.4 Introduction to System Builder Alternate way to do pin

Strona 36

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 33 4) Click Generate 5) Create a directory for your proje

Strona 37

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 34 9) When it has compiled, double click on “Program Devic

Strona 38

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 35 7 Segment Hex Display

Strona 39

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 36 In this project we used four 7-segment displays to show th

Strona 40

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 37 16 x 2 LCD

Strona 41

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 38 To display characters to an LCD there is a series of

Strona 42

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 3 Chapter 1: Introduction to the DE2-115 Development and Educ

Strona 43 - 3.2 Co-design Flow

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 39 LINE, DROP LCD, HOLD, DISPLAY ON, and MODE SET AND PRINT S

Strona 44

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 40 Chapter 3: Hardware and Software Co-design Flow 3.1 Intro

Strona 45

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 41 NOTE: This figure taken from Altera’s Nios II Processor

Strona 46

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 42 3.2 Co-design Flow Figure 1–2 shows the Nios II system de

Strona 47

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 43 3.3 Overview of System Integration Software SOPC Builder a

Strona 48

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 44 3.4 Introduction to Nios II SBT for Eclipse Eclipse all

Strona 49

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 45 NIOS II Binary Adder Step 1: System Builder 1) Open DE2_

Strona 50

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 46 Step 2: Building Qsys System 1) Open Qsys under tools t

Strona 51 - 5) Run as Hardware

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 47 10) Go to the “Export” column and connect the following p

Strona 52 - Display on T-Pad

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 48 b. Locate and choose the file nios2/synthesis/nios.qip c.

Strona 53 - Software

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 4 Altera Cyclone® IV 4CE115 FPGA device Altera Serial Co

Strona 54 - Hardware Setup

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 49 Step 3: Develop the Software for Nios II SBT for Eclipse 1

Strona 55

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 50 4) Build project 5) Run as Hardware

Strona 56

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 51 Chapter 4 : Video Generation for Text Display on T-Pad Int

Strona 57

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 52 Video Pipeline A Scatter Gather DMA is used to connect to

Strona 58

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 53 Step by Step ALU on T-Pad Tutorial Hardware Setup Step

Strona 59 - Endmodule

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 54 Select HSMC Source as LTC – 8” LCD/Touch Camera as shown b

Strona 60

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 55 SW, //////////// VGA ////////// VGA_B, VGA_BLANK_N

Strona 61

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 56 TOUCH_CS_N, TOUCH_DCLK, TOUCH_DIN, TOUCH_DOUT, T

Strona 62

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 57 //////////// I2C for HSMC ////////// output

Strona 63

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 58 //=======================================================

Strona 64 - Software Setup

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 5 1.2 Block Diagram of the DE2-115 Board Figure gives the blo

Strona 65 - Basic Software Algorithm

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 59 Step 3b: For assignment of base addresses in SOPC Builder

Strona 66

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 60 Note: If you wish to open the complete already designed

Strona 67

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 61 Step 3c: Click on Generate. Step 3(d): After you generat

Strona 68

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 62 .VGA_SYNC_from_the_video_vga_controller()

Strona 69 - Introduction

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 63 With this step, the hardware simulation is complete. Softw

Strona 70

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 64 Basic Software Algorithm Initialize the screen screen_x

Strona 71

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 65 sprintf (text,"%d & %d = %d ",number1,nu

Strona 72

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 66 Downloading the design to the board: Step 1 –For Hardware

Strona 73

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 67 Step 2 – For software, Run the software program under targ

Strona 74

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 68 Chapter 5 – Integrating Touch Interface of T-Pad Introduct

Strona 75

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 6 •JTAG and AS mode configuration •EPCS64 serial configurati

Strona 76

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 69 Serial Peripheral Interface (SPI) and a Parallel

Strona 77

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 70 Step by Step ALU on T-Pad with Touch Interface Tutorial St

Strona 78

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 71 Step 4 : Open the folder where the project files are saved

Strona 79

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 72 //////////// I2C for HSMC ////////// I2C_SCLK, I2C

Strona 80

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 73 // PARAMETER declarations //=============================

Strona 81

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 74 output I2C_SCLK; inout I

Strona 82 - SOFTWARE Algorithm

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 75 //====================================================

Strona 83

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 76 Step 7: Go to the “Connections” column and connect the fol

Strona 84

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 77 Note: If you wish to open the complete already designed

Strona 85

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 78 Step 9 : Click on Generate. Step 10 : After you generat

Strona 86 - Link of Video Demonstration

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 7 •18 red and 9 green LEDs •Eight 7-segment displays Other

Strona 87

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 79 .VGA_DATA_EN_from_the_video_vga_controlle

Strona 88 - Software Design

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 80 .VGA_SYNC_from_the_video_vga_controller()

Strona 89

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 81 SOFTWARE Algorithm  Values of switches are pointed by

Strona 90

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 82  For touch display, different cases are referred for ea

Strona 91

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 83 szText); break; case 3: result = number1

Strona 92

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 84 b) – For software, Run the software program under target

Strona 93

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 85 Link of Video Demonstration http://www.youtube.com/watch?v

Strona 94

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 86 Chapter 6: Video Generation for Text and Image Display on

Strona 95

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 87 The hardware can be broken down in the following subsystem

Strona 96

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 88

Strona 97

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 8 Step 1) Go to the link below: https://www.altera.com/downl

Strona 98

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 89 Step by Step ALU with image in background Tutorial Hard

Strona 99

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 90 // This code is generated by Terasic System Builder //===

Strona 100

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 91 VGA_VS, //////////// I2C for HSMC ////////// I2C_S

Strona 101

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 92 FL_RST_N, FL_RY, FL_WE_N, FL_WP_N, ////////////

Strona 102

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 93 //=======================================================

Strona 103 - 1) Display is initialized

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 94 output [7:0] VGA_R; output VGA

Strona 104

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 95 inout [7:0] FL_DQ; output FL_O

Strona 105

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 96 //=======================================================

Strona 106

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 97 Pixel Converter VGA Sink Peripheral Bridge Sd Card Con

Strona 107

SFSU - Embedded Systems Tutorial Nano- Electronics & Computing Research Lab 98 The complete SOPC Builder system is shown below:

Komentarze do niniejszej Instrukcji

Brak uwag