LEDs¶
The GECKO4-Education platform contains four seven-segment displays and an LED-matrix of 10 rows by 12 columns (120 LEDs in total), as shown in the figure below. Each LED is connected to an FPGA pin. The LED is lit when a logic 1 is written to the pin and is off when a logic 0 is written to the pin, i.e. they are active high.
The seven-segment displays and the LED-matrix on the GECKO4-Education platform.¶
Seven-segment displays¶
The table below lists the seven-segment displays and their respective connections to the FPGA. An example tcl-script that can be used for the pin assignment is available here: seven_segment.tcl.
Segment |
SEG1 |
SEG2 |
SEG3 |
SEG4 |
|---|---|---|---|---|
a |
PIN_T3 |
PIN_R10 |
PIN_U9 |
PIN_U11 |
b |
PIN_R6 |
PIN_T9 |
PIN_W8 |
PIN_G18 |
c |
PIN_R5 |
PIN_R9 |
PIN_V8 |
PIN_M8 |
d |
PIN_P7 |
PIN_R8 |
PIN_Y4 |
PIN_L6 |
e |
PIN_N8 |
PIN_T7 |
PIN_T11 |
PIN_W10 |
f |
PIN_N7 |
PIN_R7 |
PIN_R11 |
PIN_U10 |
g |
PIN_P8 |
PIN_T4 |
PIN_T10 |
PIN_V9 |
DP |
PIN_P6 |
PIN_T8 |
PIN_W7 |
PIN_L7 |
LED-matrix¶
The table below lists the LEDs of the LED-matrix and their respective connections to the FPGA. An example tcl-script that can be used for the pin-assignment is available here: led_array.tcl.
Warning
Do not remove the first two lines (set_global_assignments -name…) in the example tcl-script, as they are needed to use one of the 120 LEDs!
LED |
FPGA pin |
LED |
FPGA pin |
LED |
FPGA pin |
LED |
FPGA pin |
LED |
FPGA pin |
LED |
FPGA pin |
LED |
FPGA pin |
LED |
FPGA pin |
LED |
FPGA pin |
LED |
FPGA pin |
LED |
FPGA pin |
LED |
FPGA pin |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(1,1) |
PIN_E6 |
(1,2) |
PIN_J16 |
(1,3) |
PIN_K16 |
(1,4) |
PIN_J17 |
(1,5) |
PIN_K17 |
(1,6) |
PIN_J18 |
(1,7) |
PIN_K18 |
(1,8) |
PIN_F19 |
(1,9) |
PIN_J15 |
(1,10) |
PIN_K15 |
(1,11) |
PIN_L16 |
(1,12) |
PIN_L15 |
(2,1) |
PIN_D6 |
(2,2) |
PIN_H9 |
(2,3) |
PIN_F10 |
(2,4) |
PIN_G12 |
(2,5) |
PIN_E10 |
(2,6) |
PIN_G14 |
(2,7) |
PIN_G15 |
(2,8) |
PIN_G16 |
(2,9) |
PIN_F14 |
(2,10) |
PIN_J22 |
(2,11) |
PIN_K21 |
(2,12) |
PIN_D19 |
(3,1) |
PIN_E5 |
(3,2) |
PIN_F8 |
(3,3) |
PIN_G10 |
(3,4) |
PIN_F11 |
(3,5) |
PIN_E9 |
(3,6) |
PIN_H13 |
(3,7) |
PIN_H14 |
(3,8) |
PIN_H15 |
(3,9) |
PIN_G17 |
(3,10) |
PIN_J21 |
(3,11) |
PIN_F15 |
(3,12) |
PIN_F17 |
(4,1) |
PIN_B5 |
(4,2) |
PIN_G8 |
(4,3) |
PIN_H10 |
(4,4) |
PIN_E11 |
(4,5) |
PIN_G7 |
(4,6) |
PIN_G13 |
(4,7) |
PIN_D10 |
(4,8) |
PIN_F12 |
(4,9) |
PIN_H16 |
(4,10) |
PIN_H19 |
(4,11) |
PIN_E15 |
(4,12) |
PIN_D17 |
(5,1) |
PIN_C4 |
(5,2) |
PIN_E7 |
(5,3) |
PIN_G9 |
(5,4) |
PIN_H11 |
(5,5) |
PIN_F7 |
(5,6) |
PIN_H12 |
(5,7) |
PIN_F9 |
(5,8) |
PIN_E12 |
(5,9) |
PIN_E13 |
(5,10) |
PIN_H17 |
(5,11) |
PIN_D15 |
(5,12) |
PIN_K22 |
(6,1) |
PIN_A4 |
(6,2) |
PIN_C7 |
(6,3) |
PIN_A8 |
(6,4) |
PIN_A10 |
(6,5) |
PIN_A14 |
(6,6) |
PIN_A16 |
(6,7) |
PIN_A18 |
(6,8) |
PIN_B20 |
(6,9) |
PIN_B22 |
(6,10) |
PIN_E22 |
(6,11) |
PIN_H21 |
(6,12) |
PIN_L21 |
(7,1) |
PIN_C3 |
(7,2) |
PIN_A5 |
(7,3) |
PIN_B7 |
(7,4) |
PIN_B9 |
(7,5) |
PIN_C13 |
(7,6) |
PIN_C15 |
(7,7) |
PIN_C17 |
(7,8) |
PIN_C19 |
(7,9) |
PIN_A20 |
(7,10) |
PIN_D20 |
(7,11) |
PIN_F20 |
(7,12) |
PIN_F16 |
(8,1) |
PIN_B3 |
(8,2) |
PIN_C6 |
(8,3) |
PIN_A7 |
(8,4) |
PIN_A9 |
(8,5) |
PIN_B13 |
(8,6) |
PIN_B15 |
(8,7) |
PIN_B17 |
(8,8) |
PIN_B19 |
(8,9) |
PIN_C21 |
(8,10) |
PIN_D21 |
(8,11) |
PIN_F22 |
(8,12) |
PIN_E16 |
(9,1) |
PIN_A3 |
(9,2) |
PIN_B6 |
(9,3) |
PIN_C8 |
(9,4) |
PIN_C10 |
(9,5) |
PIN_A13 |
(9,6) |
PIN_A15 |
(9,7) |
PIN_A17 |
(9,8) |
PIN_A19 |
(9,9) |
PIN_B21 |
(9,10) |
PIN_D22 |
(9,11) |
PIN_F21 |
(9,12) |
PIN_L22 |
(10,1) |
PIN_B4 |
(10,2) |
PIN_A6 |
(10,3) |
PIN_B8 |
(10,4) |
PIN_B10 |
(10,5) |
PIN_B14 |
(10,6) |
PIN_B16 |
(10,7) |
PIN_B18 |
(10,8) |
PIN_C20 |
(10,9) |
PIN_C22 |
(10,10) |
PIN_E21 |
(10,11) |
PIN_H22 |
(10,12) |
PIN_H20 |