I want to know what happens in these scenarios :1) Assume Master1 (M1) is doing locked access, if locked access fails before M1 does unlocking transaction what is the response to the M1? 2) Assume M1 is doing locked transaction, if other Master2 (M2) tries to access the locked interconnect then what is the response to M2?3) If multiple Masters tries to do locked transactions at the same time, which master will get the access?
Regards,Vasu P
If you have 2 AXI masters trying to access one slave, how do you decide which one to get access, and which one to stall ?
Somewhere your "interconnect" logic has to decide which master to select, so that one is given "priority".
"Priority" isn't something signalled by the master (in AXI3), it is something decided by the interconnect, so either master A always is treated as higher priority than master B, or each master is given equal number of cycles access to the slave, or perhaps you can come up with some other scheme to define which master the interconnect selects. But whatever that scheme is, that master given access is being treated as higher priority than the other.
In AXI4 we do now have AxQOS signals that allow each master to indicate the perceived priority of their access so that the interconnect logic can try to make an informed decision as to which master to give priority to.