aboutsummaryrefslogtreecommitdiff
path: root/amaranth_boards
diff options
context:
space:
mode:
authorCatherine <whitequark@whitequark.org>2022-03-10 05:48:22 +0000
committerCatherine <whitequark@whitequark.org>2022-03-10 05:48:38 +0000
commit2d0a23b75ebb769874719297dec65ff07ca9e79f (patch)
tree3ecf7ef0e91b3808c67be76c92ab39fdebfb8806 /amaranth_boards
parentdc71d5654e5eee9b5dcb767ae993c627471b2d0b (diff)
versa_ecp5: fix LED polarity.
Diffstat (limited to 'amaranth_boards')
-rw-r--r--amaranth_boards/versa_ecp5.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/amaranth_boards/versa_ecp5.py b/amaranth_boards/versa_ecp5.py
index 9001a8e..195548e 100644
--- a/amaranth_boards/versa_ecp5.py
+++ b/amaranth_boards/versa_ecp5.py
@@ -22,7 +22,7 @@ class VersaECP5Platform(LatticeECP5Platform):
Resource("pclk", 0, DiffPairs("A4", "A5", dir="i"),
Attrs(IO_TYPE="LVDS")),
- *LEDResources(pins="E16 D17 D18 E18 F17 F18 E17 F16",
+ *LEDResources(pins="E16 D17 D18 E18 F17 F18 E17 F16", invert=True,
attrs=Attrs(IO_TYPE="LVCMOS25")),
Resource("alnum_led", 0,