RISC-V VHDL: System-on-Chip  2.0
GPIO Controller

GPIO registers mapping

GPIO Controller acts like a slave AMBA AXI4 device that is directly mapped into physical memory. Default address location for our implementation is defined by 0x80000000. Memory size is 4 KB.

LED register (0x000).
BitsTypeReset Field NameBits Description
24 RW 24h'0 rsrv 24 Reserved
8 RW 8h'0 led 7:0 LEDs. Written value directly assigned on SoC output pins and can be used as test signals.
DIP register (0x004).
BitsTypeReset Field NameBits Description
28 RO 28h'0 rsrv 28 Reserved
4 RO - dip 3:0 DIPs. Input configuration pins value (Read-Only). Configuration pin meaning depends of the used FW.
Set of temporary registers (0x008).
Offset BitsTypeReset Name Definition
0x008 32 RW 32h'0 reg32_2 Temporary register 2. FW specific register used for debugging purposes.
0x00C 32 RW 32h'0 reg32_3 Temporary register 3.
0x010 32 RW 32h'0 reg32_4 Temporary register 4.
0x014 32 RW 32h'0 reg32_5 Temporary register 5.
0x018 32 RW 32h'0 reg32_6 Temporary register 6.