From 7aa639ac0f68cf75e17a17c70078f176f0a228fe Mon Sep 17 00:00:00 2001 From: Hans Baier Date: Tue, 2 Nov 2021 09:34:25 +0700 Subject: [PATCH] QMTech boards: fix swapped RX/TX lines, remove double uart replacer --- litex_boards/platforms/qmtech_daughterboard.py | 4 ++-- litex_boards/targets/qmtech_xc7a35t.py | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/litex_boards/platforms/qmtech_daughterboard.py b/litex_boards/platforms/qmtech_daughterboard.py index 12ceaf9..ef49df2 100644 --- a/litex_boards/platforms/qmtech_daughterboard.py +++ b/litex_boards/platforms/qmtech_daughterboard.py @@ -14,8 +14,8 @@ class QMTechDaughterboard: """ self.io = [ ("serial", 0, - Subsignal("rx", Pins("J2:15")), - Subsignal("tx", Pins("J2:16")), + Subsignal("rx", Pins("J2:16")), + Subsignal("tx", Pins("J2:15")), io_standard ), diff --git a/litex_boards/targets/qmtech_xc7a35t.py b/litex_boards/targets/qmtech_xc7a35t.py index 7145adc..e7f9fb4 100755 --- a/litex_boards/targets/qmtech_xc7a35t.py +++ b/litex_boards/targets/qmtech_xc7a35t.py @@ -76,8 +76,6 @@ class BaseSoC(SoCCore): platform = qmtech_xc7a35t.Platform(toolchain=toolchain, with_daughterboard=with_daughterboard) # SoCCore ---------------------------------------------------------------------------------- - if kwargs["uart_name"] == "serial": - kwargs["uart_name"] = "jtag_uart" SoCCore.__init__(self, platform, sys_clk_freq, ident = "LiteX SoC on QMTech XC7A35T" + (" + Daughterboard" if with_daughterboard else ""), ident_version = ident_version,