NEGATIVE EDGE FLIP-FLOPS FOR MUXSCAN AND EDGE CLOCK COMPATIBLE LSSD
A method of synchronous digital operation and scan based testing of an integrated circuit using a flip-flop. The flip-flop including a master latch having an input and a clock pin; a slave latch having an output, a first clock pin and a second clock pin, the slave latch connected to the to the master latch; a first AND gate having a first input, an inverted second input and an output, the output of the first AND gate connected to the first clock pin of the master latch; a second AND gate having a first input, an inverted second input and an output, the output of the second AND gate connected to the second input of the first AND gate and to the first clock pin of the slave latch.
This Application is a continuation of U.S. patent application Ser. No. 11/276,768 filed on Mar. 14, 2006.
FIELD OF THE INVENTIONThe present invention relates to latches that provide clock edge-triggered system behavior and improved methods of testing, particularly in LSSD testing.
BACKGROUND OF THE INVENTIONTraditional positive and negative edge triggered scan design requires precise control of the time scan and actual data is presented to and transferred from the latches of scan chains. These requirements create a burden in the chip design cycle, in that the chip designer must ensure that all signals in the scan chain path and data path arrive at the latch after the clock edge arrives. This is generally accomplished using external circuitry. Thus the present methodologies are time-consuming to implement and utilize relatively complicated circuitry. Therefore, there is a need for a methodology that overcomes the need for external circuitry and reduces the burden on the designer.
SUMMARY OF THE INVENTIONA first aspect of the present invention is a flip-flop, comprising: a master latch having an input and a clock pin; a slave latch having an output, a first clock pin and a second clock pin, the slave latch connected to the to the master latch; a first AND gate having a first input, an inverted second input and an output, the output of the first AND gate connected to the first clock pin of the master latch; a second AND gate having a first input, an inverted second input and an output, the output of the second AND gate connected to the second input of the first AND gate and to the first clock pin of the slave latch.
A second aspect of the present invention is a method of synchronous digital operation and scan based testing of an integrated circuit, comprising: providing a flip-flop comprising: a master latch having an input and a clock pin; a slave latch having an output, a first clock pin and a second clock pin, the slave latch connected to the master latch; and capturing data presented at the input of the master latch and transferring data stored in the master latch to the slave latch in response to a negative edge of a first clock signal on the clock pin of the master latch; launching data stored in the slave latch to the output of the slave latch in response to the negative edge of the first clock signal; and capturing data presented at the input of the master latch in response to a positive edge of a second clock signal on the clock pin of the master latch.
The features of the invention are set forth in the appended claims. The invention itself, however, will be best understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
In LSSD testing, an integrated circuit chip having logic circuits is fabricated with scan chains that allow testing of the integrated circuit chip logic circuits. A negative edge of a signal is defined as the falling edge of the signal (e.g. the transition from a logical one to a logical zero). A logical zero on a signal is equivalent to a “low” on the signal and a logical one is equivalent to a “high” on the signal. A clock period is the time duration of adjacent high and low assertions. For the purposes of the present invention, a clock signal is asserted when it is in the high state.
In normal operating mode, flip-flops 105 are set to transmit signals between their data inputs to their data outputs. In test mode, a vector of test data (typically a series of logical ones (1) and logical zeros (0)) is serially loaded into flip-flops 105 of through the scan in pin, the data passed from the data output of one flip-flop 105 to the data input of another flip-flop 105 through logic circuits 110, and then resultant vector is serially unloaded from flip-flops 105 san chain through the scan out pin.
While six flip-flops 105 are illustrated in
The test signals are C1 CLK, C2 CLK, B CLK, A CLK and I. The system signals are D, Q and E CLK. A CLK clocks scan data I into L1, C1 CLK clocks system data D into L1.
In
In
In
In
In
Thus the embodiments of the present invention provide a scan-based testing methodology that overcomes the need for external circuitry and reduces the burden on the designer as well as a methodology for at-speed testing.
The description of the embodiments of the present invention is given above for the understanding of the present invention. It will be understood that the invention is not limited to the particular embodiments described herein, but is capable of various modifications, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, it is intended that the following claims cover all such modifications and changes as fall within the true spirit and scope of the invention.
Claims
1. A flip-flop, comprising:
- a master latch having an input and a clock pin;
- a slave latch having an output, a first clock pin and a second clock pin, said slave latch connected to said to said master latch;
- a first AND gate having a first input, an inverted second input and an output, said output of said first AND gate connected to said first clock pin of said master latch;
- a second AND gate having a first input, an inverted second input and an output, said output of said second AND gate connected to said second input of said first AND gate and to said first clock pin of said slave latch.
2. The flip-flop of claim 1, wherein:
- said master latch is adapted to capture data presented at said input of said master latch and to transfer data stored in said master latch to said slave latch in response to a negative edge of a first clock signal on said clock pin of said master latch;
- said slave latch is adapted to launch data stored in said slave latch to said output of said slave latch in response to said negative edge of said first clock signal; and
- said master latch is adapted to capture data presented at said input of said master latch in response to a positive edge of a second clock signal on said clock pin of said master latch.
3. The flip-flop of claim 2, wherein said slave latch is further adapted to load data stored in said master latch in response to a third clock signal on said second clock pin of said slave latch.
4. The flip-flop of claim 2, wherein said first clock signal is connected to said second input of said second AND gate and said second clock signal is connected to said first input of said first AND gate.
5. The flip-flop of claim 2, wherein said slave latch is further adapted to load and store data stored in said master latch in response to a fourth clock signal on said first clock pin of said slave latch.
6. The flip-flop of claim 5, wherein said fourth clock signal is connected to said first input of said second AND gate.
7. The flip-flop of claim 1, further including:
- a multiplexer having a first and a second input, a control input and an output, said output of said multiplexer connected to said input of said master latch.
8. The flip-flop of claim 7, wherein:
- said first input of said multiplexer is connected to either a scan-chain input or to an output of another flip-flop; and
- said second input of said multiplexer is connected to a logic circuit of an integrated circuit, said flip-flop and said integrated circuit on a same integrated circuit chip.
9. The flip-flop of claim 1, said master latch further including an additional input and an additional clock input.
10. The flip-flop of claim 9, wherein:
- said input of said master latch is connected to either a scan-chain input or to an output of another flip-flop; and
- said additional input of said master latch is connected to a logic circuit of an integrated circuit, said flip-flop and said integrated circuit on a same integrated circuit chip.
11. The flip-flop of claim 9, wherein said master latch is adapted to capture data presented at said additional input of said master latch in response to a fifth clock signal on said additional pin of said master latch.
Type: Application
Filed: Jul 3, 2008
Publication Date: Oct 30, 2008
Inventor: David E. Lackey (Jericho, VT)
Application Number: 12/167,470
International Classification: G01R 31/28 (20060101); G06F 11/25 (20060101);