Background of the Invention
1. Field of the Invention
The present invention relates to a method and an apparatus for testing connections between terminals of semiconductor ICs (integrated circuits) and, more particularly, to a method and apparatus for testing connections between terminals of a plurality of semiconductor ICs mounted on a printed circuit board.
2. Description of the Related Art
Recent large scale integration (LSI) circuits have many terminals as well as connections that are formed between the terminals. As the number of terminal connections of LSI circuits increases, it becomes more difficult to test whether or not the LSI circuits are actually connected to one another through the terminals.
In television digital signal processing LSI circuits such as high-vision MUSE decoders, images will not be greatly affected if the lower one or two bits among, for example, 10-bit digital image data are incorrectly connected between terminals of the LSI circuits. In this case, a visual inspection of the displayed image is ineffective in checking for incorrect connections.
One method of testing connections between terminals of LSI circuits employs a board tester that supplies external test signals to a printed circuit board on which the LSI circuits to be tested are mounted. The test signals drive the LSI circuits, which provide resultant outputs. The resultant outputs are compared with reference values by a pattern comparator of the board tester, to thereby test the terminal connections of the LSI circuits.
Another test method arranges a test circuit inside an LSI circuit to be tested. The test circuit steadily provides a signal of a logic level, either HIGH or LOW, during a test period. The method determines whether or not connections of terminals of the LSI circuit are correct, depending on whether r not the LSI circuit correctly receives the signal.
According to the method of employing the board tester, a printed circuit board to be tested must have, in addition to original circuits, various test-related circuits such as a circuit for supplying test signals to the LSI circuits and a circuit for supplying output signals of the LSI circuits to the board tester that is external to the printed circuit board. These test-related circuits may deteriorate connection conditions, such as load capacitance between the terminals of LSI circuits, thus causing problems in high-speed digital signal processing circuits in particular.
The method of arranging a test circuit in an LSI circuit and steadily supplying a signal of a HIGH or a LOW level from the test circuit to the LSI circuit during a test period is incapable of testing high and low levels for a normal operation as well as dynamically changing AC characteristics.
Summary of the Invention
An object of the present invention is to provide a method of testing connections between terminals of semiconductor ICs, capable of simply testing the AC characteristics of the ICs.
According to the present invention, there is provided a method of testing connections between terminals of a first semiconductor integrated circuit and terminals of a second semiconductor integrated circuit, wherein the first and second semiconductor integrated circuits are mounted on a printed circuit board; the first semiconductor integrated circuit comprises a test data generation unit for generating test data for the terminal connection test, a selection unit for selecting outputs of the test data generation unit during the terminal connection test, and a test data output unit for providing the test data from the selection unit to an output connection; the second semiconductor integrated circuit comprises a test data fetch-hold unit for fetching and holding the test data provided by the first semiconductor integrated circuit; and the terminal connections of the first and second semiconductor integrated circuits are tested by verifying whether or not an output of the test data fetch-hold unit represents a predetermined value.
Further, according to the present invention, there is also provided an apparatus for testing connections between terminals of a first semiconductor integrated circuit and terminals of a second semiconductor integrated circuit, wherein the apparatus comprises the first and second semiconductor integrated circuits mounted on a printed circuit board; the first semiconductor integrated circuit including a test data generation unit for generating test data for the terminal connection test, a selection unit for selecting outputs of the test data generation unit during the terminal connection test, and a test data output unit for providing the test data from the selection unit to an output connection; the second semiconductor integrated circuit including a test data fetch-hold unit for fetching and holding the test data provided by the first semiconductor integrated circuit; and the terminal connections of the first and second semiconductor integrated circuits being tested by verifying whether or not an output of the test data fetch-hold unit represents a predetermined value.
The first semiconductor integrated circuit may further comprises a load signal output unit for providing a load signal when carrying out the terminal connection test, and the test data fetch-hold unit of the second semiconductor integrated circuit may be a load signal receiving register that fetches the test data in response to the load signal. The method or apparatus may further comprises arrangement for optionally assigning a terminal of the first semiconductor integrated circuit as a load signal providing terminal, and a terminal of the second semiconductor integrated circuit as a load signal receiving terminal, to make connections between the load signal terminals testable.
The load signal may be determined to be a second clock of a clock signal, and the test data to be fetched by the load signal receiving register may be inverted between a first clock and the second clock of the clock signal, so that a set-up time of AC characterisitics may be tested. Similarly, the load signal may be determined to be a second clock of a clock signal, and the test data to be fetched by the load signal receiving register may be inverted between the second clock and a third clock of the clock signal, so that a set-up time of AC characteristics may be tested.
The first and second semiconductor integrated circuits may include load signal generation unit each for generating a load signal in response to a test mode signal, and the test data fetch-hold unit of the second semiconductor integrated circuit may be a load signal receiving register that fetches the test data in response to the load signal. The load signal generation unit of each of the first and second semiconductor integrated circuits may include a rise detector for detecting a rise of the test mode signal and a counter for providing the load signal a predetermined time after the rise detector detects the rise of the test mode signal.
Brief Description of the Drawings
The present invention will be more clearly understood from the description of the preferred embodiments as set forth below with reference to the accompanying drawings, wherein:
FIG. 1 shows testing of connections between terminals of semiconductor ICs (LSI circuits) according to a first embodiment of the present invention;
FIG. 2 is a timing chart explaining the testing of connections between the terminals of the semiconductor ICs of FIG. 1;
FIG. 3 is an enlarged view of a part of the timing chart of FIG. 2;
FIG. 4 shows testing of connections between terminals of semiconductor ICs according to a second embodiment of the present invention;
FIG. 5 shows testing of connections between terminals of semiconductor ICs according to a third embodiment of the present invention;
FIG. 6 is a block diagram showing an example of a load signal receiving register employed by the semiconductor IC according to the present invention;
FIG. 7 is a timing chart explaining the operations of the register of FIG. 6; and
FIG. 8 explains a method of testing connections between terminals of semiconductor ICs mounted on a printed circuit board, according to the present invention.
Description of the Preferred Embodiments
Methods of testing connections between terminals of semiconductor ICs according to preferred embodiments of the present invention will be explained with reference to the drawings.
FIG. 1 shows first and second semiconductor LSI circuits 1 and 2 according to a first embodiment of the present invention and a method of testing connections between terminals of the LSI circuits. The first and second LSI circuits 1 and 2 are mounted on a printed circuit board 3. The AC characteristics, etc., of connections between terminals 105 to 10n of the first LSI circuit 1 and terminals 205 to 20n of the second LSI circuit 2 are dynamically tested.
Numeral 11 is a generator for generating a load signal LD, 12 is a toggle data generator, 13 is an EOR gate, 14 is a test data supplying unit, 15 is a switch, and 16 is a register.
To test connections between the LSI circuits 1 and 2, a test mode signal is supplied to a test mode terminal 102 so that the switch 15 changes data supplied to the register 16 from normal data to test data. The test data may be composed of toggle data provided by the toggle data generator 12 and the load signal LD provided by the load signal generator 11. The toggle data is repeatedly inverted between 1 and 0 each clock cycle. The test data is transferred to a register 21 of the second LSI circuit through the switch 15, register 16, the terminals 105 to 10n of the first LSI circuit 1, pattern wiring LL on the printed circuit board 3, and the terminals 205 to 20n of the second LSI circuit 2.
The register 21 receives the load signal LD over pattern wiring LL connected through the terminals 104 and 204. When the load signal LD changes to, for example, HIGH, the register 21 fetches the test data, i.e., the toggle data, through the terminals 105 to 10n and 205 to 20n. Connections between the terminals 105 to 10n of the first LSI circuit 1 and the terminals 205 to 20n of the second LSI circuit 2 are tested by reading the data out of the register 21 and by verifying whether or not the data represents a predetermined value.
To ensure the test, the data to be held in the register 21 may be inverted and again read for verification. Namely, when a signal TEST1 supplied to a test terminal 101 changes, the EOR gate 13 provides an EOR of the signal TEST1 and the toggle data, thereby inverting the toggle data. The inverted toggle data is supplied to the register 21. The test data need not be toggle data. For example, it may involve an instantaneous different bit of 0 or 1 such as "11011," or "00100."
FIG. 2 is a timing chart explaining an example of testing of connections between the terminals of the semiconductor ICs of FIG. 1. In FIG. 2, a hexadecimal number 5 corresponds to data "0101," a hexadecimal number "A" corresponds to data "1010," and a mark "X" represents unfixed (e.g., random) data. The four bits of the data "5" are the inverse of the four bits of the data "A," and the logic levels of the successive, adjacent bits of each of the data "5" and "A" are different from each other.
When the test mode signal supplied to the test mode terminal 102 of the first LSI circuit 1 rises from level LOW to level HIGH, the switch 15 supplies the test data to the register 16. Accordingly, the test data that alternates between "A" and "5" is supplied to the register 21 through the terminals 105 to 10n of the first LSI circuit 1, the pattern wiring LL on the printed circuit board 3, and the terminals 205 to 20n of the second LSI circuit 2.
The load signal LD is supplied to the register 21 through the terminal 104 of the first LSI circuit 1, the pattern wiring LL of the printed circuit board 3, and the terminal 204 of the second LSI circuit 2. When the load signal LD rises, the register 21 fetches the supplied data. The data "A" fetched by the register 21 is read and verified.
When the signal TEST1 rises from level LOW to level HIGH, the test data supplied to the switch 15 through the EOR gate 13 is inverted from A-5-A-5-A to 5-A-5-A-5. The inverted test data are fetched by the register 21 when the load signal LD rises. Namely the data "5" whose four bits are an inversion of the four bits of the previous data "A" is fetched by the register 21. The data "5" is then read out of the register 21 and verified.
In this way, connections between the terminals 105 to 10n and the terminals 205 to 20n are tested with both Levels HIGH and LOW. The hexadecimal numbers "5" and "A" are used as test data because the adjacent bits of each of these numbers have different levels. Accordingly, it will be possible to find a connection failure such as a short circuit between adjacent terminals.
FIG. 3 is an enlarged view showing a part of the timing chart of FIG. 2. In FIG. 3, the test data changes from data 1 to data 2 and again back to data 1 around i.e., at the beginning and the end of a period in which the load signal LD changes to and from, respectively, level HIGH. This is because the circuit as a whole operates in synchronism with a clock signal, and the test data will not be provided at intervals exceeding clock cycles. Since the data 2 provided during the load period in which the load signal LD is at level HIGH is different from the data 1 that appears before and after the load period, the data is provided at the maximum intervals. This corresponds to verifying the dynamic operation (AC characteristics) of the circuit at the maximum possible speed. This means to test a set-up time and a hold time (both being the AC characteristics) that define temporal relationships between the clock signal and the data signal at the terminals 105 to 10n (205 to 20n).
FIG. 4 shows an arrangement for implementing a method of testing connections between terminals of semiconductor ICs according to a second embodiment of the present invention.
The second embodiment arranges a switch 17, for a first LSI circuit 1, and a switch 22, for a second LSI circuit 2, so as to assign optional terminals for a load signal. This enables the load signal terminals 104 and 204 of the embodiment of FIG. 1 to be tested.
At first, terminals 104 and 204 of FIG. 4 are used as load signal terminals, and a connection test is carried out. Thereafter, the switches 17 and 22 are used to assign, for example, terminals 105 and 205 as the load signal terminals, and a connection test is carried out. As a result, the terminals 104 and 204 that have served as the load signal terminals in the beginning can also be tested.
FIG. 5 shows an arrangement for implementing a method of testing connections of terminals of semiconductor ICs according to a third embodiment of the present invention. The third embodiment provides a first LSI circuit 1 with-a rise detector 18 and a counter 19, and a second LSI circuit 2 with a rise detector 23 and a counter 24.
The rise detectors 18 and 23 detect a rise of a test mode signal. The counters 19 and 24 each provide a load signal LD a predetermined time after detecting the rise of the test mode signal. In the first LSI circuit 1, the load signal LD controls the toggle data generation 12, to provide predetermined test data in a predetermined period. In the second LSI circuit 2, the load signal LD, provided by the counter 24, determines the timing of a load signal receiving register 21 to fetch the test data. In this way, with no external load signal LD, the register 21 can fetch predetermined test data according to predetermined timing prepared from the test mode signal.
FIG. 6 shows an example of the load signal receiving register 21 employed by the semiconductor IC according to the present invention. FIG. 7 is a timing chart explaining the operations of the register 21 of FIG. 6.
In FIG. 6, the register 21 provided for the second LSI circuit 2 has a multiplexer 211 and a register 212. In response to the load signal LD, the multiplexer 211 selects an output of the register 212, connected to an input terminal A of the multiplexer 211, or test data provided by the first LSI circuit 1 to an input terminal B of the multiplexer 211, and supplies the selected one to the register 212.
With reference to the waveforms of FIG. 7, the multiplexer 211 selects the output of the register 212, supplied to the input terminal A thereof, when the load signal LD falls to level LOW, and supplies the selected one to the register 212. Namely, the register 212 receives the previous data as it is, to thereby maintain the previous data. On the other hand, when the load signal LD rises to level HIGH, the multiplexer 211 selects the test data provided by the first LSI circuit 1 to the input terminal B, and supplies the selected one to the register 212. Accordingly, the register 212 is updated with the test data supplied to the input terminal B of the multiplexer 211. Namely, the data in the register 212 is updated (data "2" to data "5" ) whenever the load signal LD rises. In the other case, the register 212 holds the previous data.
FIG. 8 shows an example of a printed circuit board on which a plurality of semiconductor ICs are mounted. Connections between terminals of these ICs are tested according to the method of the present invention. In the figure, numeral 3 is the printed circuit board, 41 to 44 are the semiconductor ICs (LSI circuits) whose terminal connections are tested, 6 is a controlling microcomputer (microprocessor), and 7 is a personal computer.
In FIG. 8, the LSI circuits 41 to 44 are connected to an LSI control bus BS through which the controlling microcomputer 6 controls the LSI circuits 41 to 44 and collects status data therefrom. The LSI control bus BS is made of several data lines. Parallel data are converted into serial data and passed through the LSI control bus BS. If the parallel data is transferred as it is, a large number of data lines is required. This results in an increase in the number of pins of the LSI circuits 41 to 44. Converting the parallel data into serial data remarkably reduces the number of data lines required.
The controlling microcomputer 6 is connected to the external personal computer 7. An operator provides instructions, using a keyboard of the personal computer 7, to the controlling microcomputer 6, which then distributes the instructions to the LSI circuits 41 to 44. Similarly, the operator collects information from the LSI circuits 41 to 44 with use of the personal computer 7.
According to this example, an instruction to start testing connections between terminals of the LSI circuits on the printed circuit board 3 is provided from the personal computer 7 to the controlling microcomputer 6. The microcomputer 6 provides the instruction to the LSI circuits 41 to 44 through the LSI control bus BS. In response to the instruction, the LSI circuits 41 to 44 start a test mode to test the connections between the terminals of the LSI circuits.
An instruction to send test results is transferred to the LSI circuits through the personal computer 7, microcomputer 6, and LSI control bus BS. In response to this instruction, each of the LSI circuits provides a test result held in the register 21 to the personal computer 7 through the LSI control bus BS and microcomputer 6. Consequently, the test results from the LSI circuits 41 to 44 are displayed on a monitor of the personal computer 7.
The LSI circuits 41 to 44 have different addresses, so that instructions are individually sent to the LSI circuits through the LSI control bus BS. Each of the LSI circuits 41 to 44 responds only to an instruction addressed thereto. Accordingly, test results of the LSI circuits are respectively collectable.
As explained above, a method of testing connections between terminals of semiconductor ICs according to the present invention employs a first semiconductor IC having a test data generator for generating test data for the terminal connection test, a selector for selecting an output of the test data generator when carrying out the terminal connection test, and a test data output unit for providing the test data to an output connection. The method also employs a second semiconductor IC having a test data fetch-hold unit for fetching the test data from the first semiconductor IC and holding the same. The method verifies whether or not an output of the test data fetch-hold unit represents a predetermined value, to simplify testing of the terminal connections as well as AC characteristics.
Many different embodiments of the present invention may be constructed without departing from the spirit and scope of the present invention, and it should be understood that the present invention is not limited to the specific embodiments described in this specification, except as defined in the appended claims.