Ageing predetermination and overspeed delay testing bifunctional system and method thereof

The invention relates to an ageing predetermination and overspeed delay testing bifunctional system and method thereof. The system comprises a clock signal generating module, an operating mode and clock selecting module and a circuit response capturing module; wherein the clock signal generating module is used for generating a programmable clock signal according to a first control vector and generating a plurality of test clock signals according to a second control vector; the operating mode and clock selecting module is used for determining the operating mode of the system according to a control signal, selecting a signal among the programmable clock signal, a system functional clock signal and a test clock signal and inputting the selected signal to the system clock tree of a target circuit to carry out operation in corresponding operating mode, and the operating modes include normal operating mode, ageing predetermination mode and overspeed delay testing mode; and the circuit response capturing module is used for capturing the response of the target circuit in the capturing interval when the current mode is the ageing predetermination mode and is also used for generating a corresponding alarm signal according to the fact that whether signal step appears in the capturing interval. The invention can carry out overspeed delay testing and online circuit ageing predetermination.