These and other objects as well as advantages of the invention will become clear by the following description of preferred embodiments of the invention. A number of benefits not recited in this specification will come to the attention of those skilled in the art upon the implementation of the present invention.
Hereinafter, preferred embodiments of a semiconductor integrated circuit and an inspection method thereof according to the present invention are described in detail referring to the drawings. In the preferred embodiments described below, an example with respect to one of output terminals and input terminals provided in the semiconductor integrated circuit is explained, however, it can be applied to two and more terminals. In the drawings, like references denote the same components.
The semiconductor integrated circuit A comprises the internal circuit 7 as an actual operation circuit and the register read/write circuit 8 for executing read and write operations to a register of the internal circuit 7. Signals from the group of input terminals 4, the clock Ck and the reset signal RST are inputted to the internal circuit 7. Meanwhile, a signal is outputted from the internal circuit 7 to the group of output terminals 6 and the output terminal 5 to be inspected. The signal is outputted to the output terminal 5 via the output buffer 9.
The clock CK and the reset signal RST are inputted to the register read/write circuit 8. The register read/write circuit 8 reads and writes a register value of the internal circuit 7 based on information of the serial signal SS. I/O buffers of the group of input terminals 4, the group of output terminals 6, the clock CK and the reset signal RST are not shown.
The external failure detecting circuit 11 comprises a detecting circuit 12, a flip-flop 13 and a register 14. The detecting circuit 12 compares a reference signal S1 outputted from the internal circuit 7 so as to be applied to an input side of the output buffer 9, and a reference signal S2 obtained when the signal S1 has passed through the output buffer 9 and the input buffer 10. When it is known from a result of the comparison that these signals are not coincident with each other, the detecting circuit 12 sets the non-coincidence detection signal S3 to “1”, and outputs it. The input buffer 10 improves a drive performance. The flip-flop 13 eliminates the irregular pulse during a very short time period in the non-coincidence detection signal S3 outputted from the detecting circuit 12. The register 14 is set to the “1” level when an output signal S4 from the flip-flop 13 is “1”, and retains “1” until the reset signal RST is inputted. The flip-flop 13 is also initialized to “0” by the reset signal RST. The register read/write circuit a reads a value S5 retained by the register 14 in the external failure detecting circuit 11 in accordance with an instruction of the serial signal SS and judges if there is any abnormality at the output terminal 5.
Next, an operation of the semiconductor integrated circuit A according to the present preferred embodiment thus constituted is described. First, the operation in the normal state is described referring to a waveform chart shown in
In an initial resetting operation, the flip-flop 13 and the register 14 are reset to “0” by the rising edge of the reset signal RST. In the actual operation, the reference signal S1 serves as a reference of the signal outputted from the internal circuit 7 and applied to the input side of the output buffer 9. A waveform of the reference signal S1 and a waveform of the reference signal S2 at the output terminal 5 are compared to each other in the detecting circuit 12. The reference signal S2 is an inspecting signal obtained when the reference signal S1 has passed through the output buffer 9 and the input buffer 10.
When the reference signal S1 rises in the normal operation, the reference signal S2 thereafter rises after a slight delay. When the reference signal S1 falls in the normal operation, the reference signal S2 thereafter falls after a slight delay. A result of the comparison by the detecting circuit 12 is shown in a waveform of the non-coincidence detection signal S3. Because there is a slight time difference between the signals S1 and S2 arriving at the detecting circuit 12, the irregular pulse is generated in the non-coincidence detection signal S3. However, the irregular pulse has a time width smaller than a cycle of the clock CK, and the non-coincidence detection signal S3 retains “0” in other than the irregular pulse. Therefore, the output state of the flip-flop 13 is not inverted, and the irregular pulse elimination signal S4 outputted by the flip-flop 13 maintains “0” at the time of the reset. In other words, the irregular pulse is eliminated in the flip-flop 13.
Because the irregular pulse elimination signal “4 outputted by the flip-flop 13 is at the “0” level, the register 14 is not set, and the value S5 thereof maintains “0” at the time of the reset. Therefore, the value S5 of the register 14 is “0” at the register read point P1, which is read by the register read/write circuit 8 in accordance with the instruction of the serial signal SS.
Next, the operation in the abnormal state (short circuit or the like) is described referring to a waveform chart shown in
Because the reference signal S2 remains “0” due to the short-circuit with respect to the GND despite the rising edge of the reference signal S1, the non-coincidence detection signal S3 by the detecting circuit 12 rises to “1”. When the reference signal S1 falls, the non-coincidence signal S3 falls to “0”. At the time, a period when the non-coincidence detection signal S3 is “1” corresponds to a period when the reference signal S1 is “1”. The period has a time width that is substantially larger compared to the cycle of the clock CK. Accordingly, the irregular pulse elimination signal S4 outputted from the flip-flop 13 also rises when the clock CK rises with the delay of 1T, while keeping the non-coincidence detection signal S3 as “1”. Since “1” of the non-coincidence detection signal S3 is not the irregular pulse, “1” is transmitted from the input side to the output side of the flip-flop 13, as a result, the irregular pulse elimination signal S4 by the flip-flop 13 rises. The register 14 is thereby set, and the value S5 thereof shifts from “0” to “1”. The shift to “1” in the output (S5) of the register 14 thus generated indicates the short circuit with respect to the GND at the output terminal 5. In
When the non-coincidence detection signal S3 falls in response to the rise of the next clock CK, the irregular pulse elimination signal S4 by the flip-flop 13 also falls, however, the value S5 of the register 14 is retained at “1” because the state of the register 14 is not changed unless the reset signal RST is inputted. The value S5 of the register 14 is retained at “1” at the register read point P1, which is read by the register read/write circuit 8. The register read/write circuit 8 which reads and writes the register value of the internal circuit 7 based on the information of the serial signal SS receives the input of “1” from the register 14 at the register read point P1, and thereby detects the circuit abnormality in the semiconductor integrated circuit A.
As described above, through the use of the fact that the value of the register 14 at the register read point P1 is different depending on the presence or absence of the failure (short circuit or the like), it is judged whether or not there is any failure. More specifically, the judgment is OK when the value of the register 14 is read as “0” by the register read/write circuit 8 at the register read point P1 when the serial signal SS is inputted, while the judgment is NG when the read value is “1”. The judgment is made in a similar manner in the case of the short circuit with respect to the power supply.
The method of reading the register 14 can be realized in a similar manner in a circuit comprising a microcomputer (CPU) I/F in place of the register read/write circuit 8 of the serial IF. When a similar circuit configuration is adopted, a plurality of output terminals can be checked in a similar manner.
According to the present preferred embodiment based on the foregoing constitution and inspection method, the failures such as the short circuit between the output terminal and the power supply/GND, and the short circuit between the adjacent terminals can be easily detected in a short period of time without the intervention of other semiconductor integrated circuits provided before and after the relevant semiconductor integrated circuit on the packaging substrate.
Next, an operation of the semiconductor integrated circuit A according to the present preferred embodiment thus constituted is described. First, the operation in the normal state is described referring to a waveform chart shown in
At the testing data switching point P4 when a certain period of time has passed, the register read/write circuit 8 writes the value “1” in the register 21 for setting the testing data. As a result, the selecting device main body 23 selects and outputs the value S7 of the register 21 for setting the testing data. At the time, the value S7 is “1”, and the selecting device main body 23 selects the value S7 (“1”) as the reference signal S1 and transmits the selected value S7 to the output buffer 9. The reference signal S2 outputted by the output buffer 9, to which the reference signal S1 [=value S7 (“1”)] is inputted, is outputted to the output terminal 5 and also transmitted to the detecting circuit 12. The detecting circuit 12 compares the reference signal S2 [=value S7 (“1”)] to the reference signal S1 [=value S7 (“1”)] to each other.
Thus, “0” and “1” are sequentially transmitted to the input side of the output buffer 9 as the value S7 of the register 21 for setting the testing data. Any subsequent step is similar to that of the preferred embodiment 1. Because the short circuit with respect to the GND is not generated at the output terminal 5, the value S5 of the register 14 in the external failure detecting circuit 11 is retained at the value “0” under a reset state.
Next, the operation in the abnormal state (short circuit or the like) is described referring to a waveform chart shown in
In a manner similar to the description of the normal operation, the register read/write circuit 8 sets the value S6 (“1”) in the register 22 for setting the inspection mode. As a result, the selecting device main body 23 selects and outputs the value S7 of the register 21 for setting the testing data. At the time, the value S7 is “0” immediately after the inspection mode switching point P3, and “1” immediately after the testing data switching point P4.
When the value S7 is “0”, the value S5 of the register 14 in the external failure detecting circuit 11 remains the initial value, which is “0”, even if the output terminal 5 is short-circuited with respect to the GND. Meanwhile, when the value S7 is “1”, the value S5 of the register 14 is inverted to “1” if the output terminal 5 is short-circuited with respect to the GND. Thus, the value S5 of the register 14 at the register read point P1 is different each other depending on the present or absence of the short circuit as described referring to
In the case of the present preferred embodiment 1, assuming that there is a plurality of actual operation modes to be applied to a plurality of output terminals, the state, that the output terminals to be checked may not be operating at the same time, is generated. In such a case, it takes a large amount of time because the inspection has to be implemented as often as necessary while the modes are selected at the same time. On the contrary, in the present preferred embodiment, the reference data of the plurality of output terminals can be simultaneously set without depending on the modes, the judgment can be thereby made at one try.
Additionally, there is a case that the adjacent terminals output signals of the same logic, it is not possible to detect the short circuit when it is generated between the terminals in the constitution of the preferred embodiment 1. Correspondingly, according to the present preferred embodiment, the data of the register 21 for setting the testing data at the adjacent terminals are set to be reverse each other (“1”←→“0”), so that the failures at the adjacent terminals can be judged and detected even if the adjacent terminals output the signals of the same logic.
Next, an operation of the semiconductor integrated circuit A according to the present preferred embodiment thus constituted is described. When the value S6 of the register 22 for setting the inspection mode is set to “1” at the time of the inspection, the tristate buffer 33 is conducted. The value S7 of the register 21 for setting the testing data is directly applied to one of the input terminals of the detecting circuit 12. The value S7 is transmitted to a connection point between the input terminal 31 and the input buffer 32 via the tristate buffer in the conducted state, and then, applied to the other input terminal of the detecting circuit 12 via the input buffer 32.
If short circuit to the GND is not generated and it is normal at the input terminal 31, the value S5 of the register 14 remains “0” since the signals supplied to the detecting circuit 12 are coincident with each other. In the case where the short circuit to the GND is generated at the input terminal 31, the following state is generated. In short, the value S5 of the register 14 remains “0” when the value S7 of the register 21 for setting the testing data is “0”, while a value S8 passed through the input buffer 32 is “0” when the value s7 is “1”. Accordingly, the signals supplied to the detecting circuit 12 are not coincident with each other, and the value S5 of the register 14 is inverted to “1”. In addition, it is assumed that an output terminal of the semiconductor integrated circuit in the previous stage on the packaging substrate is controlled to be in an impedance state. According to the present preferred embodiment, the failure can be detected at the input terminal as well in a manner similar to the preferred embodiment 2.
Next, an operation of the semiconductor integrated circuit A according to the present preferred embodiment thus constituted is described. An output signal S9 of the input buffer 10 and a signal obtained when the output signal S9 is delayed by 1T and inverted in the flip-flop 41 are inputted to the AND circuit 42. When the pulse appears at the output terminal 5 in the normal operation where the short circuit of the output terminal 5 with respect to the GND and the power supply is not generated, the rising edge of the pulse is detected in the AND circuit 42. As a result, the pulse detection signal S10 outputted by the AND circuit 42 is “1”, and the register 43 is set to “1”. In other words, “1” is written in the register 43 in the absence of the failure (short circuit or the like). Meanwhile, in the state where the short circuit of the output terminal 5 with respect to the GND and the power supply is generated on the packaging substrate, the pulse detection signal S10 outputted by the AND circuit 42 is “0”, and the register 43 is set to “0”. Thus, the failure can be judged because the set value of the register 43 is different between the cases with and without the short circuit. However, in the case where the value of the register 43 is read by the register read/write circuit 8, adversely in the preferred embodiments 1 and 2, the judgment is OK when the output of the register 43 is “1”, while the judgment is NG when the output is “0”. However, the case where output operations of “H”“L” are carried out at the adjacent output terminals is made exception.
Though preferred embodiments of this invention have been described in detail, it will be understood that various modifications may be made therein, and it is intended to cover in the appended claims all such modifications as fall within the true spirit and scope of this invention.
Number | Date | Country | Kind |
---|---|---|---|
2006-137645 | May 2006 | JP | national |