Quick Links
Monitor AXI bus lock-up?
#1
Posted 20 September 2011 - 08:14 AM
For multi-master/multi-slave AMBA, Is it possible to detect AXI bus lock up? And how to do that (either by software or hardware)?
Thanks & Regards
Baojun
#2
Posted 21 September 2011 - 10:11 AM
You would need to monitor the ready and valid signals on the various AXI buses to detect when transactions stop completing, which "might" then indicate the bus has locked up.
Note that I only say "might", the AXI spec doesn't state that a transaction must complete within a defined number of cycles, so the number of cycles you choose to indicate possible lock up would depend on what your masters and slaves normally take to complete transfers.
So this counting of cycles from valid being driven high to when ready is then sampled high and the transfer handshake completes could be implemented by a hardware block (some sort of watchdog timer) if you were worried about possible lock ups, and I guess you could also implement this in software.
JD
#3
Posted 26 September 2011 - 05:32 AM
JD, on 21 September 2011 - 10:11 AM, said:
You would need to monitor the ready and valid signals on the various AXI buses to detect when transactions stop completing, which "might" then indicate the bus has locked up.
Note that I only say "might", the AXI spec doesn't state that a transaction must complete within a defined number of cycles, so the number of cycles you choose to indicate possible lock up would depend on what your masters and slaves normally take to complete transfers.
So this counting of cycles from valid being driven high to when ready is then sampled high and the transfer handshake completes could be implemented by a hardware block (some sort of watchdog timer) if you were worried about possible lock ups, and I guess you could also implement this in software.
JD














