Device for detecting margin of circuit operating speed

Through the combination of signal generation circuit, adjustable delay circuit, circuit under test, comparison circuit and correction circuit, the margin of operating speed of the integrated circuit is quickly detected, which solves the problems of slow response time and complex design in the existing technology, and achieves rapid Effective monitoring and correction processes.

CN114062889BActive Publication Date: 2024-08-27REALTEK SEMICON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010771105.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-04
Publication Date
2024-08-27
Estimated Expiration
2040-08-04

Smart Images

  • Figure CN114062889B
    Figure CN114062889B
Patent Text Reader

Abstract

The present invention discloses a device for detecting the margin of circuit operation speed. The device comprises: a signal generating circuit, used for generating an input signal, wherein the input signal comprises preset data; a first adjustable delay circuit, used for delaying the input signal by a first set delay amount to generate a delayed input signal; a circuit to be tested, used for performing a predetermined operation to generate a signal to be tested according to the delayed input signal, wherein the predetermined operation is based on a predetermined operation sequence; a second adjustable delay circuit, used for delaying the signal to be tested by a second set delay amount to generate a delayed signal to be tested; a comparison circuit, used for comparing the data contained in the delayed signal to be tested with the preset data according to the predetermined operation sequence to generate a comparison result; and a correction circuit, used for judging whether the circuit to be tested passes a speed test according to the comparison result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a speed detection device, in particular to a device for detecting the margin of circuit operation speed. Background Art

[0002] The operating speed of an integrated circuit (IC) is affected by factors such as process, voltage, temperature, and aging. The process is determined when the IC is manufactured, the voltage is affected by the environment (e.g., unstable external power supply) and the application of the IC (e.g., the application executed by the IC or a device containing the IC; or voltage decay (IR drop)), the temperature is affected by the environment (e.g., weather) and the application of the IC (e.g., the application executed by the IC or a device containing the IC; or IC power). The aging degree is determined by the remaining life of the IC.

[0003] As mentioned above, the operating speed or characteristics of different ICs are different due to the interaction of process, voltage, temperature and aging (PVTA). The current speed binning technology groups ICs according to their operating speed and sets specifications and prices for each group of ICs; the current adaptive voltage scaling (AVS) technology gives the appropriate supply voltage to each IC according to its characteristics to achieve power saving / extending life / high speed. These technologies usually require knowing the operating speed of the IC. The operating speed of some ICs mainly depends on the speed of the embedded macro (e.g. static random access memory (SRAM) / analog area).

[0004] There are several technologies to measure the operating speed of IC:

[0005] Ring oscillator: This technology is to infer the operating speed of the integrated circuit by observing the operating speed of the ring oscillator. The disadvantages are: slow response time; and voltage changes in a short period of time cannot be measured.

[0006] Voltage meter / temperature meter. This technology directly measures the voltage / temperature inside the integrated circuit. The disadvantages are: usually it needs to be implemented by analog design; the circuit area is large; the measurement results need to be converted to know the operating speed of the integrated circuit; and the response time is slow.

[0007] Critical path monitoring. This technique measures the signal delay caused by the critical path in the integrated circuit. The disadvantages are: the design process is complicated (because the critical path will not be revealed until the late design stage); there are different critical paths in different environments; and there are many critical paths and not all of them can be observed. Summary of the invention

[0008] One of the purposes of the present disclosure is to provide a device for detecting the margin of circuit operation speed, which can avoid the problems of the prior art.

[0009] An embodiment of the device disclosed in the present invention includes a signal generating circuit, a first adjustable delay circuit, a circuit to be tested, a second adjustable delay circuit, a comparison circuit and a correction circuit. The signal generating circuit is used to generate an input signal at the beginning of a detection process, and the input signal includes preset data. The first adjustable delay circuit is coupled to the signal generating circuit, and is used to delay the input signal to a first set delay amount under the detection process to generate a delayed input signal. The circuit to be tested is coupled to the first adjustable delay circuit, and is used to perform a predetermined operation after the detection process starts to generate a signal to be tested according to the delayed input signal, wherein the predetermined operation is based on a predetermined operation sequence. The second adjustable delay circuit is coupled to the circuit to be tested, and is used to delay the signal to be tested to a second set delay amount under the detection process to generate a delayed signal to be tested. The comparison circuit is coupled to the second adjustable delay circuit, and is used to compare the data included in the delayed signal to be tested with the preset data according to the predetermined operation sequence under the detection process to generate a comparison result. The calibration circuit is coupled to the comparison circuit and is used to determine whether the circuit to be tested passes a speed test according to the comparison result in the detection process.

[0010] Another embodiment of the device disclosed in the present invention includes a signal generating circuit, an adjustable delay circuit, a circuit to be tested, a comparison circuit and a correction circuit. The signal generating circuit is used to generate an input signal at the beginning of a detection process, and the input signal includes preset data. The adjustable delay circuit is coupled to the signal generating circuit, and is used to delay the input signal by a set delay amount under the detection process to generate a delayed input signal. The circuit to be tested is coupled to the adjustable delay circuit, and is used to perform a predetermined operation after the detection process starts to generate a signal to be tested according to the delayed input signal, wherein the predetermined operation is based on a predetermined operation timing. The comparison circuit is coupled to the circuit to be tested, and is used to compare the data included in the signal to be tested with the preset data according to the predetermined operation timing under the detection process to generate a comparison result. The correction circuit is coupled to the comparison circuit, and is used to determine whether the circuit to be tested passes a speed test according to the comparison result under the detection process.

[0011] Another embodiment of the device disclosed in the present invention includes a signal generating circuit, a circuit to be tested, an adjustable delay circuit, a comparison circuit and a correction circuit. The signal generating circuit is used to generate an input signal at the beginning of a detection process, and the input signal includes preset data. The circuit to be tested is coupled to the signal generating circuit and is used to perform a predetermined operation after the detection process starts to generate a signal to be tested according to the input signal, wherein the predetermined operation is based on a predetermined operation sequence. The adjustable delay circuit is coupled to the circuit to be tested and is used to delay the signal to be tested by a set delay amount under the detection process to generate a delayed signal to be tested. The comparison circuit is coupled to the adjustable delay circuit and is used to compare the data included in the delayed signal to be tested with the preset data according to the predetermined operation sequence under the detection process to generate a comparison result. The correction circuit is coupled to the comparison circuit and is used to determine whether the circuit to be tested passes a speed test according to the comparison result under the detection process.

[0012] The features, implementation and technical effects of the present invention are described in detail below with reference to the accompanying drawings as preferred embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 An embodiment of the device for detecting the margin of the operating speed of the circuit disclosed in the present invention is shown;

[0014] Figure 2 An embodiment of a first adjustable delay circuit is shown;

[0015] Figure 3 Another embodiment of the first adjustable delay circuit is shown;

[0016] Figure 4 An embodiment of a circuit under test is shown;

[0017] Figure 5 Another embodiment of the circuit under test is shown; and

[0018] Figure 6 Another embodiment of the circuit under test is shown.

[0019] Explanation of symbols

[0020] 100: Device for detecting the margin of circuit operating speed

[0021] 110: Signal generating circuit

[0022] 120: First adjustable delay circuit

[0023] 130: Circuit under test

[0024] 140: Second adjustable delay circuit

[0025] 150: Comparison circuit

[0026] 160: Correction circuit

[0027] W1: Input signal

[0028] W1': Delayed input signal

[0029] W2: Signal to be tested

[0030] W2': Delay the signal to be tested

[0031] Pass / Fail: Comparison results

[0032] S CAL : Correction signal

[0033] Ctrl: Control signal

[0034] Fail_alarm: Alarm notification

[0035] 210: Delay unit

[0036] 212: Delay element

[0037] 214: Multiplexer

[0038] 310: Delay element

[0039] 320: Multiplexer

[0040] 510: Input pad

[0041] 520: Output pad

[0042] 530: External Circuit

[0043] 610: Digital to Analog Converter (DAC)

[0044] 620: Analog to Digital Converter (ADC) DETAILED DESCRIPTION

[0045] The present disclosure includes a device for detecting the margin of circuit operation speed, which can quickly and effectively detect the margin of circuit operation speed in a calibration process, and can monitor whether a circuit to be tested passes a speed test in a monitoring process.

[0046] Figure 1 An embodiment of a device for detecting a circuit operating speed margin disclosed in the present invention is shown. Figure 1The device 100 includes a signal generating circuit 110, a first adjustable delay circuit 120, a circuit under test 130, a second adjustable delay circuit 140, a comparison circuit 150 and a calibration circuit 160. Depending on the implementation requirements, the second adjustable delay circuit 140 or the first adjustable delay circuit 120 can be omitted / disabled (i.e., no delay element is in effect); when the second adjustable delay circuit 140 is omitted / disabled, the device 100 uses the first adjustable delay circuit 120 to detect the margin of the input speed of the circuit under test 130, or to detect the time limit of the signal receiving of the circuit under test 130; when the first adjustable delay circuit 120 is omitted / disabled, the device 100 uses the second adjustable delay circuit 140 to detect the margin of the output speed of the circuit under test 130, or to detect the time limit of the signal transmitting of the circuit under test 130. Since those skilled in the art can understand the circuit coupling relationship and signal relationship when the first / second adjustable delay circuit 120 / 140 is omitted according to this specification and the drawings, repeated and redundant descriptions are omitted here.

[0047] See also Figure 1 The signal generating circuit 110 is used to generate an input signal (W1) at the beginning of a detection process, and the input signal includes preset data. For example, when the circuit under test 130 includes a storage circuit (for example: a static random access memory (SRAM); a content addressable memory (CAM) such as a binary CAM (BCAM) or a ternary CAM (TCAM); an embedded flash memory (eFlash); an embedded dynamic random access memory (eDRAM)), the input signal includes a write signal, and the write signal includes the preset data and a write address, and the write address corresponds to a specific address of the storage circuit; when the circuit under test 130 includes a transmission interface, the input signal includes a transmission signal, and the transmission signal includes the preset data; when the circuit under test 130 includes a converter (the converter includes an analog-to-digital converter (ADC) and a digital-to-analog converter (DAC)), the input signal includes an analog signal, and the analog signal includes the preset data. The preset data may be a signal indicating a preset value, or a signal indicating a preset pattern, or other signals that can be used for comparison.

[0048] See also Figure 1 The first adjustable delay circuit 120 is coupled to the signal generating circuit 110 and is used to delay the input signal by a first set delay amount in the detection process to generate a delayed input signal (W1′). An embodiment of the first adjustable delay circuit 120 is as follows: Figure 2As shown, it includes a plurality of delay units 210 connected in series; each delay unit 210 includes a delay element 212 and a multiplexer 214; the multiplexer 214 outputs a signal that has passed through the delay element 212 or a signal that has not passed through the delay element 212 according to the control of the correction circuit 160, thereby achieving an adjustable delay amount. Another embodiment of the first adjustable delay circuit 120 is as follows Figure 3 As shown, it includes a plurality of delay elements 310 connected in series and a multiplexer 320; the input end of the first delay element 310 and the output ends of the other delay elements 310 are coupled to the multiplexer 320, so that the multiplexer 320 outputs a signal of one of the ends according to the control of the correction circuit 160, thereby achieving an adjustable delay amount. More embodiments of the adjustable delay circuit can be obtained from Figure 2 and Figure 3 It is derived from published and known / self-developed delay circuits.

[0049] See also Figure 1 The circuit under test 130 is coupled to the first adjustable delay circuit 120 and is used to perform a predetermined operation after the detection process starts to generate a signal under test (W2) according to the delayed input signal, wherein the predetermined operation is based on a predetermined operation timing. The circuit under test 130 is an embedded circuit or other types of circuits depending on the implementation requirements. Figure 4 An embodiment of the circuit under test 130 is shown; in this example, the circuit under test 130 is a static random access memory (SRAM), the input signal includes a write address, the write address corresponds to a specific address of the SRAM, the predetermined operation is a known / self-developed data access operation, and the predetermined operation timing is a known / self-developed SRAM data access operation timing. Figure 5 Another embodiment of the circuit under test 130 is shown; in this example, the circuit under test 130 is a transmission interface, which includes an input pad 510 and an output pad 520. The input pad 510 and the output pad 520 are coupled together via an external circuit 530. The input pad 510 receives the delayed input signal under the detection process and outputs the delayed input signal to the external circuit 530, so that the output pad 520 outputs the signal under test according to the output of the external circuit 530. The predetermined operation is a known / self-developed signal transmission operation. Figure 6 Another embodiment of the circuit under test 130 is shown; in this example, the circuit under test 130 is a converter, which includes a digital-to-analog converter (DAC) 610 and an analog-to-digital converter (ADC) 620. The DAC 610 converts the delayed input signal into an analog signal, and the ADC 620 converts the analog signal into a digital signal as the signal under test. The predetermined operation is a known / self-developed signal conversion operation.

[0050] See also Figure 1The second adjustable delay circuit 140 is coupled to the test circuit 130 and is used to delay the test signal by a second set delay amount in the detection process to generate a delayed test signal (W2'). The embodiment of the second adjustable delay circuit 140 is the same as the embodiment of the first adjustable delay circuit 120 described above.

[0051] See also Figure 1 The comparison circuit 150 is coupled to the second adjustable delay circuit 140, and is used to compare the data included in the delayed signal to be tested with the preset data according to the predetermined operation timing under the detection process to generate a comparison result (Pass / Fail), wherein the preset data can be stored in the comparison circuit 150, or input to the comparison circuit 150. For example, if the data included in the delayed signal to be tested is the same as the preset data, the comparison result is a first comparison result; if the data included in the delayed signal to be tested is different from the preset data, the comparison result is a second comparison result. The comparison circuit 150 is a known / self-developed circuit.

[0052] See also Figure 1 . The correction circuit 160 is coupled to the comparison circuit 150, and is used to determine whether the circuit under test 130 has passed a speed test according to the comparison result under the detection process. In an implementation example, the detection process is an input speed / output speed correction process. The main steps of the input speed / output speed correction process and examples of the main circuit actions of each step are shown in Table 1 / 2 below. In the above example, the second / first set delay amount is a predetermined delay amount (for example: a certain value, where when the certain value is zero, the second / first adjustable delay circuit 140 / 120 is equivalent to being disabled); if the correction circuit 160 determines that the data contained in the delayed signal under test is the same as the preset data according to the comparison result, the correction circuit 160 determines that the circuit under test 130 has passed the speed test and sends a correction signal (S CAL ) to increase the first / second set delay amount by a predetermined increment (e.g., increase Figure 2 / Figure 3), and the device 100 is instructed to re-execute the calibration process, wherein the first / second set delay amount is initially set to zero or other preset amounts; if the calibration circuit 160 determines that the data included in the delayed test signal is different from the preset data according to the comparison result, the calibration circuit 160 determines that the test circuit 130 has failed the speed test, and determines that the first / second set delay amount is the margin of the first / second operating speed of the test circuit 130, and the first / second set delay amount represents the worst case that the test circuit 130 can withstand. In an implementation example, the margin of the first / second operating speed of the test circuit 130 is associated with the margin of the first / second operating speed of a target circuit (not shown in the figure), the process of the test circuit 130 is the same as that of the target circuit, and the relationship between the operating speeds of the two circuits is known / measurable, therefore, the margin of the operating speed of the test circuit 130 can reflect the margin of the operating speed of the target circuit. In another implementation example, the circuit under test 130 itself is the target circuit.

[0053] Table 1 (Input speed correction process)

[0054]

[0055]

[0056] Table 2 (Output speed calibration process)

[0057]

[0058] See also Figure 1 In an implementation example, the detection process is a monitoring process, and the main steps of the monitoring process and the examples of the main circuit actions of each step are shown in Table 3 below. In the above example, if the correction circuit 160 determines that the data included in the delayed test signal is the same as the preset data based on the comparison result, the correction circuit 160 determines that the circuit under test 130 passes the speed test and causes the device 100 to re-execute the monitoring process; if the correction circuit 160 determines that the data included in the delayed test signal is different from the preset data based on the comparison result, the correction circuit 160 determines that the circuit under test 130 fails the speed test and sends a warning notification (Fail_alarm) to a user interface (not shown in the figure) or an abnormality recording device (not shown in the figure).

[0059] Table 3 (Monitoring process)

[0060]

[0061] See also Figure 1 and Figure 4In an implementation example, the circuit under test 130 includes an SRAM, the input signal includes a write address, and the write address corresponds to a specific address of the SRAM; the predetermined operation is a data access operation; the correction circuit 160 controls multiple operations to make the device 100 re-execute the correction process. The multiple operations include:

[0062] (1) The signal generating circuit 110 generates the input signal.

[0063] (2) Resetting the circuit under test 130 . This operation can be performed by the signal generating circuit 110 resetting the circuit under test 130 based on the control of the calibration circuit 160 , or by the calibration circuit 160 directly resetting the circuit under test 130 .

[0064] (3) The comparison circuit 150 is instructed to perform comparison according to the predetermined operation sequence.

[0065] It is worth noting that the generation of the input signal, the execution of the predetermined operation and the execution of the comparison operation are all related to the predetermined operation timing, so that the delay caused by the first / second delay circuit 120 / 140 will affect the comparison result. Therefore, the correction circuit 160 can send a control signal (Ctrl) to enable the multiple operations to be executed synchronously, so that the multiple operations are all based on the predetermined operation timing; however, under the premise of being possible, the multiple operations can also be executed non-completely synchronously.

[0066] Please note that, under the premise of being implementable, technicians in this technical field may selectively implement some or all of the technical features in any of the aforementioned embodiments, or selectively implement a combination of some or all of the technical features in the aforementioned multiple embodiments, thereby increasing the flexibility of the implementation of the present invention.

[0067] In summary, the device disclosed in the present invention can quickly and effectively detect the margin of circuit operating speed in a calibration process, and can monitor whether a circuit under test passes a speed test in a monitoring process.

[0068] Although the embodiments of the present invention are described above, the embodiments are not intended to limit the present invention. Those skilled in the art may make changes to the technical features of the present invention based on the explicit or implicit contents of the present invention. All these changes may fall within the scope of patent protection sought by the present invention. In other words, the scope of patent protection of the present invention shall be subject to that defined in the claims of this specification.

Claims

1. A device for detecting a margin of a circuit operating speed, the device comprising: A signal generating circuit, used for generating an input signal when a detection process starts, wherein the input signal includes preset data; a first adjustable delay circuit, coupled to the signal generating circuit, for delaying the input signal by a first set delay amount in the detection process to generate a delayed input signal; A circuit to be tested, coupled to the first adjustable delay circuit, for performing a predetermined operation after the detection process starts to generate a signal to be tested according to the delayed input signal, wherein the predetermined operation is based on a predetermined operation timing; A second adjustable delay circuit, coupled to the circuit to be tested, is used to delay the signal to be tested by a second set delay amount in the detection process to generate a delayed signal to be tested; A comparison circuit, coupled to the second adjustable delay circuit, for comparing the data included in the delayed signal to be tested with the preset data according to the predetermined operation timing in the detection process to generate a comparison result; as well as a calibration circuit coupled to the comparison circuit, for determining whether the circuit under test passes a speed test according to the comparison result in the detection process; The detection process is a correction process; one of the second set delay amount and the first set delay amount is a predetermined delay amount; the other of the second set delay amount and the first set delay amount is an adjustable delay amount; if the correction circuit determines that the data included in the delayed signal to be tested is the same as the preset data based on the comparison result, the correction circuit determines that the circuit to be tested passes the speed test, increases the adjustable delay amount, and causes the device to re-execute the correction process; if the correction circuit determines that the data included in the delayed signal to be tested is different from the preset data based on the comparison result, the correction circuit determines that the circuit to be tested does not pass the speed test, and determines that the adjustable delay amount is a margin of an operating speed of the circuit to be tested.

2. The device of claim 1, wherein the second set delay amount is the predetermined delay amount, the first set delay amount is the adjustable delay amount, and the operating speed is a first operating speed.

3. The device of claim 1, wherein the first set delay amount is the predetermined delay amount, the second set delay amount is the adjustable delay amount, and the operating speed is a second operating speed.

4. The device as claimed in claim 1, wherein the detection process is a monitoring process; if the correction circuit determines that the data included in the delayed signal to be tested is the same as the preset data based on the comparison result, the correction circuit determines that the circuit to be tested has passed the speed test and enables the device to re-execute the monitoring process; if the correction circuit determines that the data included in the delayed signal to be tested is different from the preset data based on the comparison result, the correction circuit determines that the circuit to be tested has not passed the speed test and sends a warning notification.

5. A device for detecting a margin of a circuit operating speed, the device comprising: A signal generating circuit, used for generating an input signal when a detection process starts, wherein the input signal includes preset data; an adjustable delay circuit, coupled to the signal generating circuit, for delaying the input signal by a set delay amount in the detection process to generate a delayed input signal; A circuit to be tested, coupled to the adjustable delay circuit, for performing a predetermined operation after the detection process starts to generate a signal to be tested according to the delayed input signal, wherein the predetermined operation is based on a predetermined operation timing; A comparison circuit, coupled to the circuit to be tested, for comparing the data included in the signal to be tested with the preset data according to the predetermined operation timing in the detection process to generate a comparison result; as well as a calibration circuit coupled to the comparison circuit, for determining whether the circuit under test passes a speed test according to the comparison result in the detection process; Wherein, the circuit to be tested includes one of the following: A static random access memory, wherein the input signal comprises a write address, the write address corresponds to a specific address of the static random access memory, and the predetermined operation is a data access operation; a transmission interface, the transmission interface comprising an input pad and an output pad, wherein the input pad and the output pad are coupled together via an external circuit, the input pad receives the delayed input signal under the detection process, and outputs the delayed input signal to the external circuit, so that the output pad outputs the signal to be tested according to the output of the external circuit, and the predetermined operation is a signal transmission operation; and A converter includes a digital-to-analog converter and an analog-to-digital converter. The digital-to-analog converter converts the delayed input signal into an analog signal. The analog-to-digital converter converts the analog signal into the signal to be tested. The predetermined operation is a signal conversion operation.

6. The device as claimed in claim 5, wherein the detection process is a correction process; if the correction circuit determines that the data included in the test signal is the same as the preset data based on the comparison result, the correction circuit determines that the test circuit passes the speed test, increases the set delay amount, and causes the device to re-execute the correction process; if the correction circuit determines that the data included in the test signal is different from the preset data based on the comparison result, the correction circuit determines that the test circuit fails the speed test, and determines that the set delay amount is a margin of an operating speed of the test circuit.

7. The device as described in claim 5, wherein the detection process is a monitoring process; if the correction circuit determines that the data included in the signal to be tested is the same as the preset data based on the comparison result, the correction circuit determines that the circuit to be tested has passed the speed test and enables the device to re-execute the monitoring process; if the correction circuit determines that the data included in the signal to be tested is different from the preset data based on the comparison result, the correction circuit determines that the circuit to be tested has not passed the speed test and sends a warning notification.

8. A device for detecting a margin of a circuit operating speed, the device comprising: A signal generating circuit, used for generating an input signal when a detection process starts, wherein the input signal includes preset data; A circuit to be tested, coupled to the signal generating circuit, for performing a predetermined operation after the detection process starts to generate a signal to be tested according to the input signal, wherein the predetermined operation is based on a predetermined operation timing; An adjustable delay circuit coupled to the circuit to be tested, and used to delay the signal to be tested by a set delay amount in the detection process to generate a delayed signal to be tested; A comparison circuit, coupled to the adjustable delay circuit, for comparing the data included in the delayed signal to be tested with the preset data according to the predetermined operation timing in the detection process to generate a comparison result; as well as a calibration circuit coupled to the comparison circuit, for determining whether the circuit under test passes a speed test according to the comparison result in the detection process; Wherein, the circuit to be tested includes one of the following: A static random access memory, wherein the input signal comprises a write address, the write address corresponds to a specific address of the static random access memory, and the predetermined operation is a data access operation; a transmission interface, the transmission interface comprising an input pad and an output pad, wherein the input pad and the output pad are coupled together via an external circuit, the input pad receives the input signal under the detection process and outputs the input signal to the external circuit, so that the output pad outputs the signal to be tested according to the output of the external circuit, and the predetermined operation is a signal transmission operation; and A converter includes a digital-to-analog converter and an analog-to-digital converter. The digital-to-analog converter converts the input signal into an analog signal, and the analog-to-digital converter converts the analog signal into the signal to be tested. The predetermined operation is a signal conversion operation.

9. The device as claimed in claim 8, wherein the detection process is a correction process; if the correction circuit determines that the data included in the delayed test signal is the same as the preset data based on the comparison result, the correction circuit determines that the test circuit passes the speed test, increases the set delay amount, and causes the device to re-execute the correction process; if the correction circuit determines that the data included in the delayed test signal is different from the preset data based on the comparison result, the correction circuit determines that the test circuit fails the speed test, and determines that the set delay amount is a margin of an operating speed of the test circuit.

10. The device as claimed in claim 8, wherein the detection process is a monitoring process; if the correction circuit determines that the data included in the delayed signal to be tested is the same as the preset data based on the comparison result, the correction circuit determines that the circuit to be tested has passed the speed test and enables the device to re-execute the monitoring process; if the correction circuit determines that the data included in the delayed signal to be tested is different from the preset data based on the comparison result, the correction circuit determines that the circuit to be tested has not passed the speed test and sends a warning notification.