The FPGA provides a switch and LED register that enables you to read the general-purpose pushbutton switch and user switches (S1) and light the user LEDs (located next to switch S1). See Figure 1.1 for the location of the switches and LEDs. Figure 3.29 shows the interface.
Set bits [7:0] in the SYS_LED register at
illuminate LEDs 7-0. The state of the user switches is present on
bits [7:0] of the SYS_SW register at
The state of the general-purpose pushbutton can be read from the