aboutsummaryrefslogtreecommitdiff
path: root/amaranth_boards/genesys2.py
diff options
context:
space:
mode:
Diffstat (limited to 'amaranth_boards/genesys2.py')
-rw-r--r--amaranth_boards/genesys2.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/amaranth_boards/genesys2.py b/amaranth_boards/genesys2.py
index 008dced..31ac39d 100644
--- a/amaranth_boards/genesys2.py
+++ b/amaranth_boards/genesys2.py
@@ -34,11 +34,11 @@ class Genesys2Platform(Xilinx7SeriesPlatform):
Resource("clk", 0, DiffPairs(p="AD12 ", n="AD11", dir="i"),
Clock(200e6), Attrs(IOSTANDARD="LVDS")),
*ButtonResources(pins={
- "w": "M20",
- "e": "C19",
- "n": "B19",
- "s": "M19",
- "c": "E18"}, attrs=Attrs(IOSTANDARD=bank15_16_17_iostandard)),
+ 0: "E18",
+ 1: "B19",
+ 2: "C19",
+ 3: "M19",
+ 4: "M20"}, attrs=Attrs(IOSTANDARD=bank15_16_17_iostandard)),
*SwitchResources(pins="G19 G25 H24 K19 N19 P19",
attrs=Attrs(IOSTANDARD=bank15_16_17_iostandard)),
*SwitchResources(pins={