kasli_soc: add RTIO log channel

This commit is contained in:
Sebastien Bourdeauducq 2021-02-15 19:56:59 +08:00
parent faf9714e10
commit ef18fa4c6d
1 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,8 @@ class GenericStandalone(SoCCore):
if has_grabber:
self.grabber_csr_group = []
eem_7series.add_peripherals(self, description["peripherals"], iostandard=eem_iostandard)
self.config["RTIO_LOG_CHANNEL"] = len(self.rtio_channels)
self.rtio_channels.append(rtio.LogChannel())
self.submodules.rtio_tsc = rtio.TSC("async", glbl_fine_ts_width=3)
self.submodules.rtio_core = rtio.Core(self.rtio_tsc, self.rtio_channels)