US9032354B2 - Scan chain modification for reduced leakage - Google Patents
Scan chain modification for reduced leakage Download PDFInfo
- Publication number
- US9032354B2 US9032354B2 US13/903,847 US201313903847A US9032354B2 US 9032354 B2 US9032354 B2 US 9032354B2 US 201313903847 A US201313903847 A US 201313903847A US 9032354 B2 US9032354 B2 US 9032354B2
- Authority
- US
- United States
- Prior art keywords
- circuit
- scan chain
- mode
- elements
- flip
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime, expires
Links
- 238000012986 modification Methods 0.000 title description 3
- 230000004048 modification Effects 0.000 title description 3
- 239000013598 vector Substances 0.000 claims abstract description 85
- 238000012360 testing method Methods 0.000 claims abstract description 37
- 238000000034 method Methods 0.000 claims description 25
- 230000004044 response Effects 0.000 claims description 6
- 230000008901 benefit Effects 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/3177—Testing of logic operation, e.g. by logic analysers
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/3181—Functional testing
- G01R31/3185—Reconfiguring for testing, e.g. LSSD, partitioning
- G01R31/318533—Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
- G01R31/318575—Power distribution; Power saving
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/317—Testing of digital circuits
- G01R31/3181—Functional testing
- G01R31/3185—Reconfiguring for testing, e.g. LSSD, partitioning
- G01R31/318533—Reconfiguring for testing, e.g. LSSD, partitioning using scanning techniques, e.g. LSSD, Boundary Scan, JTAG
- G01R31/318577—AC testing, e.g. current testing, burn-in
Definitions
- This invention relates to circuit improvements, and more particularly to methods and circuits for reducing leakage currents in circuits.
- leakage power becomes an increasingly important part of the total power dissipation of the chip. This is as threshold voltages and gate lengths are reduced in finer geometry processes, leading to increased leakage current. In addition, with significant gate oxide scaling, leakage current starts to occur through the transistor gates. Leakage power is especially crucial in portable devices, such as cell phones, where it can directly affect the operating time before which the device needs to be recharged.
- One solution that has been proposed is to determine whether a logic 1 or logic 0 value at the gate of a particular device is likely to minimize leakage of the device. Then, a vector is loaded into the latches of the circuit where leakage power dissipation is to be minimized. Thus, the latches apply a logic 1 or logic 0 value, as needed. This may be, for example, in response to a “standby” signal applied to or generated by the circuit.
- a typical testing mechanism is a “scan-chain”.
- a scan chain typically includes a linked set of flip-flops, and usually, serially provided data is introduced into a flip-flop at one end of the chain and is clocked sequentially into the scan chain, over a number of clock cycles.
- the scan chain applies the test input (TI) data to various circuit elements, which produce a known output if operating correctly. If an output other than the expected known output is produced, an error in the circuit is indicated.
- the set of TI data that is clocked into the scan chain is often referred to as a vector, and, more particularly, is referred to herein as a test vector.
- the flip-flops are configurable to accept either the test vector in a test mode or data in a normal operating mode.
- a test enable (TE) signal is accepted by the flip-flops of the scan chain to essentially multiplex either the test vector or the actual data for application to the circuit.
- Another technique to reduce leakage power is to use large shut-off transistors which are provided to the power source. This technique requires significant layout overhead and also leads to power supply integrity issues.
- One of the advantages realized by the invention is that by using the existing scan chain in the design, no modifications need to be made to the flip-flops or latches in the design. This means that there is no timing impact on the critical paths.
- Another advantage of the invention is that no extra area or power overhead is required by having to use more complex flip-flops or latches, which were required by the prior art.
- Still another advantage of the invention is that by not routing the sleep signal (also referred to as the “standby” signal) to each flip-flop, area penalties are avoided, as well as routing congestion and power dissipation in the design.
- the sleep signal also referred to as the “standby” signal
- the method and circuits of the invention provide a mechanism by which a set of low leakages vectors can be applied to a circuit when its inputs are not changing.
- the idea is that during the sleep period a set of low leakage vectors are loaded into the flip-flops of the design by using the scan chain (after which the clock signal provided to the flip-flops can be shut off.) While some extra power is dissipated in loading the low leakage signals it should be remembered that even if the sleep period lasts several seconds, it could represent many billions of clock cycles. Across so many cycles the power dissipated in loading the low leakage vectors would pale in insignificance compared to the total leakage power.
- a circuit that includes scan chain elements to contain a vector for selective application to circuit elements of the circuit.
- a vector memory contains a configuration vector which, when applied to the circuit elements, configures the circuit elements into a state in which a leakage current is reduced.
- a multiplexer selects the configuration vector for loading into the scan chain elements, and a clock generator clocks the configuration vector into the scan chain elements.
- a sleep mode detector is provided to configure the multiplexer to select the configuration vector and to operate the clock generator to clock the configuration vector into the scan chain elements when a sleep mode of the circuit is detected.
- a method for reducing leakage currents in a circuit.
- the method includes clocking a configuration vector into scan chain elements for application to circuit elements within the circuit.
- the configuration vector configures the circuit elements into a state in which leakage currents are minimized.
- the method includes detecting a sleep mode, and in response thereto performing the clocking.
- the method also includes turning off clock pulses to the scan chain elements after the configuration vector has been applied to the circuit elements.
- a method for reducing leakage currents in a circuit includes determining a vector having first states which if applied to circuit elements of the circuit results in lower leakage currents than second states, detecting an operating mode of the circuit, such as a sleep or standby mode, and clocking the vector into scan chain elements of the circuit for application thereby to the circuit elements when the operating mode is detected.
- the method also includes turning off clock pulses to the scan chain elements after the vector has been applied to the circuit elements.
- FIG. 1 is an electrical schematic diagram of a circuit having a scan chain test capability together with a leakage current reduction circuit, in accordance with a preferred embodiment of the invention.
- FIG. 2 is a state diagram showing an example of various states that may be assumed by a state machine in performing a method for reducing leakage currents in a circuit, in accordance with a preferred embodiment of the invention.
- FIG. 1 One embodiment 10 of the invention is shown in FIG. 1 , to which reference is now made.
- a preferred embodiment of the invention is particularly useful in conjunction with circuit or design 12 in which a scan chain test circuit 14 is already associated.
- the scan-chain 14 is re-used to supply low leakage vectors to the flip-flops (not shown) of the circuit 12 . That is, in addition to retaining the original test uses for the scan chain 14 , the scan chain 14 is additionally used to contain a vector that reduces the leakage currents in the circuit elements of the circuit 12 , in a manner below described in detail.
- a typical scan chain 14 may include a large number of flip-flops; however, the scan chain shown includes only two flip-flop elements 16 and 18 , for brevity, it being understood that many such flip-flop elements may be included in the scan-chain 14 .
- the two scan-chain elements 16 and 18 shown are the same elements that would pre-exist in association with the circuit 12 with which the invention is employed.
- each flip-flop includes a D (data-in) input to which data is applied in normal operation, a TI (test-in) input to which a test vector is applied in test mode, and a TE (test-enable) input which controls the input to the flip-flop to be either the D input or the TI input.
- the scan-chain 14 is controlled by the TE signal 20 , which controls whether the TI input 22 or standard D input 24 is loaded into each scan-chain flip-flop 16 , 18 .
- the scan-chain 12 when a sleep or standby mode signal occurs, the scan-chain 12 is enabled by a LLE (low leakage enable) signal 28 in place of the normal TE signal.
- LLE low leakage enable
- This is implemented by a simple multiplexer 30 , which receives the TI signal 20 on one input and the LLE signal 29 on another.
- the selection signal for the multiplexers 34 and 30 , as well as the LLE signal 29 is controlled by a finite state machine (FSM) 36 .
- FSM finite state machine
- the data inputted into the flip-flops 16 and 18 of the scan chain 14 is an LLI (low-leakage input) vector 35 , instead of, the TI signal 22 that is used during scan testing.
- the LLI vector may be variously referred to herein as a low leakage input vector, a configuration vector, or a power control vector.
- This selection is also implemented with a multiplexer 34 , which receives the TI signal 22 on one input and the LLI signal 35 on another.
- a simple change at the input of the scan chain 14 can allow the scan chain 14 to load low leakage vectors in addition to scan testing vectors.
- the process of loading the low leakage vectors begins once a sleep signal is received or generated.
- the sleep signal may be generated, for example, in known fashion.
- One technique for providing the sleep signal may be, for example, on-chip, based on some time-out mechanism. Alternately, the sleep signal could be provided from off-chip sources. Those skilled in the art will recognize other sleep or standby mode signal generation techniques.
- the LLE signal 28 is invoked for the desired scan chain elements 16 , 18 , and the LLI vector 35 is scanned or loaded thereinto.
- the LLI vector 35 may be provided, for instance, from an on-chip memory device 37 , from an off-chip source (not shown), or from another source.
- a control signal from the FSM 36 would initiate the delivery of the LLI vector 35 , for example, by an enable signal on a line 26 .
- the FSM 36 may be used to ensure that the LLI inputs are serially available once the LLE signal 28 is turned on or selected via multiplexer 30 .
- Various states that may be included in the finite state machine 36 are exemplified in FIG. 2 , to which reference is now additionally made.
- the finite state machine 36 continually checks for a change of state of the sleep, or standby, mode signal, states 50 and 52 , and while the circuit is not in sleep mode, allows clock signals from the clock generator 40 to apply clock pulses to the flip-flops 16 , 18 via clock enable signal 38 applied to AND gate 42 .
- the LLE signal 28 is turned on, state 54 .
- the LLE signal 28 In order to ensure that the right vector values are placed in their corresponding scan-chain flip-flops 16 , 18 , the LLE signal 28 must be activated for a number of cycles equal to the length of the scan chain 14 into which the LLI vectors are to be scanned. Preferably, this would include the entire scan-chain 14 , but in some applications, may include a sub-set of the scan-chain.
- the FSM 36 also receives (or generates) the sleep signal, and in response thereto controls the turn-on and turn-off of the LLE signal 35 by a signal on line 26 .
- the finite state machine 36 checks the number of clock pulses against the desired number of scan flip-flops into which the vector is to be clocked, state 56 . After the low leakage vector, LLI, 35 has been loaded, the LLE signals for the scan chain are turned off, state 58 .
- the state machine returns to state 50 , removing the clock gating signal 38 , allowing the flip-flops 16 , 18 to once again be clocked.
- the FSM 36 can be modified to return to state 50 (the sleep mode off state) during states 54 , 56 , 58 or 60 if the sleep signal is deactivated.
- the actual implementation will depend on the minimum length of sleep state possible. This is likely to be significantly longer than the number of clock cycles required to load the LLI vector if, for example, the PLL needs to powered up at the end of sleep.
- the solution presented herein has at least two major advantages.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Semiconductor Integrated Circuits (AREA)
- Tests Of Electronic Circuits (AREA)
- Logic Circuits (AREA)
Abstract
A leakage power control vector is loaded into existing test scan chain elements for application to circuit elements of a circuit in which the leakage currents are to be controlled. The vector is designed to configure the circuit elements into states in which leakage currents are reduced. A multiplexer selects the power control vector for loading into the scan chain elements, and a clock generator clocks the configuration vector into the scan chain elements. A sleep mode detector may be provided to configure the multiplexer to select the power control vector and to operate the clock generator to clock the power control vector into the scan chain elements when a sleep mode of the circuit is detected.
Description
This application is a division of, and incorporates by reference, prior U.S. patent application Ser. No. 12/383,902 filed Mar. 30, 2009, now U.S. Pat. No. 8,453,098, and is a division of, and incorporates by reference, prior U.S. patent application Ser. No. 10/604,964 filed Aug. 28, 2003 now U.S. Pat. No. 7,571,402.
1. Field of Invention
This invention relates to circuit improvements, and more particularly to methods and circuits for reducing leakage currents in circuits.
2. Relevant Background
A strong correlation has been shown to exist between the input vector applied to a logic cell and the leakage current through it. For example, for a 2-input static AND cell, it has been reported that the total drain to source leakage current when both the inputs are at logic 1 is 50 times greater than when the inputs are at logic 0.
As process technologies continue to scale, leakage power becomes an increasingly important part of the total power dissipation of the chip. This is as threshold voltages and gate lengths are reduced in finer geometry processes, leading to increased leakage current. In addition, with significant gate oxide scaling, leakage current starts to occur through the transistor gates. Leakage power is especially crucial in portable devices, such as cell phones, where it can directly affect the operating time before which the device needs to be recharged.
One solution that has been proposed is to determine whether a logic 1 or logic 0 value at the gate of a particular device is likely to minimize leakage of the device. Then, a vector is loaded into the latches of the circuit where leakage power dissipation is to be minimized. Thus, the latches apply a logic 1 or logic 0 value, as needed. This may be, for example, in response to a “standby” signal applied to or generated by the circuit.
As integrated circuits become increasingly complex, mechanisms for testing have been designed into the circuits. A typical testing mechanism is a “scan-chain”. A scan chain typically includes a linked set of flip-flops, and usually, serially provided data is introduced into a flip-flop at one end of the chain and is clocked sequentially into the scan chain, over a number of clock cycles. The scan chain applies the test input (TI) data to various circuit elements, which produce a known output if operating correctly. If an output other than the expected known output is produced, an error in the circuit is indicated. The set of TI data that is clocked into the scan chain is often referred to as a vector, and, more particularly, is referred to herein as a test vector.
The flip-flops are configurable to accept either the test vector in a test mode or data in a normal operating mode. Thus, a test enable (TE) signal is accepted by the flip-flops of the scan chain to essentially multiplex either the test vector or the actual data for application to the circuit.
Another technique to reduce leakage power is to use large shut-off transistors which are provided to the power source. This technique requires significant layout overhead and also leads to power supply integrity issues.
One of the advantages realized by the invention is that by using the existing scan chain in the design, no modifications need to be made to the flip-flops or latches in the design. This means that there is no timing impact on the critical paths.
Another advantage of the invention is that no extra area or power overhead is required by having to use more complex flip-flops or latches, which were required by the prior art.
Still another advantage of the invention is that by not routing the sleep signal (also referred to as the “standby” signal) to each flip-flop, area penalties are avoided, as well as routing congestion and power dissipation in the design.
These and other objects, features and advantages of the invention will be apparent to those skilled in the art from the following detailed description of the invention, when read in conjunction with the accompanying drawings and appended claims.
The method and circuits of the invention provide a mechanism by which a set of low leakages vectors can be applied to a circuit when its inputs are not changing. The idea is that during the sleep period a set of low leakage vectors are loaded into the flip-flops of the design by using the scan chain (after which the clock signal provided to the flip-flops can be shut off.) While some extra power is dissipated in loading the low leakage signals it should be remembered that even if the sleep period lasts several seconds, it could represent many billions of clock cycles. Across so many cycles the power dissipated in loading the low leakage vectors would pale in insignificance compared to the total leakage power.
Thus, according to a broad aspect of the invention, a circuit is presented that includes scan chain elements to contain a vector for selective application to circuit elements of the circuit. A vector memory contains a configuration vector which, when applied to the circuit elements, configures the circuit elements into a state in which a leakage current is reduced. A multiplexer selects the configuration vector for loading into the scan chain elements, and a clock generator clocks the configuration vector into the scan chain elements. In one embodiment, a sleep mode detector is provided to configure the multiplexer to select the configuration vector and to operate the clock generator to clock the configuration vector into the scan chain elements when a sleep mode of the circuit is detected.
According to another broad aspect of the invention, a method is presented for reducing leakage currents in a circuit. The method includes clocking a configuration vector into scan chain elements for application to circuit elements within the circuit. The configuration vector configures the circuit elements into a state in which leakage currents are minimized. In one embodiment, the method includes detecting a sleep mode, and in response thereto performing the clocking. In another embodiment, the method also includes turning off clock pulses to the scan chain elements after the configuration vector has been applied to the circuit elements.
According to still another broad aspect of the invention, a method for reducing leakage currents in a circuit is presented. The method includes determining a vector having first states which if applied to circuit elements of the circuit results in lower leakage currents than second states, detecting an operating mode of the circuit, such as a sleep or standby mode, and clocking the vector into scan chain elements of the circuit for application thereby to the circuit elements when the operating mode is detected. In one embodiment, the method also includes turning off clock pulses to the scan chain elements after the vector has been applied to the circuit elements.
The invention is illustrated in the accompanying drawing, in which:
And FIG. 2 is a state diagram showing an example of various states that may be assumed by a state machine in performing a method for reducing leakage currents in a circuit, in accordance with a preferred embodiment of the invention.
One embodiment 10 of the invention is shown in FIG. 1 , to which reference is now made. A preferred embodiment of the invention is particularly useful in conjunction with circuit or design 12 in which a scan chain test circuit 14 is already associated. In those circuits the scan-chain 14 is re-used to supply low leakage vectors to the flip-flops (not shown) of the circuit 12. That is, in addition to retaining the original test uses for the scan chain 14, the scan chain 14 is additionally used to contain a vector that reduces the leakage currents in the circuit elements of the circuit 12, in a manner below described in detail.
A typical scan chain 14 may include a large number of flip-flops; however, the scan chain shown includes only two flip- flop elements 16 and 18, for brevity, it being understood that many such flip-flop elements may be included in the scan-chain 14. The two scan- chain elements 16 and 18 shown are the same elements that would pre-exist in association with the circuit 12 with which the invention is employed. Typically, each flip-flop includes a D (data-in) input to which data is applied in normal operation, a TI (test-in) input to which a test vector is applied in test mode, and a TE (test-enable) input which controls the input to the flip-flop to be either the D input or the TI input. Thus, in normal testing operations, the scan-chain 14 is controlled by the TE signal 20, which controls whether the TI input 22 or standard D input 24 is loaded into each scan-chain flip- flop 16,18.
In the circuit embodiment 10 shown, when a sleep or standby mode signal occurs, the scan-chain 12 is enabled by a LLE (low leakage enable) signal 28 in place of the normal TE signal. This is implemented by a simple multiplexer 30, which receives the TI signal 20 on one input and the LLE signal 29 on another. The selection signal for the multiplexers 34 and 30, as well as the LLE signal 29, is controlled by a finite state machine (FSM) 36.
Also, according to the invention, the data inputted into the flip- flops 16 and 18 of the scan chain 14 is an LLI (low-leakage input) vector 35, instead of, the TI signal 22 that is used during scan testing. The LLI vector may be variously referred to herein as a low leakage input vector, a configuration vector, or a power control vector. This selection is also implemented with a multiplexer 34, which receives the TI signal 22 on one input and the LLI signal 35 on another.
Thus, a simple change at the input of the scan chain 14 can allow the scan chain 14 to load low leakage vectors in addition to scan testing vectors. The process of loading the low leakage vectors begins once a sleep signal is received or generated. The sleep signal may be generated, for example, in known fashion. One technique for providing the sleep signal may be, for example, on-chip, based on some time-out mechanism. Alternately, the sleep signal could be provided from off-chip sources. Those skilled in the art will recognize other sleep or standby mode signal generation techniques.
In any case, once the sleep signal is received, the LLE signal 28 is invoked for the desired scan chain elements 16,18, and the LLI vector 35 is scanned or loaded thereinto. The LLI vector 35 may be provided, for instance, from an on-chip memory device 37, from an off-chip source (not shown), or from another source. Generally, a control signal from the FSM 36 would initiate the delivery of the LLI vector 35, for example, by an enable signal on a line 26.
The FSM 36 may be used to ensure that the LLI inputs are serially available once the LLE signal 28 is turned on or selected via multiplexer 30. Various states that may be included in the finite state machine 36 are exemplified in FIG. 2 , to which reference is now additionally made. The finite state machine 36 continually checks for a change of state of the sleep, or standby, mode signal, states 50 and 52, and while the circuit is not in sleep mode, allows clock signals from the clock generator 40 to apply clock pulses to the flip- flops 16,18 via clock enable signal 38 applied to AND gate 42.
Once a sleep mode is detected in state 52, the LLE signal is turned on, state 54. In order to ensure that the right vector values are placed in their corresponding scan-chain flip- flops 16,18, the LLE signal 28 must be activated for a number of cycles equal to the length of the scan chain 14 into which the LLI vectors are to be scanned. Preferably, this would include the entire scan-chain 14, but in some applications, may include a sub-set of the scan-chain.
Thus, the FSM 36 also receives (or generates) the sleep signal, and in response thereto controls the turn-on and turn-off of the LLE signal 35 by a signal on line 26. As mentioned, since different scan chain in the design are likely to have different chain lengths the FSM 36 must ensure that each scan chain will be only active for a specific number of cycles. Accordingly, the finite state machine 36 checks the number of clock pulses against the desired number of scan flip-flops into which the vector is to be clocked, state 56. After the low leakage vector, LLI, 35 has been loaded, the LLE signals for the scan chain are turned off, state 58.
In one embodiment of the invention, since there is no need to continue to clock the flip- flops 16,18 after the LLI vector 35 is loaded thereinto, the FSM controller 36 may then be used to send a clock gating signal 38 to the clock signals driving the scan chain flip- flops 16,18. In the embodiment shown, for example, the clock signals from a clock generator 40, which normally clock the flip- flops 16,18, are compared, for example, in an AND gate 42, with the normally high output 38 from the FSM 36, state 60. When the clock gating signal 38 from the FSM 36 goes low once the LLI vector 35 has been clocked into the flip- flops 16,18, the clock signals are blocked from clocking the flip- flops 16,18 further. This may be performed in state 62, in which the sleep mode is again monitored to ensure that it is still turned off. If it remains off, the flip- flops 16,18 are not clocked. This will lead to further power savings.
On the other hand, if the sleep mode is turned off, the state machine returns to state 50, removing the clock gating signal 38, allowing the flip- flops 16,18 to once again be clocked. The FSM 36 can be modified to return to state 50 (the sleep mode off state) during states 54, 56, 58 or 60 if the sleep signal is deactivated. The actual implementation will depend on the minimum length of sleep state possible. This is likely to be significantly longer than the number of clock cycles required to load the LLI vector if, for example, the PLL needs to powered up at the end of sleep.
The particular values of the LLI vector 35 that are applied to the scan chain may be pre-computed, for example based upon heuristic data or other data known about the particular devices in the circuit 12 to which they will be applied. It is assumed that a fully automated flow mechanism will be provided by which a memory to hold the LLI vectors 35 and FSM 36 will be generated once the logic is known. This is necessary as the input vectors that cause minimal leakage current are strongly dependent on the logical structure of the module.
Thus, it can be seen that the solution presented herein has at least two major advantages. First, by using the existing scan chain in the design, no modifications need to be made to the flip-flops or latches in the design. Therefore, the use of the method and circuitry of the invention will have essentially no timing impact on the critical paths. Second, there is no extra area or power overhead in having to use more complex flip-flops or latches. By not routing the sleep or standby signal to each flip-flop, the area penalty, routing congestion and power dissipation in the design are avoided.
Although the invention has been described and illustrated with a certain degree of particularity, it is understood that the present disclosure has been made only by way of example, and that numerous changes in the combination and arrangement of parts can be resorted to by those skilled in the art without departing from the spirit and scope of the invention, as hereinafter claimed.
Claims (21)
1. A circuit, comprising:
a plurality of scan chain flip-flops coupled to circuit elements of the circuit, the scan chain flip-flops each comprising an input configured to alternatively configure the scan chain flip-flops in a first mode in which one or more test vectors may be loaded into the flip-flops and a second mode in which a stored vector may be loaded into the flip-flops;
a vector memory configured to contain one test vector which, when applied to the circuit elements of the circuit while the flip-flops are in the first mode, results in lower leakage currents of second states, the one test vector determined based on heuristic data associated with the circuit;
a multiplexer configured, in response to detecting an operating mode of the circuit, to set the one test vector to be the stored vector; and
a clock generator configured, while the scan chain flip-flops are in the second mode, to clock the stored vector into scan chain elements of the circuit for application to the circuit elements when the operating mode is detected.
2. The circuit of claim 1 , further comprising:
a sleep mode detector configured to detect when the operating mode is a sleep mode.
3. The circuit of claim 1 , further comprising:
a scan chain turn off circuit configured to turn off clock pulses to the scan chain elements after the stored vector has been applied to the circuit elements.
4. The circuit of claim 1 , wherein if a first state, when applied to a circuit element, is determined to result in lower leakage currents than a second state and the circuit is detected to be operating in either a first operating mode or a second operating mode, the multiplexer and clock generator are configured to clock test data into the scan chain elements of the circuit for application to the circuit elements when the second operating mode is detected.
5. The circuit of claim 4 , wherein the first operating mode is a sleep mode.
6. The circuit of claim 4 , wherein the second operating mode is a test mode.
7. A circuit of claim 4 , further comprising:
a scan chain turn off circuit configured to turn off clock pulses to the scan chain elements after the stored vector has been applied to the circuit elements.
8. A method for reducing leakage currents in a circuit, comprising:
providing a plurality of scan chain flip-flops coupled to circuit elements of the circuit, the scan chain flip-flops each comprising an input that alternatively configures the scan chain flip-flops in a first mode in which one or more test vectors may be loaded into the flip-flops and a second mode in which a stored vector may be loaded into the flip-flops;
determining, while the flip-flops are in the first mode, one of the test vectors from a vector memory having first states which, if applied to the circuit elements of the circuit while the flip-flops are in the first mode, results in lower leakage currents than leakage currents of second states, wherein the one test vector is determined based on heuristic data associated with the circuit;
setting the one test vector to be the stored vector using a multiplexer in response to detecting an operating mode of the circuit;
clocking, while the flip-flops are in the second mode, the stored vector into scan chain elements of the circuit; and
applying the stored vector to the circuit elements when the operating mode is detected.
9. The method of claim 8 , wherein the stored vector is applied to the circuit elements when the operating mode is a sleep mode.
10. The method of claim 8 , further comprising:
turning off clock pulses to the scan chain elements after the vector has been applied to the circuit elements.
11. The method of claim 8 , further comprising:
determining if a first state, when applied to a circuit element, results in lower leakage currents than a second state;
detecting whether the circuit is operating in either a first operating mode or a second operating mode;
clocking test data into the scan chain elements of the circuit; and
applying the test data to the circuit elements when the second operating mode is detected.
12. The method of claim 11 , wherein the first operating mode is a sleep mode.
13. The method of claim 11 , wherein the second operating mode is a test mode.
14. The method of claim 11 , further comprising:
turning off clock pulses to the scan chain elements after the test vector has been applied to the circuit elements.
15. A circuit, comprising:
a plurality of scan chain flip-flops coupled to circuit elements of the circuit, the scan chain flip-flops each comprising an input configured to alternatively configure the scan chain flip-flops in a first mode in which one or more test vectors may be loaded into the flip-flops and a second mode in which a stored vector may be loaded into the flip-flops;
a vector memory configured to contain one of the test vectors which, when applied to the circuit elements of the circuit while the flip-flops are in the first mode, results in lower leakage currents of second states, the one test vector determined based on heuristic data associated with the circuit;
a multiplexer configured, in response to detecting an operating mode of the circuit, to set the one test vector to be the stored vector; and
a clock generator configured, while the scan chain flip-flops are in the second mode, to clock the stored vector into scan chain elements of the circuit,
wherein the multiplexer and the clock generator are configured to apply the stored vector to the circuit elements when the operating mode is detected.
16. The circuit of claim 15 , further comprising:
a sleep mode detector configured to detect when the operating mode is a sleep mode.
17. The circuit of claim 15 , further comprising:
a scan chain turn off circuit configured to turn off clock pulses to the scan chain elements after the stored vector has been applied to the circuit elements.
18. The circuit of claim 15 , wherein if a first state, when applied to a circuit element, is determined to result in lower leakage currents than a second state and the circuit is detected to be operating in either a first operating mode or a second operating mode, the multiplexer and clock generator are configured to clock test data into the scan chain elements of the circuit for application to the circuit elements when the second operating mode is detected.
19. The circuit of claim 18 , wherein the first operating mode is a sleep mode.
20. The circuit of claim 18 , wherein the second operating mode is a test mode.
21. A circuit of claim 18 , further comprising:
a scan chain turn off circuit configured to turn off clock pulses to the scan chain elements after the stored vector has been applied to the circuit elements.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/903,847 US9032354B2 (en) | 2003-08-28 | 2013-05-28 | Scan chain modification for reduced leakage |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/604,964 US7571402B2 (en) | 2003-08-28 | 2003-08-28 | Scan chain modification for reduced leakage |
US12/383,902 US8453098B2 (en) | 2003-08-28 | 2009-03-30 | Scan chain modification for reduced leakage |
US13/903,847 US9032354B2 (en) | 2003-08-28 | 2013-05-28 | Scan chain modification for reduced leakage |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/383,902 Division US8453098B2 (en) | 2003-08-28 | 2009-03-30 | Scan chain modification for reduced leakage |
Publications (2)
Publication Number | Publication Date |
---|---|
US20130262944A1 US20130262944A1 (en) | 2013-10-03 |
US9032354B2 true US9032354B2 (en) | 2015-05-12 |
Family
ID=34103120
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/604,964 Expired - Fee Related US7571402B2 (en) | 2003-08-28 | 2003-08-28 | Scan chain modification for reduced leakage |
US12/383,902 Expired - Lifetime US8453098B2 (en) | 2003-08-28 | 2009-03-30 | Scan chain modification for reduced leakage |
US13/903,847 Expired - Lifetime US9032354B2 (en) | 2003-08-28 | 2013-05-28 | Scan chain modification for reduced leakage |
Family Applications Before (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/604,964 Expired - Fee Related US7571402B2 (en) | 2003-08-28 | 2003-08-28 | Scan chain modification for reduced leakage |
US12/383,902 Expired - Lifetime US8453098B2 (en) | 2003-08-28 | 2009-03-30 | Scan chain modification for reduced leakage |
Country Status (2)
Country | Link |
---|---|
US (3) | US7571402B2 (en) |
EP (1) | EP1510829A1 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7571402B2 (en) * | 2003-08-28 | 2009-08-04 | Stmicroelectronics, Inc. | Scan chain modification for reduced leakage |
US7757137B2 (en) * | 2007-03-27 | 2010-07-13 | International Business Machines Corporation | Method and apparatus for on-the-fly minimum power state transition |
US7949971B2 (en) * | 2007-03-27 | 2011-05-24 | International Business Machines Corporation | Method and apparatus for on-the-fly minimum power state transition |
US7882461B2 (en) * | 2007-05-29 | 2011-02-01 | Magma Design Automation, Inc. | Method for optimized automatic clock gating |
JP4954862B2 (en) * | 2007-12-25 | 2012-06-20 | ルネサスエレクトロニクス株式会社 | Semiconductor integrated circuit |
US20100153759A1 (en) * | 2008-12-15 | 2010-06-17 | Singhal Rakshit | Power gating technique to reduce power in functional and test modes |
US8381144B2 (en) * | 2010-03-03 | 2013-02-19 | Qualcomm Incorporated | System and method of test mode gate operation |
US8689068B2 (en) | 2011-11-28 | 2014-04-01 | Freescale Semiconductor, Inc. | Low leakage current operation of integrated circuit using scan chain |
CN106126762A (en) | 2015-05-07 | 2016-11-16 | 飞思卡尔半导体公司 | Reduce based on the leakage power knowing encapsulation state |
JP7214602B2 (en) * | 2019-09-24 | 2023-01-30 | 株式会社東芝 | SEMICONDUCTOR DEVICE AND CONTROL METHOD OF SEMICONDUCTOR DEVICE |
US11687147B1 (en) * | 2020-09-18 | 2023-06-27 | Marvell Asia Pte, Ltd. | Reducing leakage power in low-power mode of an integrated circuit device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5912850A (en) * | 1995-08-03 | 1999-06-15 | Northern Telecom Limited | Multi-port RAM with shadow write test enhancement |
US5926487A (en) * | 1996-01-05 | 1999-07-20 | International Business Machines Corporation | High performance registers for pulsed logic |
US20020162037A1 (en) * | 2001-04-26 | 2002-10-31 | Woods Paul Richard | Scan-based state save and restore method and system for inactive state power reduction |
US6946903B2 (en) * | 2003-07-28 | 2005-09-20 | Elixent Limited | Methods and systems for reducing leakage current in semiconductor circuits |
US6998895B2 (en) * | 2002-10-29 | 2006-02-14 | Qualcomm, Incorporated | System for reducing leakage in integrated circuits during sleep mode |
US7188286B2 (en) * | 2003-01-24 | 2007-03-06 | On-Chip Technologies, Inc. | Accelerated scan circuitry and method for reducing scan test data volume and execution time |
US7412637B2 (en) * | 2003-01-10 | 2008-08-12 | Syntest Technologies, Inc. | Method and apparatus for broadcasting test patterns in a scan based integrated circuit |
US7571402B2 (en) * | 2003-08-28 | 2009-08-04 | Stmicroelectronics, Inc. | Scan chain modification for reduced leakage |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4294159B2 (en) * | 1999-05-06 | 2009-07-08 | 株式会社ルネサステクノロジ | Semiconductor integrated circuit device |
-
2003
- 2003-08-28 US US10/604,964 patent/US7571402B2/en not_active Expired - Fee Related
-
2004
- 2004-08-23 EP EP20040255064 patent/EP1510829A1/en not_active Withdrawn
-
2009
- 2009-03-30 US US12/383,902 patent/US8453098B2/en not_active Expired - Lifetime
-
2013
- 2013-05-28 US US13/903,847 patent/US9032354B2/en not_active Expired - Lifetime
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5912850A (en) * | 1995-08-03 | 1999-06-15 | Northern Telecom Limited | Multi-port RAM with shadow write test enhancement |
US5926487A (en) * | 1996-01-05 | 1999-07-20 | International Business Machines Corporation | High performance registers for pulsed logic |
US20020162037A1 (en) * | 2001-04-26 | 2002-10-31 | Woods Paul Richard | Scan-based state save and restore method and system for inactive state power reduction |
US7058834B2 (en) * | 2001-04-26 | 2006-06-06 | Paul Richard Woods | Scan-based state save and restore method and system for inactive state power reduction |
US6998895B2 (en) * | 2002-10-29 | 2006-02-14 | Qualcomm, Incorporated | System for reducing leakage in integrated circuits during sleep mode |
US7412637B2 (en) * | 2003-01-10 | 2008-08-12 | Syntest Technologies, Inc. | Method and apparatus for broadcasting test patterns in a scan based integrated circuit |
US7188286B2 (en) * | 2003-01-24 | 2007-03-06 | On-Chip Technologies, Inc. | Accelerated scan circuitry and method for reducing scan test data volume and execution time |
US6946903B2 (en) * | 2003-07-28 | 2005-09-20 | Elixent Limited | Methods and systems for reducing leakage current in semiconductor circuits |
US7571402B2 (en) * | 2003-08-28 | 2009-08-04 | Stmicroelectronics, Inc. | Scan chain modification for reduced leakage |
US8453098B2 (en) * | 2003-08-28 | 2013-05-28 | Stmicroelectronics, Inc. | Scan chain modification for reduced leakage |
Also Published As
Publication number | Publication date |
---|---|
US20130262944A1 (en) | 2013-10-03 |
US20090193307A1 (en) | 2009-07-30 |
US8453098B2 (en) | 2013-05-28 |
US20050050416A1 (en) | 2005-03-03 |
US7571402B2 (en) | 2009-08-04 |
EP1510829A1 (en) | 2005-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9032354B2 (en) | Scan chain modification for reduced leakage | |
US7581124B1 (en) | Method and mechanism for controlling power consumption of an integrated circuit | |
JP4954862B2 (en) | Semiconductor integrated circuit | |
US7996738B2 (en) | Semiconductor chip with a plurality of scannable storage elements and a method for scanning storage elements on a semiconductor chip | |
EP0898284B1 (en) | Semiconductor memory having a test circuit | |
KR20040036542A (en) | Testing logic and embedded memory in parallel | |
US20070168806A1 (en) | Scan path circuit and semiconductor integrated circuit comprising the scan path circuit | |
US8363504B2 (en) | Device and method for state retention power gating | |
US20160349318A1 (en) | Dynamic Clock Chain Bypass | |
KR20140060137A (en) | Semiconductor integrated circuit and operating method thereof, timing verifying method for semiconductor integrated circuit and test method of semiconductor integrated circuit | |
US7944237B2 (en) | Adjustable hold flip flop and method for adjusting hold requirements | |
US6853212B2 (en) | Gated scan output flip-flop | |
US8587356B2 (en) | Recoverable and reconfigurable pipeline structure for state-retention power gating | |
US7913132B2 (en) | System and method for scanning sequential logic elements | |
US5406567A (en) | Off-line test circuit of a semiconnector integrated logic circuit | |
US7284174B2 (en) | Enhanced JTAG interface | |
US7565589B2 (en) | Semiconductor integrated circuit having a BIST circuit | |
US7032147B2 (en) | Boundary scan circuit | |
CN116224045B (en) | Test circuit and method for reducing power consumption in capture stage in scanning test | |
US8055961B2 (en) | Semiconductor device testing | |
US7640475B2 (en) | At-speed transition fault testing with low speed scan enable | |
Bhunia et al. | Power reduction in test-per-scan BIST with supply gating and efficient scan partitioning | |
Abdollahi et al. | Leakage current reduction in sequential circuits by modifying the scan chains | |
Ahlawat et al. | On minimization of test power through modified scan flip-flop | |
US7284171B2 (en) | Integrated circuit device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |