From 8328ef9fb5b6f0d61c70dae579f2bf4d465a4e79 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 26 Apr 2022 17:34:46 +0200 Subject: [PATCH] acorn: Inverse led polarity (active low). --- acorn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acorn.py b/acorn.py index d47f2c0..1b99a78 100755 --- a/acorn.py +++ b/acorn.py @@ -95,8 +95,8 @@ class USB3SoC(SoCMini): ] # Leds ------------------------------------------------------------------------------------- - self.comb += platform.request("user_led", 0).eq(usb3_serdes.ready) - self.comb += platform.request("user_led", 1).eq(usb3_pipe.ready) + self.comb += platform.request("user_led", 0).eq(~usb3_serdes.ready) + self.comb += platform.request("user_led", 1).eq(~usb3_pipe.ready) # Analyzer --------------------------------------------------------------------------------- if with_analyzer: