LEDs and Pushbuttons

There are eight LEDs and four pushbuttons on the XEM7001.  Each is wired directly to the FPGA as shown in the tables below.

LEDFPGA PIN
D1H5
D2F3
D3E3
D4H4
D5D3
D6C3
D7H3
D8A4
BUTTONFPGA PIN
BTN1A5
BTN2B4
BTN3B7
BTN4A7

The LED anodes are connected to a pull-up resistor to +3.3VDD and the cathodes wired directly to the FPGA.  To turn ON an LED, the FPGA pin should be brought low.  To turn OFF an LED, the FPGA pin should be brought high.

The pushbuttons are connected between their respective FPGA pin and DGND.  The FPGA side of the connection has a pull-up resistor to +3.3VDD.  Therefore, in the pressed state, the FPGA pin will be at DGND (low) and in the unpressed state, the FPGA pin will be at +3.3VDD (high).  Note that the pushbuttons are not debounced on the XEM7001.  In order to de-glitch the signals from the pushbuttons, proper debouncing should be done inside the FPGA.