SEMICONDUCTOR CHIP WITH A PLURALITY OF SCANNABLE STORAGE ELEMENTS AND A METHOD FOR SCANNING STORAGE ELEMENTS ON A SEMICONDUCTOR CHIP

Information

  • Patent Application
  • 20080276140
  • Publication Number
    20080276140
  • Date Filed
    March 05, 2008
    16 years ago
  • Date Published
    November 06, 2008
    16 years ago
Abstract
A semiconductor chip subdivided into power domains, at least one of the power domains is separately activated or deactivated and at least a part of the scannable storage elements are interconnected to one or more scan chains. At least one scan chain is serially subdivided into scan chain portions and the scan chain portion is arranged within one of the power domains. For at least one scan chain portion a bypass line is provided for passing by scan data and at least one select unit is provided for selecting between the bypass line and the corresponding scan chain portion in dependence of the activated or deactivated state of the corresponding power domains.
Description
FIELD OF THE INVENTION

The present invention relates to a semiconductor chip with a plurality of scannable storage elements. Further the present invention relates to a method for scanning the storage elements on said semiconductor chip for testing purposes.


BACKGROUND OF THE INVENTION

Modern semiconductor chips, especially processor chips comprise a plurality of electronic elements and are therefore faced with very high power consumption. Therefore it is necessary to reduce the power consumption of such semiconductor chips. A method according to the state of the art uses separate power domains to subdivide the semiconductor chip. Each power domain has a separate power supply or some way to turn off its local power. As many transistors as possible may be switched off, or their voltages may by reduced.


For testing purposes of the chip all or part of the storage elements of each power domain are interconnected to a so-called scan chain. Each scannable storage element comprises a scan input and a scan output. The scan chain includes a plurality of connections between the scan output of one storage element and the scan input of the next storage element. The scan chain is a serial line moving a data bit into each storage element according to a predetermined pattern scheme. In test mode said scan chain has the functionality of a shift register.


If such a power domain is switched off or the circuit's voltage is reduced, then a scanning process is not possible on said power domain, since the logic inside the power domain is not functional. Hence the whole scan chain is interrupted. It is not possible anymore to scan the storage elements on the active power domains of the semiconductor chip.


In the state of the art a solution of this problem is to activate all those power domains with the storage elements to be scanned. However, this results in a huge power consumption peek that may not be supported currently by the system. The activation of all power domains to be able to scan would further take a relatively long time. This method is already used during bring-up, where few cooling constraints are present and no power reduction techniques need to be applied, that impacts the functionality of the scan chain.


A further solution in the state of the art is to subdivide each scan chain into independent scan chain portions at each power domain. This requires additional numbers of wires running from and to the scan engine. The complexity of the scan structure and its verification is increased. If there is only one storage element in the wrong domain, then the scan chain is interrupted. In the worst case the configuration chain for the power controller is interrupted, preventing the ability to activate the power domain with the badly wired storage element. This would require a change to the chip masks and a remanufacturing of the semiconductor chip. Further the user has to activate the power domain to be scanned before and adding again more overhead in the software.



FIG. 6 illustrates a schematic diagram of an example of a semiconductor chip according to the prior art. Said semiconductor chip is subdivided into a plurality of power domains 10, 12 and 14. The power domains 10, 12 and 14 may be separately activated and deactivated by a power controller 16 via signal lines 18, 20 and 22. In FIG. 6 all power domains 10, 12 and 14 are activated. The power domains 10, 12 and 14 include a plurality of circuit units 24, 26 and 28. In FIG. 6 three circuit units 24, 26 and 28 are shown in each power domain 10, 12 and 14. Each circuit unit 24, 26 and 28 comprises a plurality of electronic elements and in particular at least one scannable storage element.



FIG. 7 illustrates a schematic diagram that of a semiconductor chip according to the prior art of FIG. 6 in a state, wherein the second power domain 12 is deactivated. Therefore the scan chains 42, 44 and 46 are interrupted in the second power domain 12, since the each of the scan chains 42, 44 and 46 crosses the deactivated power domain 32. In this second state it is not possible to make the scan test. If only one of the power domains 10, 12 and 14 is deactivated, then it is not possible to scan the storage elements.


SUMMARY OF THE INVENTION

It is an object of the present invention to provide a scannable semiconductor chip with a plurality of storage elements and a method for scanning the storage elements on said semiconductor chip, wherein a part of the semiconductor chip is deactivated.


The above object is achieved by a method as laid out in the independent claims. Further advantageous embodiments of the present invention are described in the dependent claims and are taught in the description below.


The core idea of the invention is to subdivide the semiconductor chip into power domains and to subdivide the scan chain into scan chain portions. The power domains are separately activated or deactivated. Each scan chain portion corresponds with at least one power domain.


Further a bypass line for each scan chain portion is provided. It is automatically recognized, if the scan chain portion is on a deactivated power domain. In this case said scan chain portion is bypassed via the corresponding bypass line. The present invention guarantees always closed scan chains.


A scan engine is arranged on the semiconductor chip for sending the scan data to the scan chain and receiving the scan data from the scan chain. The scan engine is provided for scanning a plurality of parallel scan chains.


A characterizing logical bit is inserted into the scan chain by a power indicator. Said logical bit indicates that the scan data arises from activated or deactivated power domain. The power indicator is arranged on such a part of the semiconductor chip, which is permanently activated.


During test the semiconductor chip may remain within normal operating conditions. A complicated scan domain partitioning is not necessary. A complex chain selection is also not necessary. All the scanned data are real well known data and there is no random data from depowered part of the semiconductor chip. It is not necessary to switch on all or a large part of the power domains. The invention may be realized with low cost.





BRIEF DESCRIPTION OF THE DRAWINGS

The above as well as additional objectives, features and advantages of the present invention become apparent in the following detailed written description.


The novel and inventive features believed to the characteristics of the invention are set forth in the appended claims. The invention itself and its advantages are best understood by reference to the following detailed description of preferred embodiments in conjunction with the accompanied drawings, wherein:



FIG. 1 illustrates a schematic diagram of a semiconductor chip according to a first embodiment of the present invention;



FIG. 2 illustrates a schematic diagram of a semiconductor chip according to a second embodiment of the present invention;



FIG. 3 illustrates a detailed diagram of a power indicator in the semiconductor chip according to the second embodiment of the present invention;



FIG. 4 illustrates a schematic diagram of two bit-patterns of the scan chain according to the second embodiment of the present invention;



FIG. 5 illustrates a detailed diagram of a further embodiment of the power indicator in the semiconductor chip according to the second embodiment of the present invention;



FIG. 6 illustrates a schematic diagram of an example of a semiconductor chip according to the prior art with activated power domains; and



FIG. 7 illustrates a schematic diagram of the example of the semiconductor chip according to the prior art with a deactivated power domain.





DETAILED DESCRIPTION OF THE INVENTION


FIG. 1 illustrates a schematic diagram of a semiconductor chip according to a preferred embodiment of the present invention. The semiconductor chip is subdivided into a plurality of power domains 10, 12 and 14. In FIG. 1 a first power domain 10, a second power domain 12 and a third power domain 14 are shown. The power domains 10, 12 and 14 may be separately activated and deactivated by a power controller 16 via signal lines 18, 20 and 22. The first power domain 10 is controlled via a first signal line 18. The second power domain 12 is controlled via a second signal line 20, and the third power domain 14 is controlled via a third signal line 22.


The power domains 10, 12 and 16 include a plurality of circuit units 24, 26 and 28. In FIG. 1 a first circuit unit 24, a second circuit unit 26 and a third circuit unit 28 are shown in each power domain 10, 12 and 14, respectively. These circuits may or may not be identical. The circuit units 24, 26 and 28 comprise a plurality of electronic elements. In particular, each circuit unit 24, 26 and 28 comprises at least one scannable storage element. The scannable storage element includes a scan input and a scan output. Via this scan input and scan output the scannable storage elements are serially connected to a scan chain. The scan chain is a serial line moving a data bit into each scannable storage element according to a predetermined pattern scheme. The scan chain may be used but it is not limited to testing purposes or initialization and has the functionality of a shift register in a test mode. There may be also circuit units without any scannable storage elements.


The scannable storage elements within one circuit unit 24, 26 and 28 are serially interconnected and form a scan chain portion 30, 32 and 34, respectively. A first scan chain portion 30 corresponds with the first circuit unit 24, and a second scan chain portion 32 corresponds with the second circuit unit 26. In the same way a third scan chain portion 34 corresponds with the third circuit unit 28. The inputs of said scan chain portions 30, 32 and 34 in the first power domain 10 are connected to the output of a scan engine 36. For each scan chain portion 30, 32 and 34 a multiplexer element 38 is provided. The multiplexer element 38 is a two-to-one multiplexer. The outputs of the scan chain portion 30, 32 and 34 are connected to a first input of the corresponding multiplexer element 38.


The outputs of the multiplexer elements 38 corresponding to the first power domain 10 are connected to the inputs of the scan chain portions 30, 32 and 34, respectively, of the second power domain 12. In the same way the outputs of the multiplexer elements 38 corresponding to the second power domain 12 are connected to the inputs of the scan chain portions 30, 32 and 34, respectively, of the second power domain 12. Additionally, the outputs of the multiplexer elements 38 corresponding to the third power domain 14 are connected to the inputs of a main multiplexer 40. In this embodiment the main multiplexer 40 is a three-to-one multiplexer. The multiplexer elements 38 are located between two neighbor power domains 10, 12 and 14. The multiplexer elements 38 are located within a standby domain, which is permanently powered.


In this way one scan chain portions 30, 32 and 34 of each power domain 10, 12 and 14 are serially interconnected to a scan chain 42, 44 and 46, respectively. The first scan chain portions 30 with their corresponding multiplexer elements 38 form a first scan chain 42. In the same way the second scan chain portions 32 with their corresponding multiplexer elements 38 form a second scan chain 44. At last third scan chain portions 34 with their corresponding multiplexer elements 38 form a third scan chain 46. The inputs of the scan chains 42, 44 and 46 are connected to the output of the scan engine 36. The outputs of the scan chains 42, 44 and 46 are connected to the inputs of the main multiplexer 40. The output of the main multiplexer 40 is connected to the input of the scan engine 36. The scan engine 36 sends scan data to the inputs of the scan chains 42, 44 and 46 and receives scan data from the output of the main multiplexer 40.


For each scan chain portion 30, 32 and 34 a bypass line 48, 50 and 52 is provided. A first bypass line 48 corresponds with the first scan chain portion 30. In the same way a second bypass line 50 corresponds with the second scan chain portion 32. At last a third bypass line 52 corresponds with the third scan chain portion 34. Via said bypass line 48, 50 and 52 the input of the scan chain portion 30, 32 and 34 is connected to a second input of the corresponding multiplexer element 38.


A select input of the multiplexer element 38 is connected to the signal line 18, 20 and 22 of the corresponding power domain 10, 12 and 14, respectively. When a power domain 10, 12 and 14 is deactivated by the power controller 16, the multiplexer element 38 will bypass the scan content of the corresponding circuit unit 24, 26 and 28 and hence guarantee a closed scan chain 42, 44 and 46. The test procedure may be performed, if one or more of the power domains 10, 12 and 14 are deactivated.



FIG. 2 illustrates a schematic diagram of a semiconductor chip according to a second embodiment of the present invention. The semiconductor chip according to the second embodiment has substantially the same components as the semiconductor chip according to the first embodiment in FIG. 1.


Instead of the multiplexer element 38 in the first embodiment the semiconductor chip according to the second embodiment includes power indicators 54. Like the multiplexer elements 38 the power indicators 54 have two inputs, one select input and one output. The power indicators 54 are interconnected in the same way as the multiplexer elements 38. The power indicators 54 are also located between two neighbor power domains 10, 12 and 14. The power indicators 54 are located within the standby domain, which is permanently activated.


When a power domain 10, 12 and 14 is deactivated by the power controller 16, the corresponding signal on signal line 18, 20 or 22, respectively, acts on the select input of the power indicator 54, so that the multiplexer element 38 will bypass the scan content of that circuit unit 24, 28 and 30. Hence, the closed scan chain 42, 44 and 46 is guaranteed.


The scan engine 40 is used to scan the scan chain portions with all storage elements or a part of the power domains 10, 12 and 14. The power controller 16 controls the states of the power domains 10, 12 and 14. The power domain 10, 12 and 14 may be either in the state “on” or in the state “off”.


The select input of the power indicator 54 is sourced by the power controller 16 with the same signal that is controlling the power of the power domains. If the power of the power domain 12 is switched off, then the bypass lines 48, 50 and 52 around the power domain 12 are selected. If the power domain is activated, then the power indicator will insert a logical zero before the scan data into the scan-chains. If the power domain is deactivated and bypassed, then the power indicator will insert a logical one into the scan-chain.


In FIG. 3 a detailed diagram of the power indicator 54 of FIG. 2 is shown. The power indicator 54 includes an internal multiplexer 56, a flip-flop element 58 and a XOR gate 60. The internal multiplexer 56 comprises a positive and a negated input. The internal multiplexer 56 is a two-to-one multiplexer. The inputs of the internal multiplexer 56 are identical with the inputs of the power indicator 54.


The output of the internal multiplexer 56 is connected to the input of the flip-flop element 58. The select input of the power indicator 54 is connected to the select input of the internal multiplexer 56 and to a first input of the XOR gate 60. The output of the internal multiplexer 56 is connected to a second input of the XOR gate 60. The output of the XOR gate 60 is identical with the output of the power indicator 54.



FIG. 4 illustrates two schematic bit-patterns 62 and 64 of the scan chain according to the second embodiment of the present invention. A first bit-pattern 62 corresponds with a first state, wherein all three power domains 10, 12 and 14 are activated. A second bit-pattern 64 corresponds with a second state, wherein the power domains 10 and 14 are activated and the power domain 12 is deactivated.


The first bit-pattern 62 includes serially scan data of the first power domain 66, scan data of the second power domain 68 and scan data of the third power domain 70. Notice that scan data are to be read from right to left as this denotes the order in which the data are scanned in the semiconductor chip. Preceding each scan data 66, 68 and 70 there is a control bit in the state of the logical “zero”. Said logical “zero” characterizes, that the following scan data 66, 68 and 70 (right to left) corresponds with an activated power domain 10, 12 and 14, respectively. The logical “zero” is inserted by the power indicator 54.


The second bit-pattern 64 includes serially scan data of the first power domain 66 and scan data of the third power domain 70. The scan data 66 and 70 are preceded during the scan by a logical “zero”, respectively. Between the logical “zero” corresponding to the first power domain 10 and the scan data 70 corresponding to the third power domain 14 there is inserted a logical “one”. Said logical “one” indicates, that the corresponding power domain 12 is deactivated and bypassed. The logical “zeros” and the logical “one” are inserted by the power indicator 54.


In FIG. 5 a detailed diagram of a further embodiment of the power indicator 54 of FIG. 2 is shown. The power indicator 54 includes also the internal multiplexer 56 and the flip-flop element 58. The internal multiplexer 56 comprises the positive and the negated input and is a two-to-one multiplexer. It is scanned along a scan path 76. A functional input 78 of the flip-flop element 58 is loaded with the power state when it is not scanned. These guarantees, that the flip-flop element 58 always contains the current power state when the scan is started.



FIG. 6 illustrates a schematic diagram of an example of a semiconductor chip according to the prior art. Said semiconductor chip is subdivided into a plurality of power domains 10, 12 and 14. The power domains 10, 12 and 14 may be separately activated and deactivated by a power controller 16 via signal lines 18, 20 and 22. In FIG. 6 all power domains 10, 12 and 14 are activated. The power domains 10, 12 and 14 include a plurality of circuit units 24, 26 and 28. In FIG. 6 three circuit units 90 are shown in each power domain 10, 12 and 14. Each circuit unit 24, 26 and 28 comprises a plurality of electronic elements and in particular at least one scannable storage element.



FIG. 7 illustrates a schematic diagram that of the semiconductor chip according to the prior art of FIG. 6 in a state, wherein the second power domain 12 is deactivated. Therefore the scan chains 42, 44 and 46 are interrupted in the second power domain 12, since each of the scan chains 42, 44 and 46 crosses the deactivated power domain 12. In this second state it is not possible to propagate a scan test across a deactivated power domain. If only one of the power domains 10, 12 and 14 is deactivated, then it is not possible to scan the storage elements.


The semiconductor chip and the method according to the present invention overcome this problem of the prior art by scanning the storage elements. The method according to the present invention may be performed under normal operation conditions of the semiconductor chip. The method is provided for running a testcase on the semiconductor chip.


The present invention can also be embedded in a computer program product which comprises all the features enabling the implementation of the methods described herein. Further, when loaded in a computer system, said computer program product is able to carry out these methods.


Although illustrative embodiments of the present invention have been described herein with reference to the accompanying drawings, it is to be understood that the present invention is not limited to those precise embodiments, and that various other changes and modifications may be affected therein by one skilled in the art without departing from the scope or spirit of the invention. All such changes and modifications are intended to be included within the scope of the invention as defined by the appended claims.


While the invention has been described with reference to a preferred embodiment or embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims
  • 1. An integrated circuit with a plurality of scannable storage elements, wherein the semiconductor chip is subdivided into a plurality power domains;at least one power domain is separately activated or deactivated;at least a part of the scannable storage elements is interconnected to one or more scan chains;at least one scan chain is serially subdivided into a plurality of scan chain segments;the scan chain portion is arranged within one of the power domains;for the scan chain segments a bypass line is provided for passing by scan data and;at least one select unit is provided for selecting between the bypass line and the corresponding scan chain segment in dependence of the activated or deactivated state of the corresponding power domain.
  • 2. The integrated circuit according to claim 1, wherein the select unit is arranged on such a power domain of the which is permanently activated.
  • 3. The semiconductor chip according to claim 1 or 2, wherein the power domain is separately activated or deactivated by a power controller.
  • 4. The semiconductor chip according to any of the preceding claims, wherein at least one scan engine is arranged on the semiconductor chip for sending the scan data to the scan chain and receiving the scan data from the scan chain.
  • 5. The semiconductor chip according to claim 4, wherein the scan engine is provided for scanning a plurality of parallel scan chains.
  • 6. The semiconductor chip according to any of the preceding claims, wherein the select unit is a multiplexer element.
  • 7. The semiconductor chip according to claim 6, wherein a select input of the multiplexer element is controlled by the power controller or the activated/deactivated state of the power domain.
  • 8. The semiconductor chip according to any of the claims 1 to 5, wherein the select unit is a power indicator provided for inserting logical bits into the scan chain.
  • 9. The semiconductor chip according to claim 8, wherein the at least one logical bit indicate, if the corresponding scan data arise from the activated or deactivated power domain.
  • 10. The semiconductor chip according to claim 8 or 9, wherein the power indicator includes at least a multiplexer element and a flip-flop element.
  • 11. The semiconductor chip according to claim 10, wherein the power indicator includes a XOR gate.
  • 12. The semiconductor chip according any of the claims 8 to 11, wherein a select input of the power indicator is controlled by the power controller or the activated/deactivated state of the power domain.
  • 13. A method for scanning storage elements of a integrated circuit instantiated across a plurality of discretely operable power domains, comprising; interconnecting at least a first segment of the storage elements to one or more scan chains;subdividing the first scan chain serially into a plurality of scan chain segments, wherein each of the plurality of scan chain segment is arranged within one of the power domains;providing a bypass line for each of the plurality scan chain segments instantiated within a contiguous power domain;selecting between a bypass line and a corresponding scan chain segment in dependence of the activated or deactivated state of a power domain; andby passing the scan data from a scan chain segment which is coextensive with a deactivated power domain.
  • 14. The method according to claim 13, wherein the plurality of power domains are activated and deactivated by a power controller.
  • 15. The method according to claim 14, wherein the step of selecting between the bypass line and the corresponding scan chain segment is determined by the power controller or the activated/deactivated state of the power domain.
  • 16. The method according to claim 15, wherein a characterizing logical bit is inserted into the scan chain.
  • 17. The method according to claim 16, wherein the characterizing logical bit indicates that the corresponding scan chain segment is in the activated or deactivated power domain.
  • 18. The method according to any of the claim 17, wherein the method is performed under normal operating conditions of the semiconductor chip.
  • 19. The method according to claim 17, wherein the method is performed for running a testcase on the semiconductor chip.
  • 20. The method according to claim 19, wherein a system implementing the method is realized in hardware, software or a combination of hardware and software.
  • 21. A computer readable medium tangibly embodying an executable program of instruction for scanning storage elements of an integrated circuit instantiated across a plurality of discrete power domains compromising;
  • 22. An integrated circuit, comprising: a plurality of discretely operable voltage domains;a plurality of scannable storage elements instantiated across the plurality of voltage domains;a scan chain interconnected with the plurality of scannable storage elements, wherein the scan chain is segmented between the plurality voltage domains, such that contiguous scan chain elements are contained within a single voltage domain;a bypass element adapted to remove that portion of a segmented scan chain traversing an inactive voltage domain from the scan chain; anda selector unit adapted to configure the scan chain to either bypass that portion of a segmented scan chain traversing a first voltage domain when inactive or include said portion of a segmented scan chain when the first voltage domain is active.
Priority Claims (1)
Number Date Country Kind
07103479.7 May 2006 DE national