cocotb_wrapper.axi.AxiMaster.write#

async AxiMaster.write(address, data, id=None, burst=AxiBurstType.INCR, burst_size=None, lock=AxiLockType.NORMAL, cache=AxiCacheBit.None, prot=AxiProt.NONSECURE, qos=0, region=0, user=0, wuser=0)[source]#

Write data to the address.

Parameters:
  • address (int) – The write address

  • data (bytes) – The write data

  • id (int | None) – The AXI burst ID

  • burst (AxiBurstType) – The AXI burst type

  • burst_size (AxiBurstSize | None) – The AXI burst size

  • lock (AxiLockType) – The AXI lock type

  • cache (AxiCacheBit) – The AXI cache bits

  • prot (AxiProt) – The AXI protection flag

  • qos (int) – The AXI quality of service field

  • region (int) – The AXI region field

  • user (int) – The AXI user signal

  • wuser (int) – The AXI write user signal

Returns:

The response to the write operation

Return type:

AxiWriteResp