Other objects of the present invention will become clear from the following description of the preferred embodiments and the appended claims. Those skilled in the art will appreciate that there are many other advantages of the present invention by embodying the present invention.
Hereinafter, embodiments of a test circuit generating method in a semiconductor integrated circuit according to the present invention and a semiconductor integrated circuit obtained will be described in detail. There are specific test circuit generating methods suited for various modes of memories.
When a data request for the memory 1 is generated, the entry selected by a memory index S1 becomes the readout target. The memory 1 has a series of (thirty-two selectors in this example) selectors 2 in the output part. For the data of the readout target entry, the data of one of the four columns is selected according to a selection signal S2, and the data with the width W is outputted from the memory 1. In this example, the data width W is 32 bits. The column number C, the row number N, and the data width W are inputted in the first step ST1 as the memory information that shows the structural information of the memory. In addition, the definition of the test pattern in testing the memory, the procedure of the test and the like, are inputted as the memory information.
Further, in the second step ST2, generated is a failure judgment control circuit 5 (
In the second step ST2, first, the failure judgment bit information J1 is inputted. The failure judgment bit information J1 is the information for designating the judgment target bit taken as a target of failure judgment from all the output bits of the memory 1. Further, in the second step ST2, the failure judgment control circuit 5 is generated referring to the memory information such as the bit width inputted in the first step ST1. The failure judgment control circuit 5 is constituted on the assumption that the failure judgment of the memory 1 is carried out by using only the judgment target bit in the failure judgment bit information J1.
The failure judgment control circuit 5 has the following functions. That is, first, the comparator 4 performs inconsistency judgment between the output data Sm from the memory 1 and the expected value V1. The comparator 4 outputs the inconsistency judgment data Sc indicating the judgment result to the failure judgment control circuit 5. In the inconsistency judgment data Sc, the bit “1” indicates inconsistency and the bit “0” indicates consistency respectively.
If the circuit outputs the inconsistency judgment data Sc as it is, it is the same circuit as that of the conventional technology. It is the failure judgment circuit 5 that it has a function of excluding the inconsistency judgment data Sc on the unnecessary bit (unused bit) recognized as unnecessary to do the test from the entire bits so as to exclude the test at the unused bit.
A judgment target bit signal S3 along with the failure judgment bit information J1, and the inconsistency judgment data Sc from the comparator 4 are inputted to the failure judgment control circuit 5. The failure judgment control circuit 5 generates and outputs the inconsistency judgment data Sc which designates only the bits where “1” is set in the failure judgment bit information J1 among the inconsistency judgment data Sc, i.e. the inconsistency judgment data Sc that designates only the bits that correspond to the judgment target bits as the targets of failure judgment. The failure judgment bit information J1 designates the judgment target bit that is desired to set as the target of failure judgment. The failure judgment control circuit 5 with the function described above is generated in the second step ST2.
The judgment target bit signal S3 along with the failure judgment bit information J1 is inputted to the failure judgment control circuit 5 from the outside of the semiconductor integrated circuit 10. The failure judgment control circuit 5 performs failure judgment by excluding the failure judgment in the unused bit, based on the inconsistency data Sc from the comparator 4 and the failure judgment bit information J1 (contained in the judgment target bit signal S3) which is inputted from the outside. The failure judgment control circuit 5 then generates and outputs the result thereof as a failure judgment signal S4.
The inconsistency judgment data Sc from the comparator 4 and the judgment target bit signal S3 are inputted to the failure judgment control circuit 5A. The failure judgment control circuit 5A comprises a judgment target gate circuit 5a and a failure judgment output circuit 5b. At each bit, the judgment target gate circuit 5a selects the inconsistency data Sc, handling the failure judgment bit information J1 contained in the judgment target bit signal S3 as a through control signal. The failure judgment output circuit 5b puts together the outputs of the judgment target gate circuits 5a for the entire bits and outputs it as a failure judgment signal S4. An AND circuit (AND) is used as the judgment target circuit 5a herein, and an OR circuit (OR) is used as the failure judgment output circuit 5b. Assuming that the bit number of the inconsistency detection circuit 4a constituting the comparator 4 is 32 bits, the judgment target gate circuit 5a in the failure judgment control circuit 5A is also provided as much as 32 bits.
At the bit defined as “0” in the failure judgment bit information J1, the output of the judgment target gate 5a constituted with the OR circuit becomes “0” at all times. Thus, it can be excluded from the target of failure judgment. Meanwhile, at the bit defined as “1” in the failure judgment bit information J1, the inconsistency judgment data Sc from the comparator 4 is reflected as it is upon the output of the failure judgment gate circuit 5a. Therefore, it is possible in this case to judge the failure based on the comparison result obtained by the comparator 4. This is irrelevant from the fact that the result of comparison between the output data Sm from the memory 1 and the expected value V1 performed by the comparator 4 at each bit is “0” or “1”.
Even if the inconsistency detection circuit 4a carries out inconsistency detection in the comparator 4 and finds a bit that is indicated as “1” in the inconsistency judgment data Sc, the inconsistency judgment data Sc from the inconsistency judgment circuit 4a for that bit is not employed if the bit is excluded from the target of failure judgment based on the failure judgment information J1=“0”. Herewith, the number of misjudgments can be reduced.
Through comparing only the judgment target bits based on the failure judgment bit information J1, the defect number of the semiconductor integrated circuits due to the failures of the bits out of the failure judgment targets can be decreased, compared to the case of using the conventional technique where the failures are judged by performing comparison on the entire bits at all times. Herewith, the yield can be improved.
The structures of the comparator 4 and the failure judgment control circuit 5A are not limited to the circuit structures shown in
As described above, in the test circuit generating method according to this embodiment forms a test circuit, the failure judgment control circuit generated by using only the judgment target bit constitutes a test circuit that does not judge it as a failure with respect to the bit that is not used under a normal operation. As a result, it is possible to eliminate a fault of the semiconductor integrated circuits due to the failures at the unused bit. That is, for the semiconductor circuit that is misjudged by the conventional technology as an inferior product due to the failure at the unused bit even though it is a fine product, it is possible to handle such circuit properly as a fine product. Herewith, the yield can be improved.
The test circuit generating method for a semiconductor integrated circuit according to the second embodiment is based on the first embodiment wherein a register 6 for storing the failure judgment bit information J1 is generated in the second step ST2.
The test circuit 3 comprises the register 6. The register 6 is generated in the second step ST2 in order to store the failure judgment bit information J1 generated in the second step ST2. The register 6 is capable of storing the information supplied from the outside of the semiconductor integrated circuit 10. Other structures are the same as those of the first embodiment, so the descriptions thereof are omitted.
The test circuit 3 generated by the test circuit generating method of this embodiment comprises the register 6 for storing the failure judgment bit information J1. Thus, compared to a test circuit to which the failure judgment bit information J1 is inputted from the outside, much faster operation can be achieved within the range of frequency specification of the semiconductor integrated circuit. Further, it is possible to input the failure judgment bit information J1 to the register 6 from the outside, after designing the semiconductor integrated circuit. Therefore, it is possible to perform more flexible testing through changing the failure judgment bit information J1.
The test circuit generating method for a semiconductor integrated circuit according to a third embodiment is based on the first embodiment, wherein the failure judgment bit information J1 is inputted in the first step ST1 instead of the second step ST2.
All the judgment target circuits 5a can be omitted and the bit number of the input of the failure judgment output circuit 5b can be reduced because the failure judgment control circuit 5B is constituted so as to perform failure judgment only in the judgment target bits since the judgment target bit of the memory 1 is known in advance. The failure judgment bit information J1 is inputted in the first step ST1 so that the failure judgment control circuit 5B with such structure can be generated in the second step ST2.
In
The failure judgment control circuit 5B shown in
A fourth embodiment of the present invention corresponds to the case where a semiconductor integrated circuit is designed by using a memory that includes the unused bits on the system. The memory space can be considered as separate areas, i.e. an area for storing the data and an area for storing the addresses used by the system. The number of bits necessary for storing the addresses is normally smaller than the number of bits for storing the data. That is, there are unused bits among those used for the addresses, and testing can be omitted for the unused bits. Testing performed on the entire bits is not only a waste but also causes unnecessary deterioration in the yield due to misjudgment.
The test circuit generating method for the semiconductor integrated circuit according to the fourth embodiment uses the failure judgment bit information determined based on the address map used in the system that is achieved by the semiconductor integrated circuit, as the failure judgment bit information J1 that is inputted in the first step ST1, in the above-described third embodiment. And, the memory where the test circuit generated by the test circuit generating method of this embodiment becomes the target stores the addresses of the system.
In the test circuit generated by the test circuit generating method of this embodiment, only the necessary bits on the system are defined as the judgment target bits in case of designing a semiconductor integrated circuit by using a memory including the bits that are not used on the system. Herewith, it is possible to eliminate defect of the semiconductor integrated circuits due to the failures of the unused bit. Therefore, the yield can be improved.
Furthermore, the memory area m1 and the bit array of the failure judgment bit information J1 shown in
A fifth embodiment of the present invention has a feature that the bits always outputting the same value among the outputs of the memory are defined as fixed-value bits, the value outputted from the fixed-value bits is defined as the fixed value, and the test circuit is generated by using such values. This is a structure achieved by focusing on the fact that the fixed-value bits that output the same value at all times can be excluded from the test target. When the expected value is “0” for the fixed value “1”, and the expected value is “1” for the fixed value “0”, those bits are excluded from the test target. At the fixed-value bits, failure judgment may be carried out only when the expected value is the same as the fixed value. When the values are inconsistent, the bit may be excluded from the failure judgment target.
The fixed value information J3 indicates the value stored in the fixed-value bit. The fixed value information of that fixed-value bit is “1” when “1” is stored at all times and, the fixed value information of that fixed-value bit is “0” when “0” is stored at all times.
Looking at the bit 31 as an example, it is found that the bit 31 is the bit to be a target of failure judgment since the failure judgment bit information is “1”. Further, it is found that it is not the bit where the value “0” and the value “1” are switched depending on the condition and accordingly the bit 31 is fixed at either “0” or “1”, since the fixed-value bit information J2 is “1”. Moreover, it is found that the fixed value is “1” since the fixed value information J3 is “1”. As just described, since the value of the bit 31 in known in advance as “1”, failure judgment for that bit can be eliminated, i.e. it is unnecessary to perform failure judgment, under a malfunction state where “1” is outputted from the memory 1. Though it will be described later referring to
Further, looking at the bit 3 in
Furthermore, looking at the bit 30 as another example, it is found that the bit 30 is the bit to be a target of failure judgment since the failure judgment bit information J1 is “1”. However, since the fixed-value bit information J2 is “0”, it is found that value of the bit 30 is not fixed, and it is the bit where the value “0” and the value “1” are switched depending on the condition. The concrete value of the fixed value information J3 in this case has no meaning specially.
Further, looking at the bit 29 as another example, it is found that the bit 29 can be excluded from the target of failure judgment since the failure judgment bit information J1 is “0”. The specific values of the fixed-value bit information J2 and the fixed value information J3 in this case have no meaning specially.
By taking such circuit structure, the input to the failure judgment output circuit 5f constituted with the OR circuit becomes “1” at all times, when the judgment target bit is “1”, the fixed-value bit information J2 is “1” and the expected value V1 and the fixed value information J3 are different. Thus, the bit is judged as the one with no failure.
Referring to the case of the bit shown in
Then, in the bit where the judgment target bit is “1”, when the value of the fixed-value bit information J2 is “0”, the output of the fixed-value bit gate circuit 5d becomes “1”. Thus, the inconsistency judgment data Sc from the comparator 4 is propagated to the failure judgment output circuit 5f. In the meantime, when the fixed-value bit information J2 is “1”, the result of comparison performed between the fixed value information J3 and the expected value V1 is propagated.
In the example of the bit 31 shown in
Through generating the test circuit by using the fixed-value bit information J2 and the fixed value information J3 in this manner, it becomes possible to eliminate misjudgments of the semiconductor integrated circuits that are judged as a failure by the test circuit generated by the conventional method when the expected value and the fixed value are different at the fixed-value bit. Therefore, the yield can be improved.
Further, the fixed-value bit information J2 and the fixed value information J3 may be stored in the register 6 shown in
Furthermore, the test circuit 3 may be generated through inputting the fixed-value bit information J2 and the fixed value information J3 in the first step ST1.
Specifically, it can be described as follows. It is assumed herein that the value of the fixed-value bit information J2 is “1”, indicating that it is valid. When the fixed value is “0” and the expected value is “0”, the output of the fixed-value gate circuit 5c is “0”, and the output of the fixed-value bit gate circuit 5d becomes “1”. When the fixed value is “1” and the expected value is “0”, the output of the fixed-value gate circuit 5c is “1”, and the output of the fixed-value bit gate circuit 5d becomes “0”. When the fixed value is “0” and the expected value is “1”, the output of the fixed-value gate circuit 5c is “1”, and the output of the fixed-value bit gate circuit 5d becomes “0”. When the fixed value is “1” and the expected value is “1”, the output of the fixed-value gate circuit 5c is “0”, and the output of the fixed-value bit gate circuit 5d becomes “1”. The followings can be found by looking at those four states. That is, the output of the fixed-value bit gate circuit 5d becomes consistent with the expected value, assuming that the fixed value is “1”. In other words, the series circuit of the fixed-value gate circuit 5c and the fixed-value bit gate circuit 5d becomes equivalent to the bit line of the expected value. Thus, the fixed-value gate circuit 5c and the fixed-value bit gate circuit 5d can be omitted for the bit where the value of the fixed-value bit information J2 and the fixed value in the fixed-value information J3 are both “1”, indicating that it is valid. An input of the judgment target gate circuit 5e is connected to the bit line of the expected value.
By taking such structure, it becomes possible to optimize the failure judgment control circuit as in the case of the third embodiment of the present invention. Thus, the circuit area and the power consumption can be reduced. Besides, The circuit structure described in this embodiment is merely an example, and the structure of the circuit generated by the test circuit generating method according to the present invention is not limited to the structure described above.
A sixth embodiment of the present invention is distinctive in the respect that the fixed-value bit information J2 and the fixed value information J3 determined based on the address map of the system are inputted in the first step ST1. Further, the memory 1 tested by the test circuit that is generated by the test circuit generating method of this embodiment is a memory for storing the address of the system.
As just described, in generating the test circuit for testing the memory that stores the addresses of the system, the fixed-value bit information J2 and the fixed value information J3 are inputted according to the address map of the system. Herewith, it becomes unnecessary to test both values of “0” and “1” for the bits that always have the constant value on the address map of the system. As a result, it becomes possible to eliminate failure judgment of the semiconductor integrated circuits that are judged as a fault by the test circuit generated by the conventional method when the expected value and the fixed value are different at the fixed-value bit. Therefore, the yield can be improved.
Furthermore, the memory area, the judgment target bit, the fixed-value bit information and the fixed value information shown in
In a seventh embodiment of the present invention, the failure judgment bit information J1 is inputted in the first step ST1, and a comparator is generated in the second step ST2 based on the failure judgment bit information J1. This is to simplify the structure of the comparator.
As just described, by generating only the necessary number of inconsistency detection circuits 4a based on the judgment target bits, the unnecessary inconsistency detection circuits 4a can be reduced. Thus, effects on reducing the circuit area and the power consumption can be expected. The circuit structure of the comparator 4E shown in
An eighth embodiment of the present invention is distinctive in the respect that the comparator is generated in the second step ST2 based on the fixed-value bit information J2 and the fixed value information J3 which are inputted in the first step ST1.
The present invention has been described in detail referring to the most preferred embodiments. However, various combinations and modifications of the components are possible without departing from the spirit and the broad scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2006-132377 | May 2006 | JP | national |