The present invention relates to electrical circuits, and more specifically, to an electrical circuit that provides an at-speed scan enable signal.
With the development of nanometer semiconductor technologies, manufacturing defects that create timing errors but that do not result in catastrophic functional failures are becoming more common. Traditional “stuck-at” tests alone can no longer fully verify functionality of fabricated integrated circuits. As such, at-speed testing of integrated circuits is becoming critical to detect delay defects.
Traditional functional at-speed tests suffer from increasing test design costs, especially when the scale of the design is in the millions of gates. Furthermore, in SOC (System-on-Chip) designs, limited test access to internal cores makes application of at-speed tests difficult or impractical. One approach to testing SOC designs is to perform scan-based at-speed testing. Such testing can significantly improve the controllability and observability of internal signals in SOCs.
In a scan-based at-speed test, a scan pattern is shifted into the circuit under test (CUT). Then, the scan-enable signal that configures the flip-flops in the scan chain is toggled for a single clock cycle to allow for the capture of the CUT's response to the scan pattern. The flip-flops then return to the scan configuration so that the captured response data can be shifted out. The provision of such signals typically requires that an additional circuit be provided.
In more detail, to perform an at-speed test, a pattern pair (V1, V2) is applied to the CUT. Pattern V1 is termed as the initialization pattern and V2 as the launch pattern. The response of the CUT to the pattern V2 is captured at the data output of the CUT at functional speed (i.e., rated clock speed).
Referring now to
In
The LC is a part of the shift operation and is immediately followed by a fast capture pulse 102. The local scan enable (LSE) is high during the last shift (e.g., at pulse 101) and must go low to enable response capture at the CC clock edge (pulse 102). The time period for LSE to make this “1” to “0” transition corresponds to the functional frequency. Hence, LOS requires the LSE signal to be timing critical.
In practice, the LOS method is preferable based on ATPG (Automatic Test Pattern Generation) complexity and pattern count compared to the LOC method. In the case of the LOC methodology, high fault coverage cannot be guaranteed due to the correlation between the two patterns, V1 and V2.
In general terms, the circuit 200 is composed of scan enable circuit 202 and two inverters 208 and 210. In particular, the test clock (CLK) is coupled to clock inverter 208. The output of clock inverter 208 (CLK*) is provided to AND gate 204. The other input to the AND gate 204 is the output of the circuit 200, referred to as LSE. The output of AND gate 204 and the GSE signal are provided as inputs to NOR gate 206. The output of NOR gate 206 is provided to inverter 208 to produce the LSE. As one of ordinary skill will understand, the LSE signal can be provided as the selector to an input/output selector for a CUT.
The circuit 200 in
According to one embodiment of the present invention, a circuit for providing a local scan enable signal is disclosed. The circuit of this embodiment includes a first transistor having a first gate coupled to a general scan enable signal, a first source and a first drain and a second transistor having a second gate coupled to a scan clock, a second source coupled to the first drain and a second drain. The circuit of this embodiment also includes a third transistor having a third gate coupled to the general scan enable signal, a third drain coupled to the second drain and a third source. The circuit of this embodiment also includes an output stabilizer coupled to the second drain, the output stabilizer includes a first inverter and a second inverter coupled together in opposite orientations.
According to another embodiment, a circuit for providing a local scan enable signal is disclosed. The circuit of this embodiment includes a first transistor having a first gate coupled to a general scan enable signal, a first source and a first drain and a second transistor having a second gate coupled to a scan clock, a second drain coupled to the first drain and a second source. The circuit of this embodiment also includes a third transistor having a third gate coupled to the general scan enable signal, a third drain coupled to the second source and a third source. In addition, the circuit of this embodiment includes an output stabilizer coupled to the first drain, the output stabilizer including a first inverter and a second inverter coupled together in opposite orientations.
According to yet another embodiment, a test system that includes a first circuit for providing a local scan enable signal is disclosed. In this embodiment, the first circuit includes a first transistor having a first gate coupled to a general scan enable signal, a first source and a first drain, a second transistor having a second gate coupled to a scan clock, a second source coupled to the first drain and a second drain and a third transistor having a third gate coupled to the general scan enable signal, a third drain coupled to the second drain and a third source. The first circuit also includes an output stabilizer coupled to the second drain, the output stabilizer including a first inverter and a second inverter coupled together in opposite orientations. The test system of this embodiment also includes a second circuit for providing the general scan enable signal, the second circuit configured to provide the general scan enable signal according to a first timing relationship when the first circuit is operating in a launch off scan mode and a second timing relationship when the first circuit is operating in a launch off capture mode.
Additional features and advantages are realized through the techniques of the present invention. Other embodiments and aspects of the invention are described in detail herein and are considered a part of the claimed invention. For a better understanding of the invention with the advantages and the features, refer to the description and to the drawings.
The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The forgoing and other features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
The circuit 300 could replace, for example, circuit 200 shown in
The circuit 300 includes, in one embodiment, a transistor stack 302. This transistor stack 302 can replace the scan enable circuit 202 shown in
In one embodiment, the first transistor 304 is a PMOS transistor. In such an embodiment, the source of the first transistor 304 is coupled to Vdd and the drain of the first transistor 304 is coupled to the second transistor 306. It shall be understood that the term “coupled” as used herein does not require (but may include) direct coupling unless otherwise specified.
In one embodiment, the second transistor 306 is also a PMOS transistor. In such an embodiment, the source of the second transistor 306 is coupled to the drain of the first transistor 304. In one embodiment, the third transistor 308 is an NMOS transistor. In such an embodiment, the drain of the third transistor 308 is coupled to the drain of the second transistor 306 and the source of the third transistor 308 is coupled to ground.
In the embodiment illustrated in
At the junction of second and third transistors 306, 308 (node 310) an interim signal SE2 is produced. In one embodiment, SE2 is provided to an output stabilizer 312. In this embodiment, the output stabilizer 312 is formed of two head-to-tail connected inverters 314, 316. In more detail, signal SE2 is provided at a first input of the first inverter 314 at node 310. The output of the first inverter 314 is the signal LSE. To prevent SE2 from floating when the second transistor 306 is off (i.e., receiving a logical 1), the output stabilizer 312 includes the second inverter 316 that is coupled to node 310 and is in the opposite orientation than the first inverter 314. In one embodiment, the second inverter 316 is a weak inverter.
In operation, the circuit 300 illustrated in
The circuit 300 illustrated in
In more detail, the circuit in
For a precise comparison, the transistor count for the circuits shown in
In contrast, in the circuit 300, the clock inverter 311 and the first inverter 314 combined require the area of 2 PMOSinv and 2 NMOSinv. The two PMOS transistors (first transistor 304 and second transistor 306) come into series so they require the area of 4 PMOSinv to match the rise time of the inverters 311, 314. Only one NMOS transistor (third transistor 308) thus, the number of NMOS transistors, expressed in terms of NMOS transistor of inverter, equals 1 NMOSinv. The weak inverter (second inverter 316) only requires transistors having a fraction of the width of those in a normal inverter. In one embodiment, the width of the transistors is 0.25 PMOSinv and 0.25 NMOSinv. In sum, in the circuit 300 the total transistor area is 3.25 NMOSinv and 6.25 PMOSinv. As above, at 45 nm node PMOSinv equals 1.3*NMOSinv. Thus, the total size is 11.375 NMOSinv. For 22 nm, the ratio is 1.1, leading to an area of 10.125 NMOSinv.
Compared with the area required for the circuit 200 shown in
It shall be understood that if the circuit 300 shown in
In another embodiment, and referring now to
The circuit 702 is utilized to control the C clock pin (illustrated as ZC) of the LSSD latch 701. The circuit 702 of this embodiment includes a first transistor 704, a second transistor 706 and a third transistor 708. As illustrated, the first transistor 704 is coupled between Vdd and the second transistor 706 and the third transistor 708 is coupled between the second transistor 706 and ground.
In one embodiment, the first transistor 704 is a PMOS transistor. In such an embodiment, the source of the first transistor 704 is coupled to Vdd and the drain of the first transistor 704 is coupled to the second transistor 706.
In one embodiment, the second transistor 706 is an NMOS transistor. In such an embodiment, the drain of the second transistor 706 is coupled to the drain of the first transistor 704. In one embodiment, the third transistor 708 is an NMOS transistor. In such an embodiment, the drain of the third transistor 708 is coupled to the source of the second transistor 708 and the source of the third transistor 708 is coupled to ground.
In the embodiment illustrated in
As illustrated, the circuit also includes an optional bypass transistor 720 that shorts the second transistor 706 to allow for LOC operation as described above.
The feedback element 902 functions as a tri-state of the feedback component. In operation, when CLK is low, feedback element 902 is active, and node SE2 is used to store the high value of Scan Enable. The SE2 node can be brought low at any time, by activating the GSE. When the CLK is active, the feedback path is tri-stated so that, in the case when GSE is low, node SE2 will easily be driven high. The input driver 302 can easily transition node SE2 to the high state, since, when the feedback is tri-stated, only capacitance on node SE2 is being driven. This provides the benefit of improving the performance of the rising transition of node SE2, the possibility to reduce the size of the input driver 302, and most importantly, an improvement in low voltage functionality when driving node SE2 to the high state. Any one of these, or a combination of the three, may be realized, based upon proper design for the size of the transistors involved.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one more other features, integers, steps, operations, element components, and/or groups thereof.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
The flow diagrams depicted herein are just one example. There may be many variations to this diagram or the steps (or operations) described therein without departing from the spirit of the invention. For instance, the steps may be performed in a differing order or steps may be added, deleted or modified. All of these variations are considered a part of the claimed invention.
While the preferred embodiment to the invention had been described, it will be understood that those skilled in the art, both now and in the future, may make various improvements and enhancements which fall within the scope of the claims which follow. These claims should be construed to maintain the proper protection for the invention first described.