cocotb_wrapper.axi.AxiBurstType.WRAP#

AxiBurstType.WRAP = 2#

A wrapping burst.

A wrapping burst is similar to an incrementing burst, except that the address wraps around to a lower address if an upper address limit is reached.

The following restrictions apply to wrapping bursts:

  • The start address must be aligned to the size of each transfer.

  • the length of the burst must be 2, 4, 8, or 16 transfers.

The behavior of a wrapping burst is:

  • The lowest address that is used by the burst is aligned to the total size of the adat to be transferred, that is, to ((size of each transfer in the burst) x (number of transfers in the burst)). This address is defined as the wrap boundary.

  • After each transfer, the address increments in the same way as for an INCR burst. However, if this inceremented address is ((wrap boundary) + (total size of data to be transferred)), then the address wraps round to the wrap boundary.

  • The first transfer in the burst can use an address that is higher than the wrap boundary, subject to the restrictions that apply to wrapping bursts. The address wraps for any WRAP burst when the first address is higher than the wrap boundary.

This burst type is used for cache line accesses.