Semiconductor device
The integration of a dual-switch element series circuit in semiconductor devices allows for swift testing of power cutoff circuits by stabilizing potential, addressing prolonged test times and defect detection.
Patent Information
- Application Number
- JP2023045043
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Conventional semiconductor devices face challenges in testing power cutoff circuits due to the need for prolonged test times caused by potential changes in connection lines during switch transistor transitions, which affect leakage current and circuit stability.
Incorporating a series circuit with two switch elements, where a second switch element is controlled to stabilize the potential of a floating power supply line, allowing immediate testing of power cutoff circuits and detecting defects through current flow analysis.
This configuration enables rapid testing of power cutoff circuits by stabilizing potential, facilitating immediate detection of defects in switch elements, thereby reducing test time and ensuring circuit functionality.
Smart Images

Figure 2024134706000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a semiconductor device that performs power gating. [Background technology]
[0002] 2. Description of the Related Art In semiconductor devices, a power gating technique is known as a technique for reducing power consumption, in which the power supply to an internal circuit is cut off in order to suppress leakage current flowing through the internal circuit when the internal circuit does not need to operate.
[0003] Patent Document 1 discloses that a switch transistor is provided on the power supply side or ground potential side of each of a plurality of logic circuits in a semiconductor device, and the switch transistor is turned on in an active state in which the plurality of logic circuits are operating and turned off in a sleep state in which operation is not required, and the power supply to the plurality of logic circuits is cut off by turning off the switch transistor, thereby suppressing leakage current.
[0004] Patent Document 2 discloses a method for easily identifying defective parts when conducting tests such as IDDQ (quiescent power supply current) in an integrated circuit including a logic circuit divided into multiple blocks within a semiconductor device, by providing multiple power supply path cut-off circuits that cut off the power supply path to each logic circuit and controlling the cut-off execution of the cut-off circuits. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2011-155351 A [Patent Document 2] Japanese Patent Application Publication No. 8-271584 Summary of the Invention [Problem to be solved by the invention]
[0006] As described above, conventionally, in semiconductor devices, a configuration has been used in which the power supply to some of the internal circuits is cut off in order to suppress leakage current or to easily identify defective parts when performing tests such as IDDQ.
[0007] In a semiconductor device having such a power cutoff region, it is necessary to test whether the power cutoff circuit including the switch transistor operates normally. For example, when a cutoff test is performed in the configuration disclosed in Patent Document 1, the connection line between the switch transistor and the logic circuit is in a floating state from both the power supply voltage and the ground potential when the switch transistor changes from on to off, so the potential of the connection line gradually changes due to the leakage current flowing through the logic circuit when the switch transistor is off. Therefore, in order to test the power cutoff circuit of the semiconductor device, the test cannot be started until the potential of the connection line has changed sufficiently and stabilized, so there is a problem that the test time must be set long in consideration of this time.
[0008] SUMMARY OF THE PRESENT EMBODIMENT An object of the present invention is to provide a semiconductor device capable of shortening the test time required for testing a power supply cutoff circuit. [Means for solving the problem]
[0009] The semiconductor device of the present invention comprises an internal circuit having two power supply terminals, and a first switch element for power supply interruption which is connected to one of the two power supply terminals to form a series circuit with the internal circuit and is turned on and off in response to a first control signal, and a power supply voltage is applied between both ends of the series circuit, and the semiconductor device is characterized in having a second switch element which is connected to the two power supply terminals so as to be connected in parallel with the internal circuit and is turned on and off in response to a second control signal. Effect of the Invention
[0010] According to the semiconductor device of the present invention, when the second switch element is turned on during the period when the first switch element for power cutoff is turned off, the potential of the power terminal of the internal circuit in the floating state drops rapidly and stabilizes, so that the test of the power cutoff circuit can be performed immediately, thereby shortening the test time. If the first switch element for power cutoff fails and is always on, when the second switch element is turned on during the period when the first switch element is off, a current larger than the leakage current of the internal circuit flows from the power supply, so that it is easy to detect the defect. Also, if the capacity of the first switch element for power cutoff is insufficient, when the first switch element changes from off to on while the second switch element is on, the current supplied to the internal circuit by the first switch element is limited, so that a sufficient voltage is not applied to the power terminal of the internal circuit, causing the internal circuit to malfunction, and thus it is possible to detect the defect. [Brief description of the drawings]
[0011] [Figure 1] 1 is a circuit diagram showing an internal configuration of a semiconductor device according to a first embodiment of the present invention. [Diagram 2] 4 is a timing chart showing the operation of each part during testing of the power cutoff circuit of the semiconductor device in FIG. [Diagram 3] FIG. 11 is a circuit diagram showing an internal configuration of a semiconductor device according to a second embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. EXAMPLES
[0013] Fig. 1 shows a schematic internal configuration of a semiconductor device according to the present invention. In Fig. 1, the semiconductor device is designated by the reference numeral 10 and includes an internal circuit 1 and switch transistors 2 and 3. The semiconductor device 10 also includes a first power supply line PL1, a second power supply line PL2, and a ground GND as power supply lines. A power supply voltage VDD is applied between the first power supply line PL1 and the ground GND from an external DC power supply (not shown).
[0014] The internal circuit 1 is, for example, a logic circuit, and when a power supply voltage VDD is applied between its own power supply terminals 1a, 1b, it operates according to an input signal supplied to an input terminal IN, and outputs the operation result as an output signal from an output terminal OUT. The transistor 2, which is a first switch element, is a P-channel MOS transistor that constitutes a power supply cutoff circuit. The source of the transistor 2 is connected to a first power supply line PL1, and the drain is connected to a second power supply line PL2. A sleep signal SLEEPA, which is a first control signal, is supplied to the gate of the transistor 2. When the sleep signal SLEEPA is not supplied, the gate potential of the transistor 2 corresponds to logic 0, so that the transistor 2 is turned on, and when the sleep signal SLEEPA of logic 1 is supplied to the gate, the transistor 2 is turned off.
[0015] The two power supply terminals 1a, 1b of the internal circuit 1 are connected to a second power supply line PL2 and ground GND, respectively. The first power supply line PL1 is a line connected to the positive terminal of the above-mentioned external DC power supply of the semiconductor device 10. The ground GND is connected to the negative terminal of the external DC power supply. The second power supply line PL2 is a line that supplies a power supply voltage between the power supply terminals 1a, 1b of the internal circuit 1 when the transistor 2 is on. With this connection, the transistor 2 and the internal circuit 1 form a series circuit between the first power supply line PL1 and ground GND.
[0016] The transistor 3, which is the second switch element, is provided between the second power supply line PL2 and ground GND. The transistor 3 is an N-channel MOS transistor. The drain of the transistor 3 is connected to the second power supply line PL2, and the source of the transistor 3 is connected to ground GND. That is, the transistor 3 is connected in parallel with the internal circuit 1 between the second power supply line PL2 and ground GND.
[0017] A test control signal TESTA, which is a second control signal, is supplied to the gate of transistor 3. When the test control signal TESTA is not supplied to the gate, transistor 3 has a gate potential corresponding to logic 0 and is therefore turned off, and when the test control signal TESTA of logic 1 is supplied to the gate, transistor 3 is turned on.
[0018] The on-resistance of transistor 3 is sufficiently larger than the on-resistance of transistor 2. If the on-resistance of transistor 3 is expressed as a ratio, for example, if the on-resistance of transistor 2 is 1, the on-resistance of transistor 3 is 10.
[0019] Next, the operation of the semiconductor device 10 having the above-mentioned configuration will be described with reference to the timing chart of Fig. 2. Note that, in order to test the power supply cutoff circuit of the semiconductor device 10, an ammeter (not shown) is inserted between the external DC power supply and the first power supply line PL1, and the ammeter measures the current flowing through the semiconductor device 10, i.e., the chip current.
[0020] As shown in Fig. 2(A), the potential of the first power supply line PL1 becomes equal to the voltage VDD due to the application of the power supply voltage VDD from the external DC power supply described above. As shown in Fig. 2(B), in an active state in which the sleep signal SLEEPA is not generated for the semiconductor device 10, the gate of transistor 2 is at a potential indicating logic 0, so that transistor 2 is in an on state. If transistor 3 is in an off state when transistor 2 is in an on state, the potential of the second power supply line PL2 becomes approximately equal to the voltage VDD, as shown in Fig. 2(D). Since the voltage VDD is applied to the internal circuit 1 as a power supply voltage, it is possible for the internal circuit 1 to operate in response to the input signal IN.
[0021] In this manner, when transistor 2 is on and transistor 3 is off, if a sleep signal SLEEPA of logic 1 is externally supplied to the gate at time t1, transistor 2 changes from on to off in response to the sleep signal SLEEPA, as shown in Fig. 2(B). As a result, the second power supply line PL2 is in a floating state, and the potential of the second power supply line PL2 gradually decreases from time t1, as shown in Fig. 2(D). This potential decrease is due to leakage current flowing in the internal circuit 1.
[0022] When the transistor 2 is turned off at time t1, the chip current stops flowing from the external DC power supply to the semiconductor device 10, which can be confirmed from the measurement value of the ammeter mentioned above.
[0023] At time t2 during the period in which the sleep signal SLEEPA is being supplied, when a test control signal TESTA of logic 1 is externally supplied to the gate of transistor 3 to start testing the power cutoff circuit, as shown in Fig. 2(C), transistor 3 changes from off to on. With transistor 3 in the on state, a current flows between the drain and source of transistor 3, so the potential of the second power line PL2 drops sharply at time t2, as shown in Fig. 2(D).
[0024] When the generation of the sleep signal SLEEPA is subsequently stopped at time t3, the gate potential of transistor 2 reaches a level corresponding to logic 0, and transistor 2 changes from off to on. As a result, a current flows between the source and drain of transistor 2. At this time t3, transistor 3 continues to be on, so the current that flowed between the source and drain of transistor 2 further flows between the drain and source of transistor 3. The potential of the second power supply line PL2 rises sharply to a level close to voltage VDD at time t3, as shown in Figure 2(D). This level is determined approximately by the ratio of the on-resistances of transistors 2 and 3.
[0025] When the generation of the test control signal TESTA is stopped at time t4 after both transistors 2 and 3 have continued to be in the on state, the gate potential of transistor 3 becomes a level corresponding to logic 0, so that transistor 3 changes from on to off. The potential of the second power supply line PL2 returns to approximately voltage VDD, as shown in Figure 2(D). Voltage VDD is applied to the internal circuit 1 as a power supply voltage, and the internal circuit 1 becomes operable in response to the input signal IN.
[0026] In this manner, in the first embodiment, when the transistor 3 serving as the second switch element for power cut-off is turned on while the transistor 2 serving as the first switch element is turned off, the potential of one power supply terminal 1a of the internal circuit 1 which is in a floating state, i.e., the potential of the second power supply line PL2, drops rapidly to approximately equal to the ground potential, so that a test of the power supply cut-off circuit can be performed immediately, thereby enabling the test time to be shortened.
[0027] In the first embodiment, it is assumed that the transistor 2 is defective and does not turn off. In this case, when the transistor 2 is defective and does not turn off, even if the transistor 3 turns on at time t2 when the test control signal TESTA is supplied to the gate of the transistor 3, the potential of the second power supply line PL2 does not drop suddenly, and the voltage VDD is maintained at approximately the same level after time t2, as shown by the dashed line BL1 in FIG. 2D.
[0028] In this way, if transistor 2 remains on rather than off even when sleep signal SLEEPA is supplied, the potential of second power supply line PL2 does not decrease, and so the chip current continues to flow from the external DC power supply to semiconductor device 10 without decreasing. The flow of the chip current can be confirmed from the measurement value of the ammeter, so it is possible to determine whether or not there is a failure in the power supply cutoff circuit including transistor 2.
[0029] Next, assume that transistor 2 is defective and cannot pass much current when it is on due to insufficient capacity. When the generation of the sleep signal SLEEPA stops at time t3, transistor 2 changes from off to on. At this time, transistor 3 continues to be on, so the current that flowed between the source and drain of transistor 2 also flows between the drain and source of transistor 3, regardless of the capacity of transistor 2.
[0030] Here, if the transistor 2 is a defective product with insufficient performance, the amount of current flowing through the transistors 2 and 3 is limited by the transistor 2. Therefore, the potential of the second power line PL2 may only rise to the level shown by the dashed line BL2 in FIG. 2(D) at time t3. That is, if the on-resistance of the transistor 2 is very small compared to the on-resistance of the transistor 3 as specified, the potential of the second power line PL2 will rise sharply to a level near the voltage VDD at time t3 as shown by the solid line in FIG. 2(D). On the other hand, if the performance is insufficient, the on-resistance of the transistor 2 is larger than the standard, so the ratio of the on-resistances of the transistors 2 and 3 changes. Therefore, the potential of the second power line PL2 will not rise to a level near the voltage VDD. Therefore, the internal circuit 1 will not operate normally, and it can be determined that the transistor 2 is defective.
[0031] In this way, if transistor 2 is found to be defective due to insufficient capacity during testing of the power supply interruption circuit, the chip current from the external DC power supply to semiconductor device 10 is limited compared to when transistor 2 is a good product, and this chip current limitation can be confirmed from the ammeter measurement value, so that it is also possible to determine whether or not there is a malfunction in the power supply interruption circuit including transistor 2. EXAMPLES
[0032] 3 shows a schematic internal configuration of a semiconductor device according to a second embodiment of the present invention. In FIG. 2, this semiconductor device is designated by the reference numeral 20 and includes an internal circuit 11 and switch transistors 12 and 13. The internal circuit 11 is the same circuit as the internal circuit 1 of the first embodiment and is connected to a first power supply line PL1 and a second power supply line PL2. The transistor 12 is an N-channel MOS transistor constituting a power supply cutoff circuit. The drain of the transistor 12 is connected to the second power supply line PL2, and the source is connected to the ground GND. A sleep signal SLEEPB, which is a first control signal, is supplied to the gate of the transistor 12. When the sleep signal SLEEPB is not supplied, the transistor 12 has a gate potential corresponding to logic 1, so that the transistor 12 is turned on, and when the sleep signal SLEEPB of logic 0 is supplied to the gate, the transistor 12 is turned off.
[0033] The transistor 13 is provided between the first power supply line PL1 and the second power supply line PL2. The transistor 13 is a P-channel MOS transistor. The source of the transistor 13 is connected to the first power supply line PL1, and the drain is connected to the second power supply line PL2. That is, the transistor 13 is connected in parallel with the internal circuit 11 between the first power supply line PL1 and the second power supply line PL2.
[0034] The internal circuit 11 is connected to the second power supply line PL2 and ground GND. The first power supply line L1 is a line connected to the positive terminal of an external DC power supply (not shown) of the semiconductor device 10. The ground GND is connected to the negative terminal of the external DC power supply. When the transistor 12 is on, the second power supply line PL2 becomes approximately at the level of the ground GND to supply a power supply voltage to the internal circuit 11.
[0035] A test control signal TESTB, which is a second control signal, is supplied to the gate of the transistor 13. The transistor 13 is turned off when the test control signal TESTB is not supplied to the gate, and is turned on when the test control signal TESTB of logic 0 is supplied to the gate.
[0036] The on-resistance of transistor 13 is sufficiently larger than the on-resistance of transistor 12. If the on-resistance of transistor 13 is expressed as a ratio, for example, if the on-resistance of transistor 12 is 1, the on-resistance of transistor 13 is 10.
[0037] Thus, in the second embodiment, a semiconductor device 20 is shown that uses an N-channel MOS transistor 12 and a P-channel MOS transistor 13 instead of the P-channel MOS transistor 2 and the N-channel MOS transistor 3 of the first embodiment. A sleep signal SLEEPB, which is an inverted signal of the sleep signal SLEEPA of the first embodiment, is supplied to the gate of the transistor 12. Also, a test control signal TESTB, which is an inverted signal of the test control signal TESTA of the first embodiment, is supplied to the gate of the transistor 13.
[0038] In the second embodiment, when a sleep signal SLEEPB of logic 0 is supplied to the gate from the outside, the transistor 12 changes from on to off in response to the sleep signal SLEEPB. This causes the second power supply line PL2 to be in a floating state, so that the potential of the second power supply line PL2 gradually rises. This potential rise is due to a leakage current flowing in the internal circuit 11.
[0039] When a test control signal TESTB of logic 0 is externally supplied to the gate of transistor 13 to start a test of the power cutoff circuit while the sleep signal SLEEPB is being supplied, transistor 13 changes from off to on. Since the on state of transistor 13 causes a current to flow between the source and drain of transistor 13, the potential of the second power line PL2 rises sharply.
[0040] In this manner, also in the second embodiment, when the transistor 13 serving as the second switch element for power cut-off is turned on during the period in which the transistor 12 serving as the first switch element for power cut-off is turned off, the potential of one power supply terminal 11b of the internal circuit 11 which is in the floating state, i.e., the potential of the second power supply line PL2, rises sharply and becomes substantially equal to the power supply voltage VDD. This makes it possible to immediately test the power supply cut-off circuit, thereby enabling the test time to be shortened.
[0041] When the generation of the sleep signal SLEEPB is subsequently stopped, the gate potential of transistor 12 reaches a level corresponding to logic 1, and transistor 12 changes from off to on. A current flows between the drain and source of transistor 12. At this point, transistor 13 continues to be on, so the current that flowed between the source and drain of transistor 13 further flows between the drain and source of transistor 12. The potential of the second power supply line PL2 suddenly drops to a level close to the level of ground GND. This level is determined approximately by the ratio of the on-resistances of transistors 12 and 13.
[0042] When the generation of the test control signal TESTB is stopped after both transistors 12 and 13 have continued to be in the on state, the gate potential of the transistor 13 becomes a level corresponding to logic 0, so that the transistor 13 changes from on to off. The potential of the second power supply line PL2 returns to approximately the ground GND level. Therefore, the voltage VDD is applied to the internal circuit 11 as a power supply voltage, and the internal circuit 11 becomes operable in response to the input signal IN.
[0043] Also in the second embodiment, if the transistor 12 is defective and therefore does not turn off, or if the transistor 12 is defective due to insufficient capacity, it is possible to determine whether the transistor 12 is defective during the on period of the transistor 13, as in the first embodiment.
[0044] If transistor 12 is defective and does not turn off, and transistor 12 remains on even when sleep signal SLEEPB is supplied, the potential of second power supply line PL2 does not rise even when transistor 13 turns on, and the chip current continues to flow without decreasing from the external DC power supply to semiconductor device 20. The flow of the chip current can be confirmed from the measurement value of the ammeter, so it is possible to determine whether or not there is a failure in the power supply cutoff circuit including transistor 12.
[0045] If transistor 12 is defective due to insufficient capacity, even if transistor 12 changes from off to on while transistor 13 is on, the chip current from the external DC power supply to semiconductor device 20 will be limited compared to when transistor 12 is a good product, causing internal circuit 11 to malfunction, and the limitation of the chip current can be confirmed from the measurement value of the ammeter, so it can be determined that there is a failure in the power supply interruption circuit including transistor 12.
[0046] In the above-described embodiments, a logic circuit is exemplified as the internal circuit of the semiconductor device. However, it goes without saying that the internal circuit in the semiconductor device of the present invention may be an analog circuit such as an amplifier. [Explanation of symbols]
[0047] 1, 11 Internal circuit 1a, 1b, 11a, 11b power terminal 2, 3, 12, 13 Switch transistor 10, 20 Semiconductor device PL1 First power line PL2 Second power line GND Ground
Claims
1. an internal circuit having two power supply terminals; a first switch element for cutting off power supply, the first switch element being connected to one of the two power supply terminals to form a series circuit together with the internal circuit and being turned on and off in response to a first control signal; A power supply voltage is applied across the series circuit, a second switch element connected to the two power supply terminals so as to be connected in parallel with the internal circuit, and turned on and off in response to a second control signal;
2. the first switch element is turned on when the first control signal is not supplied, and is turned off when the first control signal is supplied; the second switch element is turned off when the second control signal is not supplied, and is turned on when the second control signal is supplied; 2. The semiconductor device according to claim 1, wherein the second control signal is supplied to the second switch element during an off-period of the first switch element.
3. 3. The semiconductor device according to claim 2, wherein the supply of the second control signal to the second switch element is stopped after the first switch element changes from off to on due to non-supply of the first control signal.
4. 2. The semiconductor device according to claim 1, wherein an on-resistance of the second switch element is larger than an on-resistance of the first switch element.
5. 2. The semiconductor device according to claim 1, wherein the internal circuit comprises a logic circuit.
Citation Information
Patent Citations
Test circuit for integrated circuit
JP1996271584A
Semiconductor device
JP2011155351A
