EasyManua.ls Logo

Xilinx MIcroBlaze Development Spartan-3E 1600E Kit

Xilinx MIcroBlaze Development Spartan-3E 1600E Kit
168 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MicroBlaze Development Kit Spartan-3E 1600 Edition User Guide 15
UG257 (v1.1) December 5, 2007 www.xilinx.com
Rotary Push-Button Switch
R
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 provides the UCF constraints for the four push-button switches, including the
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 Figure 2-3. The switch produces three outputs. The two shaft
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 Figure 2-6. Use an internal pull-down resistor within the FPGA pin to
generate a logic Low. Figure 2-9 shows how to specify a pull-down resistor within the UCF.
There is no active debouncing circuitry on the push button.
Figure 2-4: Push-Button Switches Require an Internal Pull-Down Resistor in FPGA
Input Pin
UG227_02_04_060206
BTN_* Signal
Push Button
3.3V
FPGA I/O Pin
Figure 2-5: UCF Constraints for Push-Button Switches
NET "BTN_EAST" LOC = "H13" | IOSTANDARD = LVTTL | PULLDOWN ;
NET "BTN_NORTH" LOC = "V4" | IOSTANDARD = LVTTL | PULLDOWN ;
NET "BTN_SOUTH" LOC = "K17" | IOSTANDARD = LVTTL | PULLDOWN ;
NET "BTN_WEST" LOC = "D18" | IOSTANDARD = LVTTL | PULLDOWN ;
UG257_02_05_060206

Table of Contents

Related product manuals