Slide switch and Push Button interfacing with Spartan3 FPGA Starter Kit
Slide switches are most common used in electronic circuits for digital input of ON/OFF states. They allow control over current flow in a circuit. You’ll usually find slide switches in SPDT or DPDT configurations.
Push-button switches are the classic momentary switch. Typically these switches have a really nice, tactile feedback when you press them.
Schematic to interface Slide Switch and Push Button with Spartan3 FPGA Starter Kit
Slide Switch and Push Button Placement in Spartan3 FPGA Starter Kit
Interfacing Slide Switch and Push Button with Spartan3 FPGA Starter Kit
Push Button interface is straight forward. One end of Push Button connected to FPGA and another end connected to ground. Slide switch interface to FPGA is Pulled High by default at open end and another end is connected to ground which act as OFF State.