From 2d0a23b75ebb769874719297dec65ff07ca9e79f Mon Sep 17 00:00:00 2001 From: Catherine Date: Thu, 10 Mar 2022 05:48:22 +0000 Subject: versa_ecp5: fix LED polarity. --- amaranth_boards/versa_ecp5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amaranth_boards') 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, -- cgit v1.2.3