forked from M-Labs/artiq
sayma_rtm: add UART loopback to easily know if rtm fpga is alive
This commit is contained in:
parent
74ce7319d3
commit
8fe463d4a0
@ -93,6 +93,10 @@ class SaymaRTM(Module):
|
||||
platform.request("dac_clk_src_sel")))
|
||||
csr_devices.append("clock_mux")
|
||||
|
||||
# UART loopback
|
||||
serial = platform.request(serial)
|
||||
self.comb += serial.tx.eq(serial.rx)
|
||||
|
||||
# Allaki: enable RF output, GPIO access to attenuator
|
||||
self.comb += [
|
||||
platform.request("allaki0_rfsw0").eq(1),
|
||||
|
Loading…
Reference in New Issue
Block a user