Use send instead of drive
This commit is contained in:
@@ -316,7 +316,7 @@ class AxiMasterWrite(Reset):
|
|||||||
aw.awuser = cmd.user
|
aw.awuser = cmd.user
|
||||||
|
|
||||||
self.active_id[awid] += 1
|
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",
|
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)
|
awid, cur_addr, burst_length-1, cmd.size, cmd.prot)
|
||||||
@@ -639,7 +639,7 @@ class AxiMasterRead(Reset):
|
|||||||
ar.aruser = cmd.user
|
ar.aruser = cmd.user
|
||||||
|
|
||||||
self.active_id[arid] += 1
|
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",
|
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)
|
arid, cur_addr, burst_length-1, cmd.size, cmd.prot)
|
||||||
|
|||||||
@@ -232,7 +232,7 @@ class AxiLiteMasterWrite(Reset):
|
|||||||
w.wdata = val
|
w.wdata = val
|
||||||
w.wstrb = strb
|
w.wstrb = strb
|
||||||
|
|
||||||
await self.aw_channel.drive(aw)
|
await self.aw_channel.send(aw)
|
||||||
await self.w_channel.send(w)
|
await self.w_channel.send(w)
|
||||||
|
|
||||||
async def _process_write_resp(self):
|
async def _process_write_resp(self):
|
||||||
@@ -426,7 +426,7 @@ class AxiLiteMasterRead(Reset):
|
|||||||
ar.araddr = word_addr + k*self.byte_width
|
ar.araddr = word_addr + k*self.byte_width
|
||||||
ar.arprot = cmd.prot
|
ar.arprot = cmd.prot
|
||||||
|
|
||||||
await self.ar_channel.drive(ar)
|
await self.ar_channel.send(ar)
|
||||||
|
|
||||||
async def _process_read_resp(self):
|
async def _process_read_resp(self):
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
Reference in New Issue
Block a user