mirror of https://github.com/m-labs/artiq.git
sayma_amc: connect RTM serial and second serial
This commit is contained in:
parent
e94d0803e1
commit
d6b624dfbe
|
@ -44,6 +44,13 @@ class SaymaAMCStandalone(MiniSoC, AMPSoC):
|
|||
platform.request("user_led", 1)))
|
||||
self.csr_devices.append("leds")
|
||||
|
||||
serial_1 = platform.request("serial", 1)
|
||||
serial_rtm = platform.request("serial_rtm")
|
||||
self.comb += [
|
||||
serial_1.tx.eq(serial_rtm.rx),
|
||||
serial_rtm.rx.eq(serial_1.tx)
|
||||
]
|
||||
|
||||
rtio_channels = []
|
||||
for i in (2, 3):
|
||||
phy = ttl_simple.Output(platform.request("user_led", i))
|
||||
|
|
Loading…
Reference in New Issue