![Designsoft TINALab II Quick Start Manual Download Page 10](http://html1.mh-extra.com/html/designsoft/tinalab-ii/tinalab-ii_quick-start-manual_2486918010.webp)
10
SLIDE SWITCHES
The TINALab FPGA development board provides eight slide switch inputs. These switches can be
statically set to a low or high logic level. When the switch is disconnected from ground (logic low),
internal Spartan-II pull-ups are required to generate logic high.
NET "switch<0>"
LOC = "P11";
Slide switch 0 input
NET "switch<1>"
LOC = "P12";
Slide switch 1 input
NET "switch<2>"
LOC = "P13";
Slide switch 2 input
NET "switch<3>"
LOC = "P19";
Slide switch 3 input
NET "switch<4>"
LOC = "P23";
Slide switch 4 input
NET "switch<5>"
LOC = "P22";
Slide switch 5 input
NET "switch<6>"
LOC = "P21";
Slide switch 6 input
NET "switch<7>"
LOC = "P20";
Slide switch 7 input
NET "switch<0>"
PULLUP;
Internal pull-up resistor
NET "switch<1>"
PULLUP;
Internal pull-up resistor
NET "switch<2>"
PULLUP;
Internal pull-up resistor
NET "switch<3>"
PULLUP;
Internal pull-up resistor
NET "switch<4>"
PULLUP;
Internal pull-up resistor
NET "switch<5>"
PULLUP;
Internal pull-up resistor
NET "switch<6>"
PULLUP;
Internal pull-up resistor
NET "switch<7>"
PULLUP;
Internal pull-up resistor
USER LED
The TINALab II FPGA board provides eight user LEDs.
NET "LED0" LOC = "P10";
LED is ON when signal is low
NET "LED1" LOC = "P7";
LED is ON when signal is low
NET "LED2" LOC = "P6";
LED is ON when signal is low
NET "LED3" LOC = "P5";
LED is ON when signal is low
NET "LED4" LOC = "P4";
LED is ON when signal is low
NET "LED5" LOC = "P3";
LED is ON when signal is low
NET "LED6" LOC = "P141";
LED is ON when signal is low
NET "LED7" LOC = "P140";
LED is ON when signal is low