SEMICONDUCTOR DEVICE AND SCAN TESTING METHOD
20230384378 · 2023-11-30
Inventors
Cpc classification
G01R31/318536
PHYSICS
International classification
Abstract
During the scan testing, the peak power that instantaneously occurs in the shift operation is reduced.
The semiconductor device of the present invention, the phase of the ATE clock signal (ATE_Clk) is shifted in several variations, by external control, as set in the scan testing scan chain has a clock operating unit for distributing the phase shifted clocks.
Claims
1. A semiconductor device comprising: a plurality of circuit blocks to form a scan chain during a scan testing; a clock operator for supplying a clock to the scan chain during the scan testing, wherein the clock operator shifts a clock signal supplied from a tester during the scan testing based on a combination with a shift control signal for shifting the phase of the clock signal and a clock sort signal for setting an output timing of the clock signal, and outputs a shifted clock signal to a port of the scan chain.
2. The semiconductor device according to claim 1, is the clock operator further comprising: a clock control unit for inputting the clock signal and the shift control signal and outputting a shifted signal obtained by shifting the clock signal by the shift control signal, and a clock selection unit for outputting the shifted signal by the clock sort signal at a set timing.
3. The semiconductor device according to claim 2, the clock control unit comprising: first to fourth multiplexers for inputting a delay clock signal obtained by delaying the clock signal with a predetermined timing, wherein each of the first to fourth multiplexers outputs either the clock signal or the delay clock signal in accordance with the shift control signal as a first to fourth shifted clock signal.
4. The semiconductor device according to claim 3, when the shift control signal is 0, each of the first to fourth multiplexers outputs the clock signal as the first to fourth shifted clock signal, when the shift control signal is 1, each of the first to fourth multiplexers outputs the delay clock signal as the first fourth shifted clock signal.
5. The semiconductor device according to claim 3, wherein each of the first to fourth multiplexers inputs the delayed clock signals with different timing delays.
6. The semiconductor device according to claim 3, the clock selection unit has fifth to eighth multiplexers for inputting the first to fourth shifted clock signal and the clock sort signal, wherein each of the fifth to eighth multiplexers outputs one of the first to fourth shifted clock signals in accordance with the clock sort signal.
7. The semiconductor device according to claim 4, wherein the scan chains formed in the plurality of circuit blocks are grouped, one of the first to fourth shifted clock signals is input for each scan chain belonging to each group.
8. A semiconductor device comprising a plurality of clock domains, wherein each of the plurality of clock domains has a plurality of circuit blocks to form a scan chain during a scan testing, a clock operator for supplying a clock to the scan chain during the scan testing, wherein the clock operator shifts a clock signal supplied from a tester during the scan testing based on a combination with a shift control signal for shifting the phase of the clock signal and a clock sort signal for setting an output timing of the clock signal, and outputs a shifted clock signal to a port of the scan chain, wherein the scan chains formed in the plurality of circuit blocks in the plurality of clock domains are grouped, and the clock signal is provided at a timing that becomes for each scan chain belonging to each group.
9. The semiconductor device comprising a plurality of power supply areas, wherein each of the plurality of power supply areas has a plurality of circuit blocks to form a scan chain during a scan testing, a clock operator for supplying a clock to the scan chain during the scan testing, wherein the clock operator shifts a clock signal supplied from a tester during the scan testing based on a combination with a shift control signal for shifting the phase of the clock signal and a clock sort signal for setting an output timing of the clock signal, and outputs a shifted clock signal to a port of the scan chain, wherein each of the plurality of circuit blocks belongs to either a first block group including a specific area or a second block not including the specific area, the clock signal is provided at different timing for each scan chain that belongs to each group.
10. The semiconductor device of according to claim 9, wherein the specific area is either an area where power supply is weakened, an area where logic circuits are dense, or a area where there are tight paths in timing.
11. A scan testing method in a semiconductor device, a plurality of circuit blocks to form a scan chain during the scan testing, a clock operation unit for supplying a clock to the scan chain during the scan testing, wherein the clock operator shifts a clock signal supplied from a tester during the scan testing based on a combination with a shift control signal for shifting the phase of the clock signal and a clock sort signal for setting an output timing of the clock signal, and outputs a shifted clock signal to a port of the scan chain, wherein the scan chains formed in the plurality of circuit blocks are grouped, and the control operator outputs the shifted clock signal different for each scan chain belonging to each group.
12. A scan testing method in a semiconductor device having a plurality of clock domains, wherein each of the plurality of clock domains, a plurality of circuit blocks to form a scan chain during the scan testing, wherein the clock operator shifts a clock signal supplied from a tester during the scan testing based on a combination with a shift control signal for shifting the phase of the clock signal and a clock sort signal for setting an output timing of the clock signal, and outputs a shifted clock signal to a port of the scan chain, wherein the scan chain formed in the plurality of circuit blocks in the plurality of clock domains are grouped, and the clock signal is provided at a timing that becomes for each scan chain belonging to each group.
13. A scan testing method in a semiconductor device having a plurality of power supply areas, wherein each of the plurality of power supply areas, a plurality of circuit blocks to form a scan chain during the scan testing, wherein the clock operator shifts a clock signal supplied from a tester during the scan testing based on a combination with a shift control signal for shifting the phase of the clock signal and a clock sort signal for setting an output timing of the clock signal, and outputs a shifted clock signal to a port of the scan chain, wherein each of the plurality of circuit blocks belongs to either a first block group including a specific area or a second block not including the specific area, the clock signal is provided at different timing for each scan chain that belongs to each group.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
DETAILED DESCRIPTION
[0029] Hereinafter, a semiconductor device according to an embodiment will be described in detail by referring to the drawings. In the specification and the drawings, the same or corresponding form elements are denoted by the same reference numerals, and a repetitive description thereof is omitted. In the drawings, for convenience of description, the configuration may be omitted or simplified. Also, at least some of the embodiments may be arbitrarily combined with each other.
First Embodiment
[0030]
[0031] In the first embodiment, as an example of a semiconductor device, microcomputer 1 will be described. Microcomputer 1 as a semiconductor device, for example, a semiconductor substrate (semiconductor chip) such as a single-crystal silicon, is formed using a known CMOS manufacturing process. Microcomputer 1 includes a plurality of scan chains S1, S2, S3, S4, and Clock Operator 11 to shift the phase of ATE clock signal 14 (ATE_Clk) supplied from a tester (not shown) and distributing the signals to the scan chains.
[0032]
[0033] Shift Clock Duty Shifter 111 is controlled by shift control signal 13 (ShifterEN), if shift control signal 13 (ShifterEN) is ON, the phase of the supplied ATE clock signal 14 (ATE_Clk) will be shifted. On the other hand, when shift control signal 13 (ShifterEN) is OFF, it outputs ATE clock signal 14 (ATE_Clk) without changing its phase.
[0034] Shift Clock Selector 112 is controlled by clock sort signal 12 (Clk_Sort[x:0]) and selects the input ATE clock signal 14 (ATE_Clk) in the defined order and outputs it to the clock port of each scan chain. Here, the value of x is determined by the number of the phase shifted clocks c (c>1) and the number of scan chains s; More specifically, x=(√c)*s.
[0035] (Operation of the Shift Clock Duty Shifter)
[0036]
[0037] In the example shown in
[0038] As the truth table of
[0039] (Operation of Shift Clock Selector)
[0040]
[0041] In the example illustrated in
[0042] The truth table of
[0043] (Explanation of Design Flow 1)
[0044]
[0045] For the pre-DFT netlist (gate level) of microcomputer 1 in
[0046] The above steps generate a post DFT netlist of microcomputer 1 (step S704), and for the generated post DFT netlist (step S705), a clock tree is implemented by clock tree synthesis. Here, as an application condition of the present invention, the sub clock trees from Clock Operator 11 to each scan chain or scan chain group need to be independent from each other. After clock tree synthesis, P&R (Place & Route) is executed for the netlist and a post-layout netlist is generated (step S706). Finally, the scan chain grouping considering the layout information which can maximize the reduction of the peak shift power is calculated, and the grouping result is applied through the external control in the scan testing.
[0047] (Explanation of Design Flow 2)
[0048]
[0049] In
[0050] For a post scan netlist implemented with scan design-based DFT circuit of microcomputer 1, the connection between clock source (Clk source) and the clock input of each scan FF is first deleted (step S802). Then, clock operator module with clock outputs (Clk_Sx (x=1, 2, . . . , n)) are generated and implemented in accordance with the number of scan chains, n (step S803). Here, clock source (Clk source), Clk_Sort and shift control signal (ShifterEN) are connected to the inputs of Clock Operator 11 (step S804). Further, as the output side of Clock Operator 11, each clock output (Clk_Sx) is connected to clock input (clk_in) of all scan FF of scan chain Sx (step S805). The above steps generate a post DFT netlist of microcomputer 1.
[0051] (Effect of the First Embodiment)
[0052] During the shift operation of the scan test, in microcomputer 1, it is possible to reduce the peak power consumption caused instantaneously by the toggle timing to shift the scan FF belonging to each scan chain.
[0053] Furthermore, On/Off of the phase shift function of the shift clock can be controlled by shift control signal (ShifterEN).
[0054] In addition, in order to realize the function of independently controlling the clocks of each scan chain, the sub clock trees fanning out from the Clock Operator to each scan chain must be independent from each other.
Second Embodiment
[0055] In the second embodiment, the semiconductor device shows a configuration capable of coping with a design having a plurality of clock domains.
[0056]
[0057] As shown in
[0058] Clock Operator 1 (92A) has shift control signal 1 (ShifterEN1) and ATE clock signal 1 (ATE_Clk1). Clock Operator 2 (92B) has shift control signal 2 (ShifterEN2) and ATE clock signal 2 (ATE_Clk2).
[0059] Furthermore, in order to control the clock of scan chain, the clock sort signal (Clk_Sort[x:0]) of the first embodiment is divided into clock sort signal 1 (Clk_Sort1[y:0]) and clock sort signal 2 (Clk_Sort2 [x:y]), being assigned to Clock Operator 1 (92A) and Clock Operator 2 (92B), respectively. In the second embodiment, but this is not a limitation for applying the present invention.
[0060] During the shift operation in scan testing, it is not always necessary to input the same clock to ATE clock signal 1 (ATE_Clk1) and ATE clock signal 2 (ATE_Clk2). By shifting the phase of ATE clock signal 1 (ATE_Clk1) and ATE clock signal 2 (ATE_Clk2) in advance, the variation of clocks generated from Clock Operator 1 (92A) and Clock Operator 2 (92B) can be increased. As a result, the structure of Clock Operators can be simplified, and it is possible to increase the degree of freedom in performing scan chain grouping.
[0061] In addition, since the values of clock sort signal 1 (Clk_Sort1) and clock sort signal 2 (Clk_Sort2) can be changed by external control, it is also possible to change them by the test pattern (wafer test, assembly test, different tester types, etc.). Thus, even after semiconductor products are manufactured, shift power consumption reduction can be realized according to the actual situation, dynamically.
[0062] Furthermore, when microcomputer 1 is a SoC, the control of shift control signal 1 (ShifterEN1) and shift control signal 2 (ShifterEN2) also allows control in block units as in the prior art.
[0063] (Effect of the Second Embodiment)
[0064] The second embodiment can accommodate a larger scale design compare to the first embodiment. In addition, it can correspond to more complicated clock designs.
Third Embodiment
[0065]
[0066] In microcomputer 10, there is an optimization area Z that is particularly sensitive to voltage drop (V-drop), scan chains S1, S2, S3 and their output cones C1, C2, C3. The optimization area Z is an LSI design-dependent region, for example, the central area of the chip where the power supply is weak, the area where the logic paths are dense, the area where there is a critical path which is hard to meet the timing constraint, or other reasons. The output cone refers to all logic paths from the output port of the FF belonging to each scan chain to the input port of any FF or the output port of the circuit. Output cones C1, C2, C3 overlap with the optimization area Z, respectively. In the overlapped areas switching activity can occur during shift operation.
[0067] During shift operation, if the Clock Operator is “On” (e.g. shift control signal (ShifterEN) is “1”), the generated two shift clocks need to be assigned to scan chain S1, S2, S3. As a result, it is necessary to group the scan chains.
[0068] After scan chain grouping, the overlap area of each scan chain group should be minimized to suppress the voltage drop (V-drop) of the optimization area Z. Such grouping is the most suitable one.
[0069] As shown in
[0070] On the other hand,
[0071] As a result, the reduction effect of peak shift power can be maximized with less shift clock variations.
[0072] In examples of
[0073] Although the invention made by the present inventor has been specifically described based on the embodiment, the present invention is not limited to the embodiment described above, and it is needless to say that various modifications can be made without departing from the gist thereof.