forked from M-Labs/artiq
targets/kc705: add LED on RTIO
This commit is contained in:
parent
833178462d
commit
277e038569
@ -43,6 +43,12 @@
|
||||
"class": "RTIOOut",
|
||||
"arguments": {"channel": 4}
|
||||
},
|
||||
"led": {
|
||||
"type": "local",
|
||||
"module": "artiq.coredevice.rtio",
|
||||
"class": "RTIOOut",
|
||||
"arguments": {"channel": 18}
|
||||
},
|
||||
|
||||
"dds0": {
|
||||
"type": "local",
|
||||
|
@ -90,7 +90,9 @@ class _ARTIQSoCPeripherals(BaseSoC):
|
||||
platform.request("ttl_h_tx_en").eq(1)
|
||||
]
|
||||
rtio_ins = [platform.request("pmt") for i in range(2)]
|
||||
rtio_outs = [platform.request("ttl", i) for i in range(16)] + [fud]
|
||||
rtio_outs = [platform.request("ttl", i) for i in range(16)]
|
||||
rtio_outs.append(platform.request("user_led", 2))
|
||||
rtio_outs.append(fud)
|
||||
|
||||
self.submodules.rtiocrg = _RTIOCRG(platform, self.crg.pll_sys)
|
||||
self.submodules.rtiophy = rtio.phy.SimplePHY(
|
||||
|
Loading…
Reference in New Issue
Block a user