The invention relates to the technical field of real-time kernel performance testing of special chips, in particular to a special
chip real-time performance evaluation method based on an FPGA (
Field Programmable Gate Array), which comprises the following steps: (1) aiming at a real-
time system on an ASIC (
Application Specific Integrated Circuit)
chip, setting an external interrupt source and an interrupt service program through a hardware interrupt controller; (2) two tasks with the same priority are created, scheduling of the tasks is achieved through time slice rotation, and a real dynamic load scene is simulated; (3) configuring an external FPGA (
Field Programmable Gate Array) to generate a
square wave signal to trigger external interruption of the ASIC
chip, receiving a feedback
signal, and connecting the FPGA and the GPIO through an external physical connecting line to form a hardware interruption triggering-response
closed loop; and (4) realizing
nanosecond timestamp capture through a counter built in the FPGA, acquiring time
delay data, calculating interrupt
response time, and transmitting the time
delay data to a PC (
Personal Computer) through a UART (Universal Asynchronous
Receiver /
Transmitter) to calculate a maximum value, a minimum value, an average value and a data
jitter range of
test data. The method can effectively solve the problem that the traditional internal closed-loop test cannot reflect the real interruption randomness and the dynamic load.