This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

AXI3 locked access

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

Parents
  • 1) until M1 signals an unlocking access, the path from M1 to the destination slave remains in a locked state. However an unlocking transfer is simply one with AxLOCK set to 0, so the next transfer M1 performs after the failed locked access will be the unlocking transfer (assuming it doesn't immediately reattempt the failed locked access).

    2) If M2 tries to access the same slave locked by M1, or any part of the interconnect internal paths that are locked by M1's access, the M2 access will be stalled until M1 completes its locked transfers.

    3) when multiple masters attempts to access the same slave, the interconnect arbitration logic will decide which master's access is passed through and which is stalled. The same is true of locked accesses, the interconnect arbitration logic will decide which access gets through and which is stalled.

Reply
  • 1) until M1 signals an unlocking access, the path from M1 to the destination slave remains in a locked state. However an unlocking transfer is simply one with AxLOCK set to 0, so the next transfer M1 performs after the failed locked access will be the unlocking transfer (assuming it doesn't immediately reattempt the failed locked access).

    2) If M2 tries to access the same slave locked by M1, or any part of the interconnect internal paths that are locked by M1's access, the M2 access will be stalled until M1 completes its locked transfers.

    3) when multiple masters attempts to access the same slave, the interconnect arbitration logic will decide which master's access is passed through and which is stalled. The same is true of locked accesses, the interconnect arbitration logic will decide which access gets through and which is stalled.

Children