I have an AXI4 Initiator with data_width = 32bits and an APB Target with data_width = 8bit. There's a protocol conversion bridge between these two.Suppose the initiator want to do a READ with ARSIZE = 1 (16bits). how does the data look on RDATA lines?
Suppose axi initiator sends req : Araddr = 0x1000 ARSIZE = 1 ARLEN = 3 ARBURST= INCR then how does the RDATA look like ?
Case 1:1st rdata = 00010001 -- from address 0x10002nd rdata = aaa1aaa1 -- from address 0x10023rd rdata = 00020002 -- from address 0x10044th rdata = aaa2aaa2 -- from address 0x1006
Case 2:1st rdata = 00000001 -- from address 0x10002nd rdata = aaa10001 -- from address 0x10023rd rdata = 00000002 -- from address 0x10044th rdata = aaa20002 -- from address 0x1006Basically, I want to understand how to handle the data being read from APB side should be handled inside the axi-to-apb bridge to be sent to AXI initiator.Thank you in advance for all your response.
Just realised I needed to add to the first sentence in that last reply...
"If your AXI4-APB bridge is converting the 32-bit requests into 4 8-bit requests AND is merging together the 8-bit results when returning read data,..."