The invention relates to the technical field of
chip testing, in particular to an on-
chip AXI
bus monitoring method and a monitoring module.The method is executed by the monitoring module.The method comprises the steps that the starting
timestamp and the response
timestamp of each transmission operation are monitored so as to obtain the time
delay of each transmission operation; obtaining an average
delay and an average bandwidth by counting the delays and the data volume of a plurality of transmission operations in a time window; when the
delay, the average delay, the average bandwidth or the termination time of the time window of each transmission operation triggers an interrupt mechanism of the target AXI
bus, enabling the CPU to obtain a statistical result of the
current time window; and outputting the delay, the bandwidth and the information entry of each transmission operation of the target AXI
bus to the ATB bus. The monitoring module provided by the invention can retain and provide key
deadlock command information even under the condition that a CPU (
Central Processing Unit) is deadly hung, so that a
root cause can be quickly found, and the bus state can be obtained in real time without interfering the operation of a service scene.