cocotb_wrapper.axi.AxiLiteMaster.read#

async AxiLiteMaster.read(address, length, prot=AxiProt.NONSECURE)[source]#

Read length bytes from address.

Parameters:
  • address (int) – The read start address

  • length (int) – The read size in bytes

  • prot (AxiProt) – The AXI protection flag

Returns:

The response to the read operation, which also contains the data in

the data attribute

Return type:

AxiLiteReadResp