Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

AXi read transaction

Status
Not open for further replies.

vir_1602

Junior Member level 3
Joined
Feb 26, 2014
Messages
25
Helped
2
Reputation
4
Reaction score
1
Trophy points
3
Activity points
133
Hi all

does anyone know in read transaction do we send aligned address or starting address.

suppose I want to read from location 'h0003.

Thanks in adv
Vir
 

Aligned address is nothing but for example 'h1000, h'1004, 'h1008, 'h100C, etc
Unaligned address is something like, 'h1001, 'h1002, 'h1003, etc
Starting address is entirely different, it can be both aligned or unaligned.

Its all depends on your design, if your slave is able to receive and recognize the unaligned addresses like 'h1003,
for example if the data width is 32, and read address is 'h1003.
If the slave supports the unaligned address, then the slave can read the address location 'h1000, instead of 'h1003 and give the 32 width data,
and the master can take the respective bytes.
 
Thanks shibin

so u r saying there is both scenario. so if slave do not support unaligned address so what should slave do. and in above scenario; will master send address as h1000.


Thanks and regards
Virat Sharma
 

In the above case, if the slave is not supporting the unaligned transfer then the master can send the 'h1000 address, for getting the read data from 'h1003 address location.
But in that case for example if the slave is ddr memory and the data width is 8, then instead of single read from 'h1003 location, the slave read 4 read from 'h1000, 'h1001, 'h1002, 'h1003. So the number of clock cycle for completing the read may increases.
But in the case of write it wont happen, because there are write strobes for write data bytes.

- - - Updated - - -

For read there is no read data strobe, so when even if we need to read from 'h1003 location and if the slave is not supporting the unaligned transfer, then then slave forced to read all the location.
 

hi shibin

Thanks for reply

ok so if slave supporting unaligned transfer it can directly send the h1003 as address so suppose rdata is 32 to bit so how many lines will contain valid data as there is no read strobes how can I distinguish

Thanks in adv.

Thanks and Regards
Virat sharma
 

From what I can tell from the spec it looks like the byte at h1003 will reside in the same location as it would if you performed a 32-bit the read at h1000.

I'll admit I'm still learning this spec as I'm trying to implement a design with this bus.

regards
 
i am also understanding that spec which is available on arm website... and they have explained write transaction very well but read transaction is unclear... up to now i have thought as we can send directly address and slave will start reading and sending data from that location..

plz correct me if i am wrong..

Thanks n regards
Vir_1602
 

Thanks sibibn
Regds
vir
 

Thanks imbichie, sometimes I don't use a "picture" when I should.

vir_1602, I basically said the exact same thing as imbichie's excellent table i.e. the byte for 1003 shows up in [31:24]. :)
 

yes. ads-ee; through ur post I have understood and I was just thanking shibibn.

In last thanks all of u for ur help

Thanks and Regards
Virat Sharma
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top