forked from M-Labs/artiq
satellite: add rtio_analyzer, only for local rtio
This commit is contained in:
parent
3ca47537b8
commit
c0ca27e6cf
@ -360,7 +360,7 @@ class MasterBase(MiniSoC, AMPSoC):
|
|||||||
self.submodules.routing_table = rtio.RoutingTableAccess(self.cri_con)
|
self.submodules.routing_table = rtio.RoutingTableAccess(self.cri_con)
|
||||||
self.csr_devices.append("routing_table")
|
self.csr_devices.append("routing_table")
|
||||||
|
|
||||||
self.submodules.rtio_analyzer = rtio.Analyzer(self.rtio_tsc, self.cri_con.switch.slave,
|
self.submodules.rtio_analyzer = rtio.Analyzer(self.rtio_tsc, self.rtio_core.cri,
|
||||||
self.get_native_sdram_if(), cpu_dw=self.cpu_dw)
|
self.get_native_sdram_if(), cpu_dw=self.cpu_dw)
|
||||||
self.csr_devices.append("rtio_analyzer")
|
self.csr_devices.append("rtio_analyzer")
|
||||||
|
|
||||||
@ -577,6 +577,10 @@ class SatelliteBase(BaseSoC):
|
|||||||
self.submodules.routing_table = rtio.RoutingTableAccess(self.cri_con)
|
self.submodules.routing_table = rtio.RoutingTableAccess(self.cri_con)
|
||||||
self.csr_devices.append("routing_table")
|
self.csr_devices.append("routing_table")
|
||||||
|
|
||||||
|
self.submodules.rtio_analyzer = rtio.Analyzer(self.rtio_tsc, self.cri_con.switch.slave,
|
||||||
|
self.get_native_sdram_if(), cpu_dw=self.cpu_dw)
|
||||||
|
self.csr_devices.append("rtio_analyzer")
|
||||||
|
|
||||||
|
|
||||||
class Master(MasterBase):
|
class Master(MasterBase):
|
||||||
def __init__(self, hw_rev=None, **kwargs):
|
def __init__(self, hw_rev=None, **kwargs):
|
||||||
|
@ -308,6 +308,10 @@ class _MasterBase(MiniSoC, AMPSoC):
|
|||||||
self.register_kernel_cpu_csrdevice("cri_con")
|
self.register_kernel_cpu_csrdevice("cri_con")
|
||||||
self.submodules.routing_table = rtio.RoutingTableAccess(self.cri_con)
|
self.submodules.routing_table = rtio.RoutingTableAccess(self.cri_con)
|
||||||
self.csr_devices.append("routing_table")
|
self.csr_devices.append("routing_table")
|
||||||
|
self.submodules.rtio_analyzer = rtio.Analyzer(self.rtio_tsc, self.rtio_core.cri,
|
||||||
|
self.get_native_sdram_if(), cpu_dw=self.cpu_dw)
|
||||||
|
self.csr_devices.append("rtio_analyzer")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class _SatelliteBase(BaseSoC):
|
class _SatelliteBase(BaseSoC):
|
||||||
@ -460,6 +464,9 @@ class _SatelliteBase(BaseSoC):
|
|||||||
self.csr_devices.append("cri_con")
|
self.csr_devices.append("cri_con")
|
||||||
self.submodules.routing_table = rtio.RoutingTableAccess(self.cri_con)
|
self.submodules.routing_table = rtio.RoutingTableAccess(self.cri_con)
|
||||||
self.csr_devices.append("routing_table")
|
self.csr_devices.append("routing_table")
|
||||||
|
self.submodules.rtio_analyzer = rtio.Analyzer(self.rtio_tsc, self.rtio_core.cri,
|
||||||
|
self.get_native_sdram_if(), cpu_dw=self.cpu_dw)
|
||||||
|
self.csr_devices.append("rtio_analyzer")
|
||||||
|
|
||||||
|
|
||||||
class _NIST_CLOCK_RTIO:
|
class _NIST_CLOCK_RTIO:
|
||||||
|
Loading…
Reference in New Issue
Block a user