This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2018-176117 filed on Sep. 20, 2018; the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to a design method for a scan test circuit, a design program for a scan test circuit and a semiconductor integrated circuit.
In an automatic test pattern generator (ATPG) taking timing constraint into consideration, multicycle path routes have been conventionally excluded from targets of ATPG depending on tools. In recent years, tools allowing the multicycle path routes to be treated as targets of ATPG have been known, but many troubles have occurred, and also a problem that a failure detection rate is not increased has existed.
A design method for a scan circuit according to an embodiment reads timing constraint information, a net list and layout information to extract a multicycle path route from routes existing in a semiconductor integrated circuit, divides the multicycle path route extracted by a number of cycles, and adds a test circuit at each of locations divided by the number of cycles.
Embodiments will be described hereunder in detail with reference to the drawings.
First, a configuration of an information processing device according to a first embodiment will be described with reference to
A design program 106 fir designing a scan test circuit is stored in the storage device 102. In addition, timing constraint information 107, a net list 108, and layout information 109 are stored in the storage device 102. A user can design a scan test circuit described later by operating the keyboard 104 and the mouse 105 to read the timing constraint information 107, the net list 108 and the layout information 109 and also executing the design program 106 on the CPU 101a.
Here, a processing procedure of the design program 106 will be described with reference to
First, a termination condition is set by the user (S1). The user can change the termination condition to a desired condition by using, for example, the keyboard 104 and the mouse 105 as the input devices. A default value of the termination condition is “Have all multicycle path routes been extracted?” if the user does not set (change) the termination condition, the termination condition is “Have all multicycle path routes been extracted?”
Next, the user reads the timing constraint information 107, the net list 108, and the layout information 109 from the storage device 102 and executes the design program 106, so that the CPU 101a extracts multicycle path routes from the routes of the semiconductor integrated circuit (S2).
Specifically, as shown in
Next, the CPU 101a divides the multicycle path route into single-cycle paths (S3). Specifically, the CPU 101a divides the multicycle path route by the number of cycles. In the present embodiment, since the route including the flip-flop 10, the combinational circuit 11, and the flip-flop 12 is based on 2 cycles, the multicycle path route is divided into two parts. Therefore, as shown in
Next, the CPU 101a inserts a test circuit at a divided location (S4). Specifically, as shown in
Note that when the route including the flip-flop 10, the combinational circuit 11, and the flip-flop 12 is based on 3 cycles, the CPU 101a divides the multicycle path route into three paths, and inserts the test circuit 13 at each divided location.
An output of the combinational circuit 11A is input to an input terminal of the flip-flop 14, and also input to one input terminal of the multiplexer 15. An output of the flip-flop 14 is input to the other input terminal of the multiplexer 15. An output of the multiplexer 15 is input to an input terminal of the combinational circuit 11B.
Based on a selection signal SEL1, the multiplexer 15 outputs one of the output of the combinational circuit 11A and the output of the flip-flop 14 to the combinational circuit 11B. More specifically, when the selection signal SEL1 is equal to “0”, the multiplexer 15 outputs the output of the combinational circuit 11A to the combinational circuit 11B, and when the selection signal SEL1 is equal to “1”, the multiplexer 15 outputs the output of the flip-flop 14 to the combinational circuit 11B.
When “1” is input as the selection signal SEL1 to the multiplexer 15, a transition test as to whether data transits Within a predetermined delay time period can be performed on the combinational circuit 11A between the flip-flop 10 and the flip-flop 14. When “1” is input as the selection signal SEL1 to the multiplexer 15, the transition test can be likewise performed on the combinational circuit 11B between the flip-flop 14 and the flip-flop 12. That is, when “1” is input as the selection signal SEL1 to the multiplexer 15, it is possible to perform failure detection of a wiring 50 between the flip-flop 10 and the flip-flop 14 and a wiring 51 between the flip-flop 14 and the flip-flop 12. When the semiconductor integrated circuit 1 is used as a system, “0” may be input as the selection signal SEL1 to the multiplexer 15.
Finally, the CPU 101a makes a termination determination. Specifically, the CPU 101a determines whether the termination condition set in S1 has been satisfied (S5). If the CPU 101a determines that the termination condition set in S1 has not been satisfied (S5: NO), the CPU 101a returns to the processing of S2 to repeat the same processing. On the other hand, when determining that the termination condition set in S1 has been satisfied (55: YES), the CPU 101a terminates the processing.
A semiconductor integrated circuit 1 shown in
The control circuit 2 controls the entire semiconductor integrated circuit 1. For example, the control circuit 2 supplies clocks CLK to the flip-flops 10, 12, and 12N, and supplies the selection signal SEL1 to the multiplexer 15.
Through the above processing, all multicycle paths of the semiconductor integrated circuit 1 are divided into single-cycle paths, and the test circuit 13 is inserted at each divided location. As a result, the transition test as to whether data transits within a predetermined delay time period can be performed on the combinational circuit 11A between the flip-flop 10 and the flip-flop 14 and the combinational circuit 1113 between the flip-flop 14 and the flip-flop 12.
As a result, for each of the divided paths, for example, in the example of
Therefore, according to the design method for the scan test circuit of the present embodiment, it is possible to increase the failure detection rate of the multicycle path route.
Next, a modification of the first embodiment will be described. In the first embodiment, the wiring 52 is excluded from targets of the transition test. However, in the modification, a scan test circuit which enables all wirings of a multicycle path to be subjected to the transition test will be described.
A test circuit 13A according to the modification of the first embodiment is configured by adding a multiplexer 16 to the flip-flop 14 and the multiplexer 15 of the test circuit 13 of
More specifically, when the selection signal SEL2 is equal to “0”, the multiplexer 16 outputs the output of the multiplexer 15 to the flip-flop 14, and when the selection signal SEL2 is equal to “1”, the multiplexer 16 outputs the output of the combinational circuit 11A to the flip-flop 14.
When “1” is input as the selection signals SE1 and SEL2 to the multiplexers 15 and 16, it is possible to perform the transition test on the wiring 50 between the flip-flop 10 and the flip-flop 14 and the wiring 51 between the flip-flop 14 and the flip-flop 12 as in the case of the first embodiment.
On the other hand, when “0” is input as the selection signals SEL1 and SEL2 to the multiplexers 15 and 16, the route including the flip-flop 10, the multiplexer 15, the multiplexer 16 and the flip-flop 14 becomes effective, and the transition test on a wiring 53 is enabled. Note that in order to realize the transition test on the wiring 53, ATPG may be executed by designating the route including the flip-flop 10, the multiplexer 15, the multiplexer 16 and the flip-flop 14.
When the semiconductor integrated circuit 1 is used as a system, “0” may be input as the selection signal SEL1 to the multiplexer 15. At this time, the selection signal SEL2 to be input to the multiplexer 16 may be either 0 or 1.
As described above, the test circuit 13A of the modification enables the transition test on the wiring 53 by adding the multiplexer 16 to the test circuit 13 of
As a result, the scan test circuit of the modification enables the wiring 52 excluded from targets of the transition test in
Next, a second embodiment will be described.
In the second embodiment, a flip-flop of a system is diverted as a flip-flop for making a muhicycle path route into single-cycle paths.
A semiconductor integrated circuit 1 of the present embodiment includes system 31 and a flip-flop 32 to which an output of the system 31 is input. The scan test circuit uses the flip-flop 32.
In the second embodiment, two multiplexers 21 and 22 are added as a test circuit 13B. The multiplexer 21 is added on a front stage of the flip-flop 32, and the multiplexer 22 is added on a rear stage of the flip-flop 32.
Based on a selection signal SEL3, the multiplexer 21 outputs one of an. output of the combinational circuit 11A and an output of the system 31 to the flip-flop 32. Based on a selection signal SEL4, the multiplexer 22 outputs one of the output of the combinational circuit 11A and an output of the flip-flop 32 to the combinational circuit 11B.
More specifically, when the selection signal SEL3 is equal to “0”, the multiplexer 21 outputs the output of the system 31 to the flip-flop 32, and when the selection signal SEL3 is equal to “1”, the multiplexer 21 outputs the output of the combinational circuit 11A to the flip-flop 32.
When the selection signal SEL4 is equal to “0”, the multiplexer 22 outputs the output of the combinational circuit 11A to the combinational circuit 11B, and when the selection signal SEL4 is equal to “1”, the multiplexer 22 outputs the output of the flip-flop 32 to the: combinational circuit 11B.
When “1” is input as the selection signals SEL3 and SEL4 to the multiplexers 21 and 22, it is possible to perform the transition test on a wiring 54 between the flip-flop 10 and the flip-flop 32 and a wiring between the flip-flop 32 and the flip-flop 12, which are divided into single-cycle paths. When the semiconductor integrated circuit 1 is used as a system, “0” may be input as the selection signals SEL3 and SEL4 to the multiplexers 21 and 22.
As a result, for each of the divided paths, for example, in the example of
In the first embodiment, the flip-flop 14 and the multiplexer 15 are added as the test circuit 13. However, the second embodiment is configured such that the two multiplexers 21 and 22 are added as the test circuit 13B. Furthermore, the flip-flop 32 of the system is diverted as the flip-flop for dividing the multicycle path into single-cycle paths. As a result, the circuit scale of the semiconductor integrated circuit of the second embodiment can be reduced as compared with the semiconductor integrated circuit of the first embodiment.
Next, a modification of the second embodiment will be described.
In the second embodiment, the wiring 55 is excluded from targets of the transition test. However, in the modification, a scan test circuit that allows all the wirings of the multicycle path to be subjected to the transition test will be described.
A test circuit 13C according to the modification of the second embodiment is configured by adding a multiplexer 23 to the multiplexers 21 and 22 of the test circuit 13B in
More specifically, when the selection signal SEL5 is equal to “0”, the multiplexer 23 outputs the output of the multiplexer 22 to the multiplexer 21, and when the selection signal SEL5 is equal to “1”, the multiplexer 23 outputs the output of the combinational circuit 11A to the multiplexer 21.
When “1” is input as the selection signals SEL3, SEL4 and SEL5 to the muitiplexers 21, 22 and 23, as in the case of the second embodiment, it is possible to perform the transition test on the wiring 54 between the flip-flop 10 and the flip-flop 32 and the transition test on the wiring 55 between the flip-flop 32 and the flip-flop 12.
On the other hand, when “0” is input as the selection signal SEL3 to the multiplexer 21 and “1” is input as the selection signals SEL4 and SEL5, to the multiplexers 22 and 23, the route including the flip-flop 10, the multiplexer 22, the multiplexer 23, the multiplexer 21, and the flip-flop 32 becomes effective, which makes it possible to perform the transition test on a wiring 57. Note that in order to realize the transition test on the wiring 57, ATPG may be executed by designating the route including the flip-flop 10, the multiplexer 22, the multiplexer 23, the multiplexer 21 and the flip-flop 32.
When the semiconductor integrated circuit 1 is used as a system, “0” is input as the selection signals SEL3 and SEL4 to the multiplexers 21 and 22. At this time, the selection signal SEL5 input to the multiplexer 23 may be either “0” or “1”.
In this way, the test circuit 13C of the modification enables the transition test on the wiring 57 by adding the multiplexer 23 to the test circuit 13B of
As a result, the scan test circuit of the modification enables the wiring 56 excluded from targets of the transition test in
Note that the respective steps in the flowchart in the present specification may be changed in execution order, multiple steps may be simultaneously executed, or the steps may be executed in a different order for each execution unless conflicting with the properties of the steps.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing front the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2018-176117 | Sep 2018 | JP | national |