SoCKit User Manual
74
www.terasic.com
December 1, 2015
Function Block Diagram
Figure 6-1
shows the function block diagram of this demonstration. The users LEDs are connected
to the
PIO1
controller in HPS, while the switches and buttons are connected to the
PIO2
controller
in HPS. The behavior of the PIO controller is controlled by the register in the PIO controller. The
registers can be accessed by application software through the memory-mapped device driver, which
is built into Altera SoC Linux.
Figure 6-1 Block Diagram of GPIO Demonstration
GPIO Interface Block Diagram
The HPS provides three general-purpose I/O (GPIO) interface modules.
Figure 6-2
shows the block
diagram of the GPIO Interface. GPIO[28..0] is controlled by GPIO0 controller and GPIO[57..29] is
controlled by GPIO1 controller. GPIO[70..58] and input-only GPI[13..0] are controlled by GPIO2
controller.
Figure 6-2 Block Diagram of GPIO Interface