The present invention relates to a method for performing a logic built-in self-test (lbist) on an electronic circuit with a plurality of logic circuits (18, 20, 22, 24) and storage elements (14, 16) connected serially to a number of lbist stumps (10, 12) between a pseudo-random-pattern generator (26) and a multiple-input-signature register (28), wherein at least one constrained logic circuit (18) requires constrained values as input signals. Said method comprises the following steps: scanning the lbist stumps (10, 12) with the pseudo-random-pattern generator (26), deactivating the multiple-input-signature register (28), performing a functional update in order to propagate legal values into those storage elements (16), which require constrained values, activating or resetting (51) the multiple-input-signature register (28), and setting or programming a start value in a counter (42) for activating a loop back circuit (34) in order to avoid an overwriting of the well-constrained values in the storage elements (16).
|
9. An electronic circuit with at least one logic built-in self-test (lbist) engine and a plurality of storage elements and logic circuits, wherein
the scan-able storage elements are interconnected to a number of lbist stumps according to a predetermined scheme,
the logic circuits are connected to the lbist stumps according to a predetermined scheme,
at least one constrained logic circuit requires constrained values as input signals,
at least one computing logic circuit is provided to compute the constrained values, and
at least one loop back circuit is provided for the lbist stump with from the storage elements used for storing constrained values.
18. A method for implementing, using instructions stored on non-transitory computer readable medium, a logic built-in self test (lbist) in an electronic circuit design with a plurality of logic circuits and storage elements, wherein a list of storage elements of said design that require constraint constrained input signals is provided,
the method being characterized by the steps of:
arranging the storage elements from said list in a first portion of one or more lbist stumps;
arranging the storage elements interconnected with the storage elements from said list in a second portion of said lbist stumps;
arranging said lbist stumps in one or more loop back circuits between a pseudo-random-pattern generator and a multiple-input-signature register.
1. A method for performing, using instructions stored on non-transitory computer readable medium, a logic built-in self-test (lbist) on an electronic circuit with a plurality of logic circuits and storage elements and connected serially to a number of lbist stumps between a pseudo-random-pattern generator and a multiple-input-signature register, wherein at least one constrained logic circuit requires constrained values as input signals and said method comprises the following steps:
scanning the lbist stumps with the pseudo-random-pattern generator,
deactivating or resetting the multiple-input-signature register,
performing a functional update in order to propagate legal values into those storage elements, which require constrained values,
activating the multiple-input-signature register, and
setting or programming a start value in a counter for activating a loop back circuit (34) in order to avoid an overwriting of well-constrained values computed by said logic circuits and stored in the storage elements.
2. The method according to
3. The method according to
4. The method according to
5. The method according to
6. The method according to
7. The method according to
8. The method according to
10. The electronic circuit according to
11. The electronic circuit according to
12. The electronic circuit according to
13. The electronic circuit according to
14. The electronic circuit according to
15. The electronic circuit according to
16. The electronic circuit according to
17. The electronic circuit according to
|
1. Field of the Invention
The present invention relates to a method for performing a logic built-in-self-test on electronic circuits, especially on integrated circuits. Further the present invention relates to an electronic circuit with a plurality of storage elements and logic circuits and at least a logic built-in-self-test engine.
2. Description of the Related Art
Integrated semiconductor circuits comprise a plurality of storage elements and logic circuits. The storage elements may be realized as flip-flop elements, for example. The logic circuits may be realized as gate logic circuits. During the manufacturing the integrated circuits have to be tested in order to detect defects on the integrated circuit. An example of such a method is a logic built-in-self-test (LBIST). The logic built-in-self-test allows the test of the chip logic at the clock speed of the system.
The LBIST uses pseudo-random pattern generators (PRPG) to initialize LBIST-able scan chains, referred to as LBIST stumps. The LBIST stump is formed by a plurality of scan-able storage elements. Like other storage elements the scan-able storage element comprises a data input and a data output. Additionally the scan-able storage element comprises a scan input and a scan output. The scan output of one scan-able storage element is connected to the scan input of the next scan-able storage element. In this way the scan-able storage elements form the LBIST stump.
The PRPG generates pseudo-random patterns. Said pseudo-random patterns are driven into the LBIST stumps. The PRPG initializes the LBIST stumps through their scan inputs at the maximum scan frequency. Subsequently, the LBIST switches to the system clock frequency of the product and exercises the functional logic between the LBIST stumps and updates the storage elements of the LBIST stumps. After the functional logic updates, the LBIST stumps scan out the updated values into multiple-input-signature registers (MISR), while simultaneously scanning in new values from the PRPG. The results from the LBIST stump are serially compressed into the MISR. The registers of the MISR capture a signature that is used to identify faults after running enough LBIST iterations.
The non-deterministic nature of the PRPG data causes a problem for those parts of the logic circuit, which require special constraints on the data values. For example, a pass-gate multiplexer needs a one-hot or all zero input value in its control register in order to avoid short circuits within the multiplexer. Other circuits are prone to voltage drops, when operating with illegal data values like on-chip memories that have more than a single word-line asserted at a time.
The paper “Testing digital circuits with constraints” by Ahmad A. Al-Yamani, Subhasish Mitra and Edward J. McCluskey (Proceeding of the 17th IEEE International Symposium on Defect and Fault Tolerance in VLSI Systems, pages 195-203, 2002) focuses on detecting and resolving illegal states for one-hot constraints by using a logic that is directly added to the circuit under test. However, this method works only for one-hot constraints, but not for arbitrary constraints. Furthermore, this method requires a change of the circuit under test by adding additional resolution logic. Said additional logic increases the complexity of the circuit under test and its critical paths.
The paper “Built-in constraint resolution” by Grady Giles, Joel Irby, Daniela Toneva and Kun-Han Tsai (International Test Conference 2005, IEEE) relates to the maintaining of the correct state for one-hot multiplexer structures and buses. Additional special scan storage elements and an additional decode logic are added to the circuit under test. This method requires an application specific change in the circuit under test. Further, this method requires a high logic complexity.
It is an object of the present invention to provide an improved method and an improved electronic circuit for performing LBIST test cases, which require special constraints on the data values.
The above object is achieved by a method as laid out in the independent claims. Further advantageous embodiments of the present invention are described in the dependent claims and are taught in the description below.
The core idea of the invention is to re-use functional circuits on the integrated circuit in order to compute legal values. A logic circuit, which is normally used in a functional mode, is used for computing the legal values in a testing mode. With these legal values the constrained parts of the LBIST stumps are updated. This can be achieved by a functional update of the LBIST stumps prior to executing the first LBIST scan and/or update cycle.
The scan process of the LBIST stumps is slightly modified in order to avoid overwriting the well-constrained data during the scan process. This can easily be achieved by a multiplexer that determines, whether the data from the pseudo-random-pattern generator (PRPG) are to be shifted into the LBIST stump or the output of the LBIST stump is to be looped back. The latter mode preserves the well-constrained data in the LBIST stump and can be used for the complete LBIST stump or only for a part of said LBIST stump as a function of a configuration register in the logic of the PRPG.
The method according to the present invention avoids the effort of generating manually designed patterns for the above case. It is not necessary to scan manual patterns into the chip from an external tester. This would be a very slow and costly process.
The present invention allows high fault coverage with a fully automatic LBIST. The required special logic can be seamlessly integrated with the random logic. The method according to the present invention allows a higher speed than manual test patterns. This is very advantageous, since the tester time is costly for high volume products. For the generation of the test patterns no manual efforts are required. The hardware efforts for the integrated circuit according to the present invention are very low. The critical logic paths may be completely controlled and observed.
A design method that leads to an electronic circuit design in accordance with the present invention comprises the following steps. In a first step (step 1), the latches that require constrained input values have to be identified manually (e.g., by the logic designers). In the next step (step 2), this set of latches is then added to one or more LBIST stumps and the loopback logic is implemented (step 3). Steps 2 and 3 can be automated in an electronic design automation (EDA) tool. A simple implementation of such EDA tool performs an isolation of all constrained latches in one single stump that could work in feedback mode only, which would simplify the control logic.
Once the structure of the LBIST stump as well as the control logic has been implemented (steps 1 to 3), the LFSR start/end values for the control logic can be calculated as a function of the position of the constrained registers in each stump. This can be done manually or using an EDA tool.
The above as well as additional objectives, features and advantages of the present invention will be apparent in the following detailed written description.
The novel and inventive features believed characteristics of the invention are set forth in the appended claims. The invention itself, their preferred embodiments and advantages thereof will be best understood by reference to the following detailed description of preferred embodiments in conjunction with the accompanied drawings, wherein:
The storage elements 14 and 16 are scan-able storage elements. Each storage element 14 and 16 includes a scan input, a scan output, a data input and a data output. The storage elements 14 and 16 may be realized as flip-flop elements, for example. The scan output of one storage element 14 or 16 is connected to the scan input the next storage element 14 or 16. In this way a set of storage elements 14 and 16 are serially connected to the first and second LBIST stumps 10 and 12, respectively. Each LBIST stump 10 and 12 form a shift register. The LBIST stumps 10 and 12 may be also referred to as scan chains.
The integrated circuit includes further a constrained logic block 18 and a computing logic block 20. The constrained logic block 18 requires constrained input values. The constrained logic block 18 could be a pass-gate multiplexer or an array, for example. The computing logic block 20 is a random logic block that is already available on the integrated circuit. The computing logic block 20 may be a decoder, for example. The computing logic block 20 is used to compute the constrained values for the storage elements 16.
The outputs of the storage elements 14 for the unconstrained values of a lower part of the first LBIST stump 10 in
Thus, the values in the storage elements 10 on the input side of the computing logic block 20 are typically unconstrained. The computing logic block 20 is used to compute well-constrained values for the storage elements 16, which require constrained values.
Normally, according to the prior art the computing logic block 20 is used to compute well-constrained values in the functional mode. According to the present invention the computing logic block 20 is used to compute well-constrained values in the test mode for performing the logic built-in-self-test and may be used additionally in the functional mode.
Further the integrated circuit includes a first random logic block 22 and a second random logic block 24. The first random logic block 22 and the second random logic block 24 are without any constraints. The outputs of the storage elements 14 for the unconstrained values of the upper part of the first LBIST stump 10 in
Further a loop back circuit 34 is provided for the second LBIST stump 12. The loop back circuit 34 includes a multiplexer 36, a controller 38 and a feedback line 40. The multiplexer 36 is connected between the PRPG 26 and LBIST stump 12. A first input of the multiplexer 36 is connected to the output of the PRPG 26. A second input of the multiplexer 36 is connected to the output of the second LBIST stump 12 via the feedback line 40. An output of the controller 38 is connected to a select input of the multiplexer 36. The controller 38 is provided to control the behavior of the multiplexer 36 and the loop back circuit 34.
The multiplexer 36 of the loop back circuit 34 selects, whether the PRPG 26 or the feedback of the output of the LBIST stump 12 is used as the scan input for the LBIST stump 12. The loop back circuit 34 is provided to avoid overwriting the well-constrained data after a functional update of a previous LBIST iteration. This is realized by a small number of electronic elements.
Considering the case, in which it should be avoided to overwrite the whole second LBIST stump 12, this would require that the multiplexer 36 feeds back the output of the second LBIST stump 12 for the complete duration of the scan phase. If only one part of the second LBIST stump 12 is supposed to be restored while scanning, then the controller 38 computes the select input of the multiplexer 36 as a function of the scan cycle.
For the above mentioned controller 38 different embodiments are possible. Instead of the LFSR counter 42 other embodiments of a counter are possible. For example, one or more binary counters with a comparator may be used. If the constrained storage elements 16 in
A sequence of the LBIST procedure comprises the following steps. In the beginning a first LBIST iteration is performed. All the LBIST stumps 10 and 12 are scanned with the PRPG 26. Thereby the storage elements 14 for the unconstrained values as well as the storage elements 16 for the constrained values are initialized. This might violate some constraints for a short time. Since this intermediate state will not take very long, it is assumed that the circuit tolerates these illegal settings. Otherwise a specials protection logic circuit, which is already used in typical circuits, needs to be activated in this step. The MISR 28 is deactivated while scanning, since the output values of the LBIST stump 12 at this time are non-deterministic. One or more functional update cycles are performed in order to propagate legal values into all storage elements 16 that require constrained values.
Next it is waited a certain time, which is long enough to allow the circuit and/or the voltage to recover from the illegal values of the step above after the first LBIST scan operation. If the protection logic circuit has been activated in the step above, then it is deactivated in this step.
In a further step the MISR 28 is activated and the LFSR start value in the register 44 of the controller 38 is programmed, which has to be done before each scan phase. Then as many regular LBIST sequences as needed are run in order to get the desired test coverage. At last the MISR 28 is read out and compared with proper reference values.
Other configurations for the timing diagram in
In the LBIST process according to the present invention in the special functional update 58 after the first scan cycle 56 the computing logic block 20 computes the legal constrained values that are stored in the lower part 32 of the LBIST stump 12 in
It is assumed that the LBIST stump 12 in
For preferred practical design purposes the following sequence of tasks may be provided. At first a critical part of the circuit has to be identified, which requires constrained input values and for which the LBIST is desirable.
Next the associated storage elements have to be added to one or more LBIST stumps 10 and 12. A logic circuit is added in order to implement the loop back circuit 34 according to
Once the storage elements 16 for constrained values have been identified in one stump, the start value in the LSFR register 44 can be calculated statically as a function of the position of the storage elements 16 for constrained values within the LBIST stump 12.
This design approach can be summarized as a method for implementing an LBIST in a design of an electronic circuit comprising the steps of:
For special embodiments of the present invention a protection logic circuit is provided for the integrated circuit. Such protection logic circuits are well known in the state of the art. For example, the protection logic circuit is used for a pass-gate multiplexer. The pass-gate multiplexer has the potential to create short circuits. Those short circuits could result in severe damage or at least in reliability problems. The protection logic circuit is especially needed, if it can not be guaranteed to have correctly running clocks all the time. For example, the clock is not running all the time during the power-on-reset sequence. In the case of the pass-gate multiplexer, the protection logic circuit has to make sure that short circuits are avoided, either by enforcing the same data as multiplexer inputs or by enforcing a correct one-hot or all-zero signal as a multiplexer control input. During all the above scan phases the protection logic circuit should be activated in order to avoid transient illegal values to the storage elements 16 for constrained values.
The present invention can be realized in hardware, software, or a combination of hardware and software. Any kind of computer system or other apparatus adapted for carrying out the methods described herein is suited. A typical combination of hardware and software could be a general purpose computer system with a computer program that, when being loaded and executed, controls the computer system such that it carries out the methods described herein.
The present invention can also be embedded in a computer program product, which comprises all the features enabling the implementation of the methods described herein, and which, when loaded in a computer system, is able to carry out these methods.
Computer program means or computer program in the present context mean any expression, in any language, code or notation, of a set of instructions intended to cause a system having an information processing capability to perform a particular function either directly or after either or both of
the following
a) conversion to another language, code or notation;
b) reproduction in a different material form.
Furthermore, the method described herein may take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer readable medium may be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The medium may be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk. Current examples of optical disks include compact disk, read only memory (CD-ROM), compact disk, read/write (CD-RW), and DVD.
Le, Thuyen, Kugel, Michael, Gloekler, Tilman, Woehrle, Matthias
Patent | Priority | Assignee | Title |
8762803, | Jan 19 2012 | International Business Machines Corporation | Implementing enhanced pseudo random pattern generators with hierarchical linear feedback shift registers (LFSRs) |
Patent | Priority | Assignee | Title |
6934921, | Jan 04 2002 | Cisco Technology, Inc. | Resolving LBIST timing violations |
7490280, | Feb 28 2006 | CAVIUM INTERNATIONAL; MARVELL ASIA PTE, LTD | Microcontroller for logic built-in self test (LBIST) |
7721172, | Jan 16 2002 | Syntest Technologies, Inc. | Method and apparatus for broadcasting test patterns in a scan-based integrated circuit |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Mar 10 2008 | WOEHRLE, MATTHIAS | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020683 | /0648 | |
Mar 11 2008 | GLOEKLER, TILMAN | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020683 | /0648 | |
Mar 12 2008 | KUGEL, MICHAEL | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020683 | /0648 | |
Mar 18 2008 | LE, THUYEN | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 020683 | /0648 | |
Mar 21 2008 | International Business Machines Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Oct 31 2014 | REM: Maintenance Fee Reminder Mailed. |
Mar 22 2015 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Mar 22 2014 | 4 years fee payment window open |
Sep 22 2014 | 6 months grace period start (w surcharge) |
Mar 22 2015 | patent expiry (for year 4) |
Mar 22 2017 | 2 years to revive unintentionally abandoned end. (for year 4) |
Mar 22 2018 | 8 years fee payment window open |
Sep 22 2018 | 6 months grace period start (w surcharge) |
Mar 22 2019 | patent expiry (for year 8) |
Mar 22 2021 | 2 years to revive unintentionally abandoned end. (for year 8) |
Mar 22 2022 | 12 years fee payment window open |
Sep 22 2022 | 6 months grace period start (w surcharge) |
Mar 22 2023 | patent expiry (for year 12) |
Mar 22 2025 | 2 years to revive unintentionally abandoned end. (for year 12) |