From: Ivan Grokhotkov Date: Mon, 8 Jun 2020 21:21:33 +0000 (+0200) Subject: de0: fix UART RTS/CTS direction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea2ac2b10658b8349cc307b28a316a0c8917b452;p=nmigen-boards.git de0: fix UART RTS/CTS direction. RTS and CTS match the schematic, but the direction is incorrect: CTS is output, RTS is input. Fix by setting role=dce. Ref. https://www.intel.com/content/dam/altera-www/global/en_US/portal/dsn/42/doc-us-dsnbk-42-5804152209-de0-user-manual.pdf --- diff --git a/nmigen_boards/de0.py b/nmigen_boards/de0.py index 8574230..5ba3e9a 100644 --- a/nmigen_boards/de0.py +++ b/nmigen_boards/de0.py @@ -44,7 +44,8 @@ class DE0Platform(IntelPlatform): UARTResource(0, rx="U22", tx="U21", rts="V22", cts="V21", - attrs=Attrs(io_standard="3.3-V LVTTL")), + attrs=Attrs(io_standard="3.3-V LVTTL"), + role="dce"), Resource("display_hd44780", 0, Subsignal("e", Pins("E21", dir="o")),