From c330044cf388d613d7b82c4de0f41e0c7ecde72f Mon Sep 17 00:00:00 2001 From: Stuart Olsen Date: Sat, 14 Mar 2020 02:02:03 -0700 Subject: [PATCH] resources.display: Apply inversion setting to dp --- nmigen_boards/resources/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmigen_boards/resources/display.py b/nmigen_boards/resources/display.py index 43a5279..f145119 100644 --- a/nmigen_boards/resources/display.py +++ b/nmigen_boards/resources/display.py @@ -15,7 +15,7 @@ def Display7SegResource(*args, a, b, c, d, e, f, g, dp=None, invert=False, ios.append(Subsignal("f", Pins(f, dir="o", invert=invert, conn=conn, assert_width=1))) ios.append(Subsignal("g", Pins(g, dir="o", invert=invert, conn=conn, assert_width=1))) if dp is not None: - ios.append(Subsignal("dp", Pins(dp, dir="o", conn=conn, assert_width=1))) + ios.append(Subsignal("dp", Pins(dp, dir="o", invert=invert, conn=conn, assert_width=1))) if attrs is not None: ios.append(attrs) return Resource.family(*args, default_name="display_7seg", ios=ios) -- 2.30.2