From 9b213b17af129200ce5afa046021de9a7736487c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 9 Jan 2019 18:57:57 +0800 Subject: [PATCH] sayma_amc: forward RTM UART in Master variant as well --- artiq/gateware/targets/sayma_amc.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/artiq/gateware/targets/sayma_amc.py b/artiq/gateware/targets/sayma_amc.py index 25aa85b90..c8f68a5f0 100755 --- a/artiq/gateware/targets/sayma_amc.py +++ b/artiq/gateware/targets/sayma_amc.py @@ -441,6 +441,14 @@ class Master(MiniSoC, AMPSoC): platform = self.platform rtio_clk_freq = 150e6 + # forward RTM UART to second FTDI UART channel + serial_1 = platform.request("serial", 1) + serial_rtm = platform.request("serial_rtm") + self.comb += [ + serial_1.tx.eq(serial_rtm.rx), + serial_rtm.tx.eq(serial_1.rx) + ] + self.submodules.si5324_rst_n = gpio.GPIOOut(platform.request("si5324").rst_n) self.csr_devices.append("si5324_rst_n") i2c = self.platform.request("i2c")