1. Technical Field
The present invention relates to electronic circuits in general, and, in particular, to latch circuits. Still more particularly, the present invention relates to a scannable latch having two cross-coupled NAND gates and a dynamic circuit.
2. Description of Related Art
Scan testings are commonly used to test the functionality of sequential logic circuits within integrated circuits. In typical scan testing approaches, some or all of the storage elements of an integrated circuit are modified to include scan inputs and outputs. In addition, the scan inputs and outputs of the storage elements are connected together in series to form a shift register, i.e., a scan chain. During a scan testing mode, the scan inputs are capable of being selected, and the scan chain are used to apply predetermined input signals to a set of combinational logic.
Specifically, during a scan operation, scan data is shifted into each of the storage elements. The output signals produced by the storage elements are then applied to the combinational logic, and signals produced by the combinational logic are captured by the storage elements. The captured signals produced by the combinational logic are subsequently shifted out of the storage elements of the integrated circuit, and are compared to expected values to determine if the combinational logic had performed a desired logic function.
Latches are typically considered as good candidates to be modified for the purpose of scan testings. This is because latches have relatively simple storage structures capable of transferring signals from inputs to outputs.
There are many ways to make such a latch scannable for the purpose of scan testings. However, the forward delay paths of a latch may be adversely affected if the latch is made scannable. The present disclosure provides a method for making a latch scannable while without sacrificing its forward path delays.
In accordance with a preferred embodiment of the present invention, a scannable latch includes a dynamic circuit, two cross-coupled NAND gates coupled to the dynamic circuit, and a pair of stacked transistors coupled to the dynamic circuit. One of the stacked transistors is for receiving data signals, and the other stacked transistors is for receiving scan in signals.
In accordance with an alternative embodiment of the present invention, a scannable latch includes a dynamic circuit, two NAND gates coupled to the dynamic circuit, and a pair of transfer gates coupled to the two cross-coupled NAND gates for receiving scan in signals.
All features and advantages of the present invention will become apparent in the following detailed written description.
The invention itself, as well as a preferred mode of use, further objects, and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
Referring now to the drawings and in particular to
Since a dynamic circuit behaves like a master latch when the dynamic circuit is combined with a pair of cross-coupled NAND gates; thus, latch 10 can be represented by a latch-pair configuration. With reference now to
The first method for making latch-pair 20 from
The second method for making latch-pair 20 from
The third method for making latch-pair 20 from
The first method shown in
The scannable latch configuration shown in
Implementation I
A latch having a dynamic circuit located immediately before a pair of cross-coupled NAND gates can be made scannable by adding an additional multiplexor port to the existing dynamic circuit. With reference now
For the present implementation, an additional pair of stacked n-channel transistors 65 is added to dynamic circuit 61. A scan select (scan sel) signal is fed to the gate of one of two stacked n-channel transistors 65. L1 latch 52 is used to feed a scan signal to the gate of the other one of two stacked n-channel transistors 65.
Thus, precharge transistor 64 represents L1 latch 51 in
During a scan testing, all other data select signals within four-way dynamic multiplexor in dynamic circuit 61 need to be turned off. Although this adds some complexity to the control signal generation logic (not shown), the forward path delay of scannable latch 60 receives a minimum impact as a result. The concept of the present implementation can generally be applied to any dynamic circuit that contains a dynamic multiplexor or a circuit for performing an OR function.
The implementation of L1 latch 52 is illustrated in
The implementation shown in
Implementation II
The second approach requires additional scan circuitry to be included in the cross-coupled NAND gates. With reference now to
During a normal mode, a reset signal to cross-coupled NAND gates 81-82 is held at a logic low, and a precharge signal to dynamic circuit 83 is held at a logic high. Such is done in a precharge signal generation control block (not shown). Also, a scan clock signal is held at a logic low for turning transfer gate 85 off and for turning transfer gate 86 on, which allows the output of NAND gate 81 to be fed to one of the two inputs of NAND gate 82, and the output of NAND gate 82 to be fed to one of the two inputs of NAND gate 81. As a result, dynamic circuit 83 represents L1 latch 51 in
During a scan mode, the reset signal to cross-coupled NAND gates 81-82 is held at a logic high, and the precharge signal to dynamic circuit 83 is held at a logic low. The logic low state of the precharge signal makes the dynamic node at precharage transistor 83 go to a logic high. When both the reset signal and the dynamic node are held at a logic high, both NAND gate 81 and NAND gate 82 basically become inverters, as depicted in
As has been described, the present invention provides a scannable latch having two cross-coupled NAND gates and a dynamic circuit.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
The present application is a divisional of U.S. patent application Ser. No. 10/982,112, filed on Nov. 5, 2004 now U.S. Pat. No. 7,170,328. Applicants claim benefit of priority under 35 U.S.C.§120 to the above-mentioned patent application.
Number | Name | Date | Kind |
---|---|---|---|
4797838 | Nelson et al. | Jan 1989 | A |
5272397 | Chen et al. | Dec 1993 | A |
5870411 | Durham et al. | Feb 1999 | A |
6201415 | Manglore | Mar 2001 | B1 |
6925590 | Campbell | Aug 2005 | B2 |
20030226077 | Zyuban et al. | Dec 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20070079193 A1 | Apr 2007 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10982112 | Nov 2004 | US |
Child | 11550997 | US |