TEST METHOD FOR DELAY CIRCUIT AND TEST CIRCUITRY
20230011710 · 2023-01-12
Inventors
Cpc classification
G01R31/31727
PHYSICS
G01R31/31725
PHYSICS
H03K5/00
ELECTRICITY
International classification
Abstract
A test method for a delay circuit and a test circuitry are provided. The test circuitry incudes the delay circuit that essentially includes multiple serially connected logic gates, a clock pulse generator at an input end of the delay circuit for generating one or more cycles of clock signals, and a counter at an output end of the delay circuit for counting the clock signals passing through the delay circuit. The test circuitry implements a test mode by switching lines to the clock pulse generator and the counter. The test circuitry relies on a comparison result of a counting result made by the counter and a number of the cycles of the clock signals to test any failure of the delay circuit.
Claims
1. A test method for a delay circuit, which is operated in a test mode, the test method comprising: generating, by a clock pulse generator, one or more cycles of clock signals; inputting the one or more cycles of the clock signals to the delay circuit that outputs delayed clock signals; using a counter to count the delayed clock signals; and comparing a counting result of the counter with a number of cycles of the clock signals so as to determine whether the delay circuit fails.
2. The test method according to claim 1, wherein the delay circuit controls delay series according to a delay phase control signal.
3. The test method according to claim 1, wherein the test method is operated in a test circuitry under the test mode, and a first switching circuit disposed at an input end of the delay circuit is used to switch a line to the clock pulse generator for generating the one or more cycles of the clock signals.
4. The test method according to claim 3, wherein, under the test mode, the clock pulse generator generates the clock signals having a pulse width being same as a clock cycle of a circuit under test.
5. The test method according to claim 3, wherein the delayed clock signals are inputted to one or more flip flops of the delay circuit, wherein the one or more flip flops are disposed at an output end of the delay circuit, and a quantity of the flip flops enables recording of the cycles of the clock signals generated by the clock pulse generator.
6. The test method according to claim 5, wherein, under the test mode, a second switching circuit disposed at the output end of the delay circuit is used to switch a line to the counter for enabling the counter to count the delayed clock signals.
7. The test method according to claim 6, wherein the counter is triggered by the delayed clock signal to operate.
8. The test method according to claim 7, wherein the delay circuit controls delay series according to a delay phase control signal.
9. The test method according to claim 8, wherein, under the test mode, a delay control circuit is used to adjust the delay series of the delay circuit to a maximum, which enables the one or more cycles of the clock signals to be outputted through all delay cells of the delay circuit.
10. A test circuitry, comprising: a delay circuit; a clock pulse generator disposed at an input end of the delay circuit and used to generate one or more cycles of clock signals to be inputted to the delay circuit; and a counter disposed at an output end of the delay circuit and used to count the one or more cycles of the clock signals delayed by the delay circuit; wherein, to determine whether or not the delay circuit fails, a counting result of the counter is compared with a number of the one or more cycles of the clock signals generated by the clock pulse generator.
11. The test circuitry according to claim 10, wherein the test circuitry operates under a test mode, and a delay control circuit is used to adjust delay series of the delay circuit to a maximum, which enables the one or more cycles of clock signals to be outputted through all delay cells of the delay circuit.
12. The test circuitry according to claim 10, wherein the delay circuit is an assembly of multiple serially connected logic gates, which are configured to decide a plurality of delay series according to a delay phase control signal.
13. The test circuitry according to claim 10, wherein a first switching circuit is disposed at the input end of the delay circuit, and the first switching circuit switches a source of the clock signals to an input circuit originally used to input the clock signals to the delay circuit, or switches the source of the clock signals to the clock pulse generator according to a control signal.
14. The test circuitry according to claim 13, wherein the clock pulse generator generates the one or more cycles of the clock signals having a same or higher operating frequency as an operating frequency of a circuit under test connected with the delay circuit.
15. The test circuitry according to claim 14, wherein, under the test mode, a second switching circuit disposed at the output end of the delay circuit is used to switch a line to receive data generated by the circuit under test or the counter according to the control signal.
16. The test circuitry according to claim 15, wherein the circuit under test is an integrated circuit that is packaged together with the test circuitry into a circuit element for performing a built-in self-test.
17. The test circuitry according to claim 16, wherein the test circuitry operates under the test mode, and a delay control circuit is used to adjust the delay series of the delay circuit to a maximum, which enables the one or more cycles of clock signals to be outputted through all delay cells of the delay circuit.
18. The test circuitry according to claim 15, wherein the counter is connected with an output circuit used to receive the one or more cycles of the clock signals delayed by the delay circuit via the second switching circuit, and the output circuit includes a flip flop which is used to record a number of the one or more cycles of the clock signals generated by the clock pulse generator.
19. The test circuitry according to claim 18, wherein the counter is triggered by the delayed clock signal to operate.
20. The test circuitry according to claim 19, wherein the test circuitry operates under a test mode, and a delay control circuit is used to adjust the delay series of the delay circuit to a maximum, which enables the one or more cycles of clock signals to be outputted through all delay cells of the delay circuit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The described embodiments may be better understood by reference to the following description and the accompanying drawings, in which:
[0018]
[0019]
[0020]
[0021]
[0022]
DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS
[0023] The present disclosure is more particularly described in the following examples that are intended as illustrative only since numerous modifications and variations therein will be apparent to those skilled in the art. Like numbers in the drawings indicate like components throughout the views. As used in the description herein and throughout the claims that follow, unless the context clearly dictates otherwise, the meaning of “a”, “an”, and “the” includes plural reference, and the meaning of “in” includes “in” and “on”. Titles or subtitles can be used herein for the convenience of a reader, which shall have no influence on the scope of the present disclosure.
[0024] The terms used herein generally have their ordinary meanings in the art. In the case of conflict, the present document, including any definitions given herein, will prevail. The same thing can be expressed in more than one way. Alternative language and synonyms can be used for any term(s) discussed herein, and no special significance is to be placed upon whether a term is elaborated or discussed herein. A recital of one or more synonyms does not exclude the use of other synonyms. The use of examples anywhere in this specification including examples of any terms is illustrative only, and in no way limits the scope and meaning of the present disclosure or of any exemplified term. Likewise, the present disclosure is not limited to various embodiments given herein. Numbering terms such as “first”, “second” or “third” can be used to describe various components, signals or the like, which are for distinguishing one component/signal from another one only, and are not intended to, nor should be construed to impose any substantive limitations on the components, signals or the like.
[0025] A test method for delay circuit and a test circuitry are provided in the present disclosure to solve the problem that an integrated circuit such as a double data rate synchronous dynamic random access memory (DDR SDRAM) cannot be tested at a practical high-speed operating frequency (e.g., 800 MHz, or DDR at GHz level) when using a conventional delay circuit (i.e., a delay chain circuit), and can only be tested at a lower operating frequency. One of the objectives of the test method is to perform an at-speed test on a circuit under test with the delay chain circuit, especially a high-speed test. It should be noted that the test may not be sufficient if only low-speed test is done by the delay circuit because some production defects on the integrated circuits can only be found at a high-speed test.
[0026] The test can include a scan test and a function test. The scan test includes a high-speed test and a low-speed test. The high-speed test can be interpreted as a test having a speed that approaches the operating frequency of a circuit under test such as a high-speed DDR memory. The test circuitry includes a delay chain circuit. Multiple delay cells in the delay chain circuit can be flip flops. The delay chain circuit decides delay series by phase control. The greater the delay series are, the delay cells required are more and the longer the delay is. The high-speed test may therefore not be tested completely. More particularly, the provided test method for delay circuit and the test circuitry are applied to a wafer-level test, which is the test performed before packaging.
[0027] Reference is made to
[0028] In an exemplary example, the circuit under test 32 is such as a DDR SDRAM. The circuit under test 32 includes multiple pins that include a data-selection pulse pin (DQS) pin. The DQS pin is used to accurately distinguish every cycle within a clock cycle and then output clock signals 301 periodically.
[0029] The clock signals 301 are then transmitted to the delay chain circuit 30 for controlling the clock signals 301 to be delayed. The delayed clock signals 307 are then outputted to the flip flop 31. A data signal pin (DQ) is also provided. A read-write sequence of the DQ pin is synchronized with the clock signals generated by the data-selection pulse, and therefore the DQ pin outputs the data 303 that is synchronized with the clock signals. The flip flop 31 then samples the delayed clock signals 307, and the sampled data 305 is obtained. The sampled data 305 can be used to test and ensure the quality of the circuit under test 32.
[0030] It should be noted that the conventional test circuitry can only test the delay circuit in a lower frequency, and therefore the test may not be complete since the conventional test circuitry cannot test the circuit (e.g., the integrated circuit) under a practical operating frequency when too many delay series are configured on the delay chain circuit that is used to control the delay of the circuit under test. Accordingly, the test circuitry of the present disclosure used to control the delay incorporates some additional circuits such as a clock pulse generator and a counter. The test circuitry embodies a test mode that can test a high-frequency circuit through a switching circuit. Referring to
[0031] Reference is made to
[0032] According to one embodiment of the test circuitry, a first switching circuit 41 is disposed at an input end of the delay circuit 40. The first switching circuit 41 can be implemented by a selector or a multiplexer. The first switching circuit 41 switches the sources of the clock signals according to a control signal 403 (1 or 0) generated by a control circuit (not shown in the diagram). For example, the original function mode operated by the circuit under test is maintained if the control signal is 0; on the contrary, the test circuitry is under the test mode if the control signal is 1. Under the test mode, an external control circuit (not shown in the diagram) generates a delay phase control signal 404 for deciding delay series specified to the delay circuit 40. The first switching circuit 41 switches an input circuit 45 that is originally used to input a first clock signal 401 to the delay circuit 40 to a newly-added clock pulse generator 43. The clock pulse generator 43 is disposed at the input end of the delay circuit 40, and is used to generate one or more cycles of clock signals that is called second clock signal 402 in this embodiment. The second clock signal 402 is characterized by having a frequency that is similar to or higher than the operating frequency of the circuit under test (not shown in the diagram). The second clock signal 402 configured to be inputted to the delay circuit 40 can be the clock pulses with two or more cycles. Under the test mode, the clock pulse generator 43 generates the second clock signals 402 for testing the delay circuit 40. The second clock signals 402 are outputted to an output circuit via the delay circuit 40. The output circuit includes one or more flip flops 46. The number of the flip flops used in the output circuit is designed to be able to record the number of cycles of the second clock signals 402 generated by the clock pulse generator 43. For example, the number of the flip flops can be two.
[0033] The output end of the delay circuit 40 includes a second switching circuit 42. The second switching circuit 42 can be implemented by a selector or a multiplexer, in which one end of the second switching circuit 42 is connected with a counter 44, and the other end of the second switching circuit 42 is used to receive practical test data 47. The test data 47 is generated by the circuit under test. An output end of the second switching circuit 42 is connected with a flip flop 46. Under the test mode, the second switching circuit 42 is synchronized with the first switching circuit 41. The second switching circuit 42 switches the line to the counter 44 according to a control signal 403, and the counter 44 is triggered by a clock signal so as to obtain a counting result from the one or more flip flops 46.
[0034] Further, under the test mode, the one or more flip flops 46 receives delayed second clock signals 402′ which are delayed by the delay circuit 40. The number of the flip flops 46 of the output circuit is decided according to the number of pulse cycles of the second clock signals 402. The delayed second clock signals 402′ trigger the counter 44 disposed at the output end of the delay circuit 40 so as to start counting. The counter 44 counts the delayed second clock signals 402′. Under the test mode, sampled data 48 outputted from the output circuit is the counting result. The counting result is compared with the number of the clock signals generated by the clock pulse generator 43 in the beginning, such that the quality of the delay circuit 40 can be tested.
[0035] The flip flop 46 in the output circuit can be a D-type flip-flop. The delay circuit 40 delays the second clock signals 402 with two or more cycles of pulse clock and then outputs the delayed second clock signals 402′ to the certain number of the flip flops which are able to record the number of cycles of the second clock signals 402. The counter 44 relies on values (0 or 1) of the flip flops to conduct the counting. The counting result can be recorded in the one or more flip flops. The counting result is compared with the number of cycles of the clock signals generated by the clock pulse generator 43 so as to test if any error occurred to the delay circuit 40.
[0036] Reference is made to
[0037] When the test circuitry operates under the test mode, the first switching circuit at the input end of the delay circuit switches the line to the newly-added clock pulse generator so as to generate multiple cycles of clock signals (step S501). Under the test mode, the second switching circuit at the output end of the delay circuit switches the line to the counter from an original line used to receive data (step S503). The delay control circuit of the test circuitry is used to adjust a delay phase to a maximum. Practically, the input signals, i.e., the clock signals, are inputted to all the delay cells of the delay circuit before being outputted (step S505). An initial state of the test circuitry is to keep a logic value of the clock pulse generator to be “0”, and a logic value of the flip flop at the output end is also kept to be “0”. An internal register can be used to keep a control signal that is used to control the first switching circuit and the second switching circuit to conduct line switching. The register can be disposed inside the delay control circuit. When the delay circuit is to be tested, a control signal is generated to enable the delay circuit to enter a test mode.
[0038] Afterwards, under the test mode, the clock pulse generator generates two or more clock signals, which is a type of pulse signal with a specific pulse width. The pulse width can be the same as a practical clock cycle of the circuit under test (step S507). The clock signals are inputted to the delay circuit, and transmitted to the output end of the delay circuit through all the delay cells of the delay circuit. The output circuit includes one or more flip flops. The number of the flip flops can be decided according to the number of the pulse signals to be transmitted at the input end (S509). The clock signal triggers the counter to operate and the counter counts the number of cycles of the clock signals (step S511). A counting result can be obtained in the output circuit. The counting result in the output circuit is compared with the number of cycles of the clock signals at the input end of the delay circuit so as to check if the counting result meets the number of cycles of the clock signals (step S513).
[0039] In an exemplary example, when the clock pulse generator generates two pulses, the pulses trigger a counter to start counting and a counting result is 2. At the same time, an output value of the output circuit is also 2. Accordingly, the delay circuit is determined to have no defect. The output circuit is such as a flip flop that can be a negative edge triggered D-type flip-flop. The delay circuit can be determined to have any defect or not by checking whether or not the output of the D-type flip-flop is 2 by using the abovementioned method. Therefore, a built-in self-test is embodied in the circuit under test if the circuit passes the test.
[0040] In summation, in a design for testability of an integrated circuit, a test circuitry is implanted in the integrated circuit at a design stage such that a self-testing can be performed after production. The self-test can be used to ensure that the electronic element has no defect in its function or in the manufacturing process. In the test method for delay circuit and the test circuitry according to the present disclosure, the circuits such as a clock pulse generator and a counter are added in the test circuitry for implementing a test mode. A high-speed test for the delay circuit can be completed under the test mode. Therefore, test completeness of the subsequent circuit under test can be improved. The circuit under test such as a wafer-level circuit can be processed with a chip probing (CP) test before a packaging process for implementing a complete test in order to ensure the quality of the circuit made in mass production.
[0041] The foregoing description of the exemplary embodiments of the disclosure has been presented only for the purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above teaching.
[0042] The embodiments were chosen and described in order to explain the principles of the disclosure and their practical application so as to enable others skilled in the art to utilize the disclosure and various embodiments and with various modifications as are suited to the particular use contemplated. Alternative embodiments will become apparent to those skilled in the art to which the present disclosure pertains without departing from its spirit and scope.