diff --git a/amaranth_boards/qmtech_ep4cgx150.py b/amaranth_boards/qmtech_ep4cgx150.py index a143c127..f063243d 100644 --- a/amaranth_boards/qmtech_ep4cgx150.py +++ b/amaranth_boards/qmtech_ep4cgx150.py @@ -22,8 +22,8 @@ def __init__(self, standalone=True): if not standalone: # D3 - we do not use LEDResources/ButtonResources here, because there are five LEDs # on the daughterboard and this will then clash with those - self.resources[1] = Resource("core_led", 0, PinsN("A25"), Attrs(io_standard="3.3-V LVTTL")) - self.resources[2] = Resource("core_led", 0, PinsN("A24"), Attrs(io_standard="3.3-V LVTTL")) + self.resources[1] = Resource("core_led", 0, PinsN("A25", dir="o"), Attrs(io_standard="3.3-V LVTTL")) + self.resources[2] = Resource("core_led", 1, PinsN("A24", dir="o"), Attrs(io_standard="3.3-V LVTTL")) self.resources[3] = Resource("core_button", 0, PinsN("AD23"), Attrs(io_standard="3.3-V LVTTL")) self.resources[4] = Resource("core_button", 1, PinsN("AD24"), Attrs(io_standard="3.3-V LVTTL")) daughterboard = QMTechDaughterboard(Attrs(io_standard="3.3-V LVTTL"))