aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2019-10-03 09:51:27 +0000
committerwhitequark <whitequark@whitequark.org>2019-10-03 09:51:27 +0000
commit66721c3bf1c143b8b6806e95cb35295fd765995c (patch)
treec9e5c7cffce330f58008cdb947235e76ea88cea9
parenta5a29342ef6bcdf5c1b7599728002e3a9ddd6550 (diff)
de0: fix button polarity.
-rw-r--r--nmigen_boards/de0.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nmigen_boards/de0.py b/nmigen_boards/de0.py
index 047d010..7ecd4e0 100644
--- a/nmigen_boards/de0.py
+++ b/nmigen_boards/de0.py
@@ -24,7 +24,7 @@ class DE0Platform(AlteraPlatform):
pins="J1 J2 J3 H1 F2 E1 C1 C2 B2 B1",
attrs=Attrs(io_standard="3.3-V LVTTL")),
*ButtonResources(
- pins="H2 G3 F1",
+ pins="H2 G3 F1", invert=True,
attrs=Attrs(io_standard="3.3-V LVTTL")),
*SwitchResources(
pins="J6 H5 H6 G4 G5 J7 H7 E3 E4 D2",