diff --git a/cocotbext/axi/axi_master.py b/cocotbext/axi/axi_master.py index 21f6f40..a6760ed 100644 --- a/cocotbext/axi/axi_master.py +++ b/cocotbext/axi/axi_master.py @@ -316,7 +316,7 @@ class AxiMasterWrite(Reset): aw.awuser = cmd.user self.active_id[awid] += 1 - await self.aw_channel.drive(aw) + await self.aw_channel.send(aw) self.log.info("Write burst start awid: 0x%x awaddr: 0x%08x awlen: %d awsize: %d awprot: %s", awid, cur_addr, burst_length-1, cmd.size, cmd.prot) @@ -639,7 +639,7 @@ class AxiMasterRead(Reset): ar.aruser = cmd.user self.active_id[arid] += 1 - await self.ar_channel.drive(ar) + await self.ar_channel.send(ar) self.log.info("Read burst start arid: 0x%x araddr: 0x%08x arlen: %d arsize: %d arprot: %s", arid, cur_addr, burst_length-1, cmd.size, cmd.prot) diff --git a/cocotbext/axi/axil_master.py b/cocotbext/axi/axil_master.py index 7494e33..7cc330c 100644 --- a/cocotbext/axi/axil_master.py +++ b/cocotbext/axi/axil_master.py @@ -232,7 +232,7 @@ class AxiLiteMasterWrite(Reset): w.wdata = val w.wstrb = strb - await self.aw_channel.drive(aw) + await self.aw_channel.send(aw) await self.w_channel.send(w) async def _process_write_resp(self): @@ -426,7 +426,7 @@ class AxiLiteMasterRead(Reset): ar.araddr = word_addr + k*self.byte_width ar.arprot = cmd.prot - await self.ar_channel.drive(ar) + await self.ar_channel.send(ar) async def _process_read_resp(self): while True: