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.
LED | FPGA PIN |
---|---|
D1 | H5 |
D2 | F3 |
D3 | E3 |
D4 | H4 |
D5 | D3 |
D6 | C3 |
D7 | H3 |
D8 | A4 |
BUTTON | FPGA PIN |
---|---|
BTN1 | A5 |
BTN2 | B4 |
BTN3 | B7 |
BTN4 | A7 |
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.