From 0f5aeb20925db05143b8babe56dd076ca234bdd3 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Thu, 5 Dec 2024 14:23:20 +0800 Subject: [PATCH] kasli_soc: fix acpki import --- src/gateware/kasli_soc.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/gateware/kasli_soc.py b/src/gateware/kasli_soc.py index 426d619..bae58b5 100755 --- a/src/gateware/kasli_soc.py +++ b/src/gateware/kasli_soc.py @@ -25,7 +25,7 @@ from artiq.gateware.drtio import * import dma import analyzer -import acpki +import acpki as acpki_lib import drtio_aux_controller class RTIOCRG(Module, AutoCSR): @@ -167,10 +167,10 @@ class GenericStandalone(SoCCore): if self.acpki: self.config["KI_IMPL"] = "acp" - self.submodules.rtio = acpki.KernelInitiator(self.rtio_tsc, - bus=self.ps7.s_axi_acp, - user=self.ps7.s_axi_acp_user, - evento=self.ps7.event.o) + self.submodules.rtio = acpki_lib.KernelInitiator(self.rtio_tsc, + bus=self.ps7.s_axi_acp, + user=self.ps7.s_axi_acp_user, + evento=self.ps7.event.o) self.csr_devices.append("rtio") else: self.config["KI_IMPL"] = "csr" @@ -296,10 +296,10 @@ class GenericMaster(SoCCore): if self.acpki: self.config["KI_IMPL"] = "acp" - self.submodules.rtio = acpki.KernelInitiator(self.rtio_tsc, - bus=self.ps7.s_axi_acp, - user=self.ps7.s_axi_acp_user, - evento=self.ps7.event.o) + self.submodules.rtio = acpki_lib.KernelInitiator(self.rtio_tsc, + bus=self.ps7.s_axi_acp, + user=self.ps7.s_axi_acp_user, + evento=self.ps7.event.o) self.csr_devices.append("rtio") else: self.config["KI_IMPL"] = "csr" @@ -435,10 +435,10 @@ class GenericSatellite(SoCCore): if self.acpki: self.config["KI_IMPL"] = "acp" - self.submodules.rtio = acpki.KernelInitiator(self.rtio_tsc, - bus=self.ps7.s_axi_acp, - user=self.ps7.s_axi_acp_user, - evento=self.ps7.event.o) + self.submodules.rtio = acpki_lib.KernelInitiator(self.rtio_tsc, + bus=self.ps7.s_axi_acp, + user=self.ps7.s_axi_acp_user, + evento=self.ps7.event.o) self.csr_devices.append("rtio") else: self.config["KI_IMPL"] = "csr"