Skip to content

Commit 2d0a23b

Browse files
committed
versa_ecp5: fix LED polarity.
1 parent dc71d56 commit 2d0a23b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

amaranth_boards/versa_ecp5.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class VersaECP5Platform(LatticeECP5Platform):
2222
Resource("pclk", 0, DiffPairs("A4", "A5", dir="i"),
2323
Attrs(IO_TYPE="LVDS")),
2424

25-
*LEDResources(pins="E16 D17 D18 E18 F17 F18 E17 F16",
25+
*LEDResources(pins="E16 D17 D18 E18 F17 F18 E17 F16", invert=True,
2626
attrs=Attrs(IO_TYPE="LVCMOS25")),
2727

2828
Resource("alnum_led", 0,

0 commit comments

Comments
 (0)