From: whitequark Date: Thu, 3 Oct 2019 09:51:27 +0000 (+0000) Subject: de0: fix button polarity. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66721c3bf1c143b8b6806e95cb35295fd765995c;p=nmigen-boards.git de0: fix button polarity. --- 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",