Hi,
I have a general query on narrow transfer:
If I want to send 8-bit of data on 32-bit wide bus what could be AWSIZe value ? Assume start address = 0
To support narrow transfer there could be two approach:
- AWSIZE = Maximum bus width 32-bit in this case
AWSIZE = 2 ( 2^2 = 4 byte= 32 bit) and play with wstrb
i.e wstrb = 4’b0001 lower level driver or UVC will do this configuration while driving - AWSIZE = 0 ( 2^0 = 1 byte = 8bits) this approach would calculate number of data to be sent on bus with (awlen+1)(2^awsize8) // some glue logic around this to sent wstrb
in approach-1 we don’t care about awsize and purely depends on wstrb and in approach-2 is awsize followed by wstrb
From standard axi spec point of view which is correct?