Introduction to the DE2 Board

10
Introduction to the DE2 Board Prof. Taeweon Suh Computer Science Education Korea University COMP211 Computer Logic Design

description

COMP211 Computer Logic Design. Introduction to the DE2 Board. Prof. Taeweon Suh Computer Science Education Korea University. DE2 Board. Serial Port. LCD. FPGA (Cyclone-II). 7 Segments. LEDs. Switches. Push buttons. More Detailed Info. DE2 Board Connections. Push Buttons. - PowerPoint PPT Presentation

Transcript of Introduction to the DE2 Board

Page 1: Introduction to the DE2 Board

Introduction to the DE2 Board

Prof. Taeweon SuhComputer Science Education

Korea University

COMP211 Computer Logic Design

Page 2: Introduction to the DE2 Board

Korea Univ

DE2 Board

2

7 Segments

SwitchesPush

buttons

LEDs

LCD

Serial Port

FPGA (Cyclone-II)

Page 3: Introduction to the DE2 Board

Korea Univ

More Detailed Info

3

Page 4: Introduction to the DE2 Board

Korea Univ

DE2 Board Connections

4

Page 5: Introduction to the DE2 Board

Korea Univ

Push Buttons

• Push button provides Low (0 V) when pressed High (3.3V) when NOT pressed

5

Page 6: Introduction to the DE2 Board

Korea Univ

Switches

• Switch provides Low (0 V) when the switch is in the DOWN

position (closest to the edge of the board) High (3.3 V) when the switch is in the UP position

6

Page 7: Introduction to the DE2 Board

Korea Univ

7 Segments

• To light up a segment, provide a low level• To turn off a segment, provide a high level

7

Page 8: Introduction to the DE2 Board

Korea Univ

LEDs

• 27 LEDs on the board 18 red LEDs 9 green LEDs

• To turn on the LED, provide a high level• To turn off the LED, provide a low level

8

Red LEDsGreen LEDs

Page 9: Introduction to the DE2 Board

Korea Univ

Pin Assignment

• Let’s use the same names in our design as listed in the manual Then, we don’t have to manually assign inputs

and output in our design to the FPGA pins Just import the pin assignment file (excel file)

from Quartus-II, which is linked in the class web

9

Page 10: Introduction to the DE2 Board

Korea Univ

Lab 1 Getting Started

10

KEY[1]

KEY[0]

LEDR[0]