Ucf Location Constraints; Rotary Push-Button Switch; Locations And Labels; Operation - Xilinx Spartan-3E User Manual

Starter kit board
Table of Contents

Advertisement

R
Figure 2-4: Push-Button Switches Require an Internal Pull-Down Resistor in FPGA
In some applications, the BTN_SOUTH push-button switch is also a soft reset that
selectively resets functions within the FPGA.

UCF Location Constraints

Figure 2-5
I/O pin assignment and the I/O standard used, and defines a pull-down resistor on each
input.

Rotary Push-Button Switch

Locations and Labels

The rotary push-button switch is located in the center of the four individual push-button
switches, as shown in
encoder outputs are ROT_A and ROT_B. The center push-button switch is ROT_CENTER.

Operation

The rotary push-button switch integrates two different functions. The switch shaft rotates
and outputs values whenever the shaft turns. The shaft can also be pressed, acting as a

push-button switch.

Push-Button Switch
Pressing the knob on the rotary/push-button switch connects the associated FPGA pin to
3.3V, as shown in
generate a logic Low.
There is no active debouncing circuitry on the push button.
Spartan-3E Starter Kit Board User Guide
UG230 (v1.0) March 9, 2006
Push Button
3.3V
provides the UCF constraints for the four push-button switches, including the
NET
"BTN_EAST"
LOC
= "H13" |
NET
"BTN_NORTH"
LOC
= "V4"
NET
"BTN_SOUTH"
LOC
= "K17" |
NET
"BTN_WEST"
LOC
= "D18" |
Figure 2-5: UCF Constraints for Push-Button Switches
Figure
2-3. The switch produces three outputs. The two shaft
Figure
2-6. Use an internal pull-down resistor within the FPGA pin to
Figure 2-9
www.xilinx.com
FPGA I/O Pin
Input Pin
IOSTANDARD
= LVTTL |
|
IOSTANDARD
= LVTTL |
IOSTANDARD
= LVTTL |
IOSTANDARD
= LVTTL |
shows how to specify a pull-down resistor within the UCF.
Rotary Push-Button Switch
BTN_* Signal
UG230_c2_03_021206
PULLDOWN
;
PULLDOWN
;
PULLDOWN
;
PULLDOWN
;
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Spartan-3e fpga

Table of Contents