beautypg.com

Push-button switches, Individual leds, Push-button switches –20 individual leds –20 – Altera Nios Development Board User Manual

Page 28

background image

1–20

Altera

Corporation

Nios Development Board Reference Manual, Stratix Edition

September 2004

Push-Button Switches

Push-Button
Switches

SW0 – SW3 are momentary-contact push-button switches and are used to
provide stimulus to designs in the Stratix device. See

Figure 1–17

. Each

switch is connected to a Stratix general-purpose I/O pin with a pull-up
resistor as shown in

Table 1–4

. The Stratix device pin will see a logic 0

when each switch is pressed.

Individual LEDs

This Nios development board provides eight individual LEDs connected
to the Stratix device. See

Figure 1–17

. D0 – D7 are connected to general

purpose I/O pins on the Stratix device as shown in

Table 1–5

. When the

Stratix pin drives logic 1, the corresponding LED turns on.

Figure 1–17. SW0 – SW3 Push Button Switches & Individual LEDs

Table 1–4. Push Button Switches Pin Out Table

Button

SW0

SW1

SW2

SW3

Stratix Pin

W5

W6

AB2

AB1

Table 1–5. LED Pin Out Table

LED

D0

D1

D2

D3

D4

D5

D6

D7

Stratix Pin

H27

H28

L23

L24

J25

J26

L20

L19