add gpio to board

This commit is contained in:
Guilherme Salustiano 2022-12-05 21:38:56 -03:00
parent d0d90e9eef
commit 25c40ddda7
1 changed files with 15 additions and 4 deletions

View File

@ -67,7 +67,7 @@ _io = [
# VGA # VGA
("vga", 0, ("vga", 0,
Subsignal("hsync_n", Pins("P19")), Subsignal("hsync_n", Pins("P19")),
Subsignal("vsync_n", Pins("R19")), Subsignal("vsync_n", Pins("R18")),
Subsignal("r", Pins("G19 H19 J19 N19")), Subsignal("r", Pins("G19 H19 J19 N19")),
Subsignal("g", Pins("J17 H17 G17 D17")), Subsignal("g", Pins("J17 H17 G17 D17")),
Subsignal("b", Pins("N18 L18 K18 J18")), Subsignal("b", Pins("N18 L18 K18 J18")),
@ -78,8 +78,19 @@ _io = [
("usbhost", 0, ("usbhost", 0,
Subsignal("ps2_clk", Pins("B6")), Subsignal("ps2_clk", Pins("B6")),
Subsignal("ps2_data", Pins("A6")), Subsignal("ps2_data", Pins("A6")),
IOStandard("LVCMOS33")) IOStandard("LVCMOS33")
),
("gpio", 0,
Subsignal("a", Pins("J1 L2 J2 G2 H1 K2 H2 G3")),
Subsignal("b", Pins("A14 A16 B15 B16 A15 A17 C15 C16")),
Subsignal("c0", Pins("K17")),
Subsignal("c1", Pins("M18")),
Subsignal("c6", Pins("L17")),
Subsignal("c7", Pins("M19")),
Subsignal("xadc", Pins("J3 L3 M2 N2 K3 M3 M1 N1")),
IOStandard("LVCMOS33"))
] ]
# Connectors --------------------------------------------------------------------------------------- # Connectors ---------------------------------------------------------------------------------------