From: Ivan Grokhotkov Date: Mon, 8 Jun 2020 21:13:28 +0000 (+0200) Subject: blackice_ii: fix UART RTS/CTS direction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1aeee1d1b8b23cc59234d359d0c44c0a99fa86e;p=nmigen-boards.git blackice_ii: fix UART RTS/CTS direction. Pin numbers match the P0/P1 signals in the schematic, but the direction is reversed. Fix by setting role="dce". Ref. https://github.com/mystorm-org/BlackIce-II/blob/master/hardware/BlackIce.pdf --- diff --git a/nmigen_boards/blackice_ii.py b/nmigen_boards/blackice_ii.py index a679bda..2187d60 100644 --- a/nmigen_boards/blackice_ii.py +++ b/nmigen_boards/blackice_ii.py @@ -30,7 +30,8 @@ class BlackIceIIPlatform(LatticeICE40Platform): UARTResource(0, rx="88", tx="85", rts="91", cts="94", - attrs=Attrs(IO_STANDARD="SB_LVCMOS", PULLUP=1) + attrs=Attrs(IO_STANDARD="SB_LVCMOS", PULLUP=1), + role="dce" ), SRAMResource(0,