mirror of https://github.com/m-labs/artiq.git
ddb_template: print LED channel nos on Kasli v2
This commit is contained in:
parent
c9608c0a89
commit
fd824f7ad0
|
@ -48,6 +48,7 @@ class GenericStandalone(StandaloneBase):
|
|||
self.rtio_channels.append(rtio.Channel.from_phy(phy))
|
||||
if hw_rev == "v2.0":
|
||||
for i in (1, 2):
|
||||
print("USER LED at RTIO channel 0x{:06x}".format(len(self.rtio_channels)))
|
||||
phy = ttl_simple.Output(self.platform.request("user_led", i))
|
||||
self.submodules += phy
|
||||
self.rtio_channels.append(rtio.Channel.from_phy(phy))
|
||||
|
|
Loading…
Reference in New Issue