forked from M-Labs/artiq
1
0
Fork 0

kasli: construct DRTIO-EEM modules before adding RTIO

This commit is contained in:
occheung 2023-09-03 20:29:42 -07:00 committed by Sébastien Bourdeauducq
parent 73ac414912
commit 98904ef4c3
1 changed files with 3 additions and 1 deletions

View File

@ -99,10 +99,12 @@ class GenericMaster(MasterBase):
self.config["RTIO_LOG_CHANNEL"] = len(self.rtio_channels) self.config["RTIO_LOG_CHANNEL"] = len(self.rtio_channels)
self.rtio_channels.append(rtio.LogChannel()) self.rtio_channels.append(rtio.LogChannel())
self.add_rtio(self.rtio_channels, sed_lanes=description["sed_lanes"])
if has_drtio_over_eem: if has_drtio_over_eem:
self.add_eem_drtio(self.eem_drtio_channels) self.add_eem_drtio(self.eem_drtio_channels)
self.add_drtio_cpuif_groups() self.add_drtio_cpuif_groups()
self.add_rtio(self.rtio_channels, sed_lanes=description["sed_lanes"])
if has_grabber: if has_grabber:
self.config["HAS_GRABBER"] = None self.config["HAS_GRABBER"] = None
self.add_csr_group("grabber", self.grabber_csr_group) self.add_csr_group("grabber", self.grabber_csr_group)