1. Field of the Invention
This invention relates to digital circuitry and more specifically to data retaining circuit elements.
2. Description of Related Art
Electronic circuit designs are increasingly being optimized for lower power and smaller size requirements for better incorporation into integrated circuit designs. The increase in complexity and gate count within integrated circuits also requires that testability of the circuit be addressed in the designs of integrated circuits. One general methodology of integrated circuit testability is referred to as Level Sensitive Scan Design (LSSD). An LSSD circuit complies with a set of design rules that enhances the observablity and controllability of digital circuit elements so as to enhance testability of integrated circuits.
Data storage elements, which are circuits that retain a logical value, used in LSSD compliant circuits incorporate a design that allows data to be loaded into a storage element through an alternate data input. This alternate input is generally used for circuit test and stimulation. Loading a data storage element with a particular value allows, for example, placing a sequential logic circuit into a desired state. Data storage elements used in LSSD compliant circuits often have alternate data inputs that have a lower bandwidth than the primary data input in order to economize in power and circuit substrate size. This alternate input is sometimes referred to as a “scan input” since it allows a pre-defined state to be “scanned” into the sequential circuit using these data storage elements.
The alternate data input of data storage elements used in LSSD compliant circuits include an alternate data input and an alternate clock input. When the alternate clock input is at a logical low level, the alternate data input is inhibited and no change in storage element state is made. However, the circuit designs of conventional Data storage elements use an alternate data input structure that is somewhat susceptible to electrical noise on the alternate data input. A noise spike of sufficient amplitude on the alternate data input can cause the stored data state of the data storage element to change, even when the alternate clock input is at a logical low level.
A block diagram of a data storage element 100 used in LSSD compliant circuits is shown in
An exemplary prior art data storage element circuit 200 for the data storage element 100 is illustrated in
Alternative prior art designs that address this noise problem have attendant disadvantages. One prior art design to mitigate noise problems is reducing clock speed. Reducing clock speed has the undesirable effect of increasing the time required to perform testing of the circuit. Another prior art design to mitigate noise problems is to use inputs that incorporate a hysteresis so that the threshold level at which a data level change is recognized changes as a function of the level of the stored data. Hysteresis introduces additional circuit complexity and often increases power dissipation. Still another prior art design is to reduce the generation of noise on data lines by using “global wiring” techniques where circuit layouts for individual circuit modules within a circuit are able to extend beyond the physical area of the module itself. Combining global wiring techniques with circuit trace layout rules that prevent long lengths of parallel conductors results in circuits that have reduced noise spikes induced from other circuit traces. Global wiring techniques greatly increase the complexity of a circuit layout and are often difficult to implement and troubleshoot.
What is therefore needed is a data storage element design that includes an alternate data input structure that has increased immunity to noise on the alternate data input line when the alternate clock input is at a logical low level.
The exemplary embodiments of the present invention overcome the problems of the prior art by providing a data storage element for use in LSSD compliant circuits that provides increased immunity to electrical noise on the alternate data input. The exemplary embodiment of the present invention replaces the transmission-gate alternate data input circuit that is used in conventional Data storage elements with an inverter style alternate data input branch circuit.
Briefly, in accordance with the present invention, a data storage element has a primary data input and a primary clock input that selects storage of a level of the primary data input. The data storage element also has an alternate data input that is received by an inverter-style branch circuit. The data storage element further has an alternate clock input for selecting storage of a level of the alternate data input.
The foregoing and other features and advantages of the present invention will be apparent from the following more particular description of the preferred embodiments of the invention, as illustrated in the accompanying 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 foregoing and other features and also the advantages of the invention will be apparent from the following detailed description taken in conjunction with the accompanying drawings. Additionally, the left-most digit of a reference number identifies the drawing in which the reference number first appears.
The present invention, according to a preferred embodiment, overcomes problems with the prior art by providing a data storage element for use in LSSD compliant circuits that provides increased immunity to electrical noise on the alternate, or scan, data input. The exemplary embodiments of the present invention replaces the transmission-gate alternate data input circuit that is used in conventional data storage elements with an inverter style alternate, or scan, data input branch circuit. An exemplary embodiment further reduces the transistor count in other parts of the circuit to keep the total transistor count equal to that of prior art Data storage element designs.
To facilitate a comparison of the prior art data storage element 200 to the exemplary embodiment of the present invention, a latch L1 logic diagram 300 schematic that represents the latch L1 of the prior art data storage element 200 is illustrated in
The alternate data input I 108 and the alternate clock input A 110 each drive an input of a first AND gate 314. The inverse of the alternate clock input A 110 also drives one input of a fourth logic AND gate 310. The outputs of the third logic AND gate 314 and the forth logic AND gate 310 each drive an input of a second logic NOR gate 316. The output of the second logic NOR gate 316 is either the first logic NOR gate output 318, which is described above, or the alternate data input I 108, as is selected by the level of the alternate clock input A 110. The output of the second logic NOR gate 316 provides the L1 Out signal 116 and is fed back into an input of the second logic AND gate 308 to provide the feedback used to store the data within the prior art latch L1290. It is to be noted that the first AND gate 314 of the latch L1 logic diagram 300 can also advantageously be modified to include an embodiment of the present invention. Such an embodiment includes a modification of the first AND gate 314 to utilize a higher noise immunity input circuit similar to that used by the exemplary embodiment that is described below.
An enhanced noise immunity data storage element circuit 400 as is used by an exemplary embodiment of the present invention is illustrated in
Some embodiments of the present invention only modify the prior art data storage element circuit 200 by changing the transmission gate connected to the alternate data input I 108 with the inverter-style branch circuit totem pole formed by transistor TPAC 402, TPI 404, TNI 406 and TNAC 408. Such embodiments exhibit the desired increase in immunity to electrical noise present on the alternate data input 108. The enhanced noise immunity data storage element circuit 400, however, incorporates further design modifications to reduce the number of transistors in the circuit. The number of transistors used in the enhanced noise immunity Data storage element circuit 400 is equal to the number of transistors used in the prior art data storage element circuit 200.
The enhanced noise immunity Data storage element circuit 400 reduces the transistor count by modifying the latch circuit designs used by new latch L1490 and new latch L2492. The enhanced noise immunity Data storage element circuit 400 latches data in new latch L1490 with the latch circuit formed by transistors TPL1T 410, TPAT 412, TPCT 414, TNCT 416, TNAT 418, TNL1T 420, TPL1C 422 and TNL1C 424. These transistors perform similar functions to the transistors TPL1T 206, TPCT 210, TNCC 212, TNL1T 214, TPL1C 216, TPAT 218, TNAC 220, and TNL1C 222 of the prior art data storage element circuit 200. The enhanced noise immunity data storage element circuit 400 arranges TPL1T, TPAT 412, TPCT 414, TNCT 416 TNAT 418 and TNL1T 420 in a six transistor totem pole circuit. This arrangement allows the data input for latch L2118, which is connected to the L1 output 116, of the enhanced noise immunity data storage element circuit 400 to be directly connected to the transistor pair TPBC 426 and TNBT 428, which form a gated input selected by the clock B 120 input. This results in the enhanced noise immunity data storage element circuit 400 effectively removing transistors TPL2T 224 and TNL2T 230 from the design of new latch L2492 relative to the design of prior art latch L2292 used in the prior art data storage element circuit 200. This two transistor reduction compensates for the addition of the two transistors to the alternate data input I 108 circuit described above and advantageously results in a transistor count for the enhanced noise immunity data storage element circuit 400 that is equal to the prior art data storage element circuit 200. This results in power dissipation and timing performance for the enhanced noise immunity Data storage element circuit 400 that is comparable to the prior art data storage element circuit 200.
The enhanced noise immunity Data storage element circuit 400 uses a gated input totem pole circuit to the primary data D 102 input. This input circuit consists of transistors TPD 430, TPCC 432, TNCC 434 and TND 436. The input circuit of the enhanced noise immunity data storage element circuit 400 for the primary clock C 104 input consists of transistor pair TPC 438 and TNC 440. The input circuit for the alternate clock A 110 consists of transistor pair TPA 442 and TNA 444.
The transistors used in the input circuits for the alternate data input I 108 and the alternate clock input 110 are able to have lower bandwidth, generally caused by higher channel pass resistance in the circuits and connections used for those circuits, since those circuits are used for the generally lower bandwidth test related signals. Using lower bandwidth circuits for alternate data and clock inputs reduces the use of larger, lower resistance and higher capacitance devices advantageously reduces power consumption and substrate die size for the overall circuit.
New latch L2492 of the exemplary embodiment consists of the input transistors TPBC 426 and TNBT 428 as described above. The transistor pair consisting of TPB 446 and TNB 448 buffers the B clock input 120 of the enhanced noise immunity Data storage element circuit 400. A transition of the B clock 120 from low to high selects the latch L1 output 116 for storage into new latch L2492. The data stored in new latch L2492 is held in the transistor latch circuit formed by transistors TPL2C 450, TPBC 452, TNBC 454, TNL2C 456, TPL2NM 458 and TNL2NM 460, which is gated by the B clock input 120. The output 122 of the enhanced noise immunity data storage element 400 is the output of new latch L2492 and is buffered by the output transistor pair formed by TPL2M1462 and TPL2M1464.
A new latch L1 logic diagram 500, which is an equivalent logic diagram for the new latch L1490, is illustrated in
The data storage elements described above are incorporated into a wide variety of digital circuits. These data storage elements are included in libraries of pre-configured circuit modules, so-called “book sets,” that are used by an integrated circuit designer when designing an integrated circuit to implement a more complex function. For example, data storage elements that conform to LSSD standards are selected from a library for use in integrated circuits that include arithmetic units and other processing circuits including registers and accumulators. It is apparent that all circuits using data storage elements and that conform to LSSD standards benefit from the use of the enhanced noise immunity Data storage element circuit 400 or similar embodiments of the present invention.
Although specific embodiments of the invention have been disclosed, those having ordinary skill in the art will understand that changes can be made to the specific embodiments without departing from the spirit and scope of the invention. The scope of the invention is not to be restricted, therefore, to the specific embodiments. Furthermore, it is intended that the appended claims cover any and all such applications, modifications, and embodiments within the scope of the present invention.