ROM testing circuit

Abstract: Disclosed is A ROM testing circuit for testing ROMs embedded in respective chips arranged on a wafer, which ROM testing circuit comprises units which are embedded in the respective chips, wherein each of the units comprises: input means for receiving a signal outputted from the ROM embedded in one adjacent chip or from each of the ROMs embedded in two or more respective adjacent chips; output means for outputting a signal outputted from the ROM formed in the chip to which the unit belongs to the one adjacent chip or to the two or more adjacent chips; and means for comparing the signal outputted from the ROM in the chip to which the unit belongs with the signal or signals inputted via the input means. With this arrangement, all adjacent chips can be tested with respect to their ROMs simultaneously.

Description: BACKGROUND OF THE INVENTION Field of the Invention: The present invention relates to a ROM testing circuit for testing ROMs embedded in microcomputer chips and particularly, for testing such ROMs in the state of being formed on wafers. Description of the Prior Art: Fig.3 shows a conventional ROM testing circuit. In Fig. 3, microcomputer chips (hereinafter referred to as "chips") 900, 910 and 920 have PADs 902 to 907, 912 to 917, and 922 to 927 formed thereon, respectively. These PADs can be used as terminals for external connection. When these chips are tested in the state of being formed on the wafers, electrically conductive probes are applied to selected PADs to examine the function of the chips. Specifically, in chip 900, the output side of PAD 902 is connected to ROM 901, and the output side of ROM 901 is connected to PAD 903. Pad 904 is allotted to a relatively high-voltage source; Pad 905 is allotted to a relatively low-voltage source; Pad 906 is allotted to a reset signal; and Pad 907 is allotted to a clock signal. This also applies to chips 910 and 920. The manner in which ROM 901 of chip 900 is tested is explained as follows: PAD 904 is connected to a predetermined high-voltage source (hereinafter referred to as "VDD"); PAD 905 is connected to a predetermined low-voltage source (hereinafter referred to as "GND"); and a reset signal is applied to PAD 906. Then, a signal is applied to PAD 902 to render the test-mode circuit embedded in ROM 901 be in a predetermined state. In response to application of a clock signal to PAD 907, the contents of ROM 901 are outputted to be compared with prescribed or expected values. Thus, a decision can be made as to whether or not ROM 901 can work normally. Likewise, chips 920 and 930 can be tested. As disclosed in JPA-5-218157, the self-contained test-mode circuit of ROM 901 and the associated PAD 902 in Fig.3 can be separately disposed in different chips to reduce the size of chip 900 accordingly. JPA-6-150698 discloses a technique for facilitating the testing of similar memories embedded in an LSI chip. According to the technique, those memory circuits are made to work simultaneously so that their output signals may be compared with each other to make a decision as to whether or not they can work normally. As for the conventional ROM testing circuit of Fig.3, it has the following disadvantages. First, expected values which are used in making a decision as to whether or not the ROM works normally must be stored in the memory of an LSI tester. In order to meet an ever increasing ROM capacity, the LSI tester need to be equipped with an vast capacity of memory. Secondly, all the chips must be tested with respect to the function of the self-contained ROM, thus requiring much time involved for the required test. Thirdly, the contents of ROM 901 appear on PAD 903, whereby the security can not be maintained while strict security must be maintained because of the user's program being written in the ROM. As for JPA-5-218157, a separate test logic section for each chip must be formed on a selected area in the wafer and the area to be cut away must be included in the wafer, thus requiring a significant extra area exclusively allotted to the cutting-and-separating work of such a test logic section from the chip. Therefore, the number of chips per wafer becomes reduced, although the area of each microcomputer chip can be significantly reduced. The first and second disadvantages explained above with reference to Fig.3 cannot be solved in JPA-5-218157 publication. As for JPA-6-150698, the first and second disadvantages are solved. It, however, relates to an LSI chips having a plurality of the memories of the same word and bit formed therein. These memories can be tested by applying the same input signals thereto at the same time, and by comparing output data with each other. Therefore, this solution is not general, or rather, is practicable only for testing such LSI chips that have the same memory embedded therein. The memories disclosed in JPA-6-150698 are RAMs which are writable and readable in microcomputers. This is essentially different from the present invention in which the contents of the self-contained ROMs of adjacent chips are compared with each other to make a required test on such ROMs. In the JPA-6-150698, ROMs which store user's programs are not supposed to be used, and therefore, it cannot solve the third disadvantage. Further, there is known from US-A-5,055,774 a ROM testing circuit reflecting the preamble of claim 1. The ROM testing circuit for testing ROMs arranged on a wafer disclosed in US-A-5,055,774 comprises units which are embedded in respective chips, wherein each of the units comprises an input means for receiving a signal outputted from the ROM embedded in one adjacent chip or from each of the ROMs embedded in two or more respective adjacent chips; an output means for outputting a signal outputted from said ROM embedded in the chip to which said unit belongs to the one adjacent chip or to the two or more adjacent chips, wherein conductor lines transporting signals which are used commonly in the adjacent chips are connected with each other between the adjacent chips. The ROM testing circuit obtains a certain result of check sum, parity check or cyclic redundancy code check for each unit before comparing it with that for another unit. The conductor lines connecting adjacent units have to be removed after having conducted the ROM testing. The conductor lines usually comprise aluminium or copper which is weaker than silicon of the wafer, and therefore, the conductor lines deform when the chips are cut out with a blade rotating at high speed, resulting in connections between conductor lines. If these connections between conductor lines are not removed, the connections become a short circuit when power is applied. SUMMARY OF THE INVENTION An object of the present invention is to provide a ROM testing circuit which can test ROMs in a short time, requires no memory to hold the expected values, keeps security of data in ROMs, and prevents forming short circuits while separating adjacent chips from each other after testing them. This object is achieved by a ROM testing circuit comprising the features of claim 1. According to the present invention, there is provided a ROM testing circuit for testing ROMs embedded in respective chips arranged on a wafer, said ROM testing circuit comprising units which are embedded in said respective chips, wherein each of said units comprises: input means for receiving a signal outputted from said ROM embedded in one adjacent chip or from each of said ROMs embedded in two or more respective adjacent chips; output means for outputting a signal outputted from said ROM embedded in said chip to which said unit belongs to said one adjacent chip or to said two or more adjacent chips; and means for comparing said signal outputted from said ROM in said chip to which said unit belongs with said signal or signals inputted via said input means, wherein conductor lines transporting signals which are used in common in said adjacent chips are connected with each other between said adjacent chips; each chip further comprises switching devices, each of which is equipped with a control terminal and a pad-and-conductor for applying a test-mode signal to said control terminal of each switching device from the exterior, said switching devices being in high-impedance mode when said test-mode signal is not applied to said control terminal; and the conductor lines transporting signals which are used in common in adjacent chips can be connected with each other between said adjacent chips via said switching devices. The chips may be microcomputer chips. The signals used in common in adjacent chips may be any of a high-voltage source, a low-voltage source, a reset signal, or a clock signal. The pad of said pad-and-conductor for inputting a test-mode signal may be grounded via a resistor. Each chip may further comprise another conductor means to supply said ROM with said test-mode signal. The ROM testing circuit according to the present invention is useful in testing the self-contained ROMs embedded in the microcomputer chips in the state of being formed on a wafer. It comprises means for making electric connections to at least one adjacent microcomputer chip and a comparison circuit for making a comparison between the signal outputted from the respective ROM and at least one signal outputted from the ROMs in adjacent chip. With this arrangement the aformentioned disadvantages, that is, the increasing of the memory capacity of an associated LSI tester used for ROM testing, the increasing of time involved for testing, the possible leakage of users' programs from ROMs, and the possibility of forming short circuits while separating adjacent chips can be solved. The idea of the present invention is based on the following facts: lattice defects and other kind of defects in chips generally occur at random in manufacturing process of LSIs; in other words, there is little probability that defects in a chip appear at the same positions with the adjacent. Therefore, all the adjacent chips can be supposed not to be impaired if they operate in the same manner, while at least one of adjacent chips is impaired if they do not operate in the same manner. Thus, a decision as to whether ROMs in selected chips on a wafer should be passed or rejected can be made by making comparisons between adjacent chips with respect to those ROMs. The time involved for testing, therefore, can be reduced substantially, as compared with the ROM testing effected on each individual chip. It is unnecessary to prepare prescribed or expected values for ROMs, which was required in the conventional ROM testing. Memory capacity of the associated LSI tester may be reduced. Also, advantageously, no signal representing the contents of ROMs appears at the output terminal of the chip, and therefore, the contents of ROMs can be kept secret. The self-contained ROM of each chip cannot be tested after being separated from each other, thus keeping users' programs secret. Still advantageously, no testing logic section need be formed on a wafer, permitting the whole space of the wafer to be used for forming chips. The number of chips per wafer, therefore, is not reduced. Other objects and advantages of the present invention will be understood from the following description of first and second preferred embodiments of the present invention, which are shown in accompanying drawings: BRIEF DESCRIPTION OF THE DRAWINGS Fig.1 is a circuit diagram according to the first embodiment of the present invention showing three adjacent chips formed horizontally side by side on a wafer; Fig.2 is a circuit diagram according to the second embodiment of the present invention showing five adjacent chips formed crosswise on a wafer; and Fig.3 is a circuit diagram showing adjacent chips formed horizontally side by side on a wafer, which adjacent chips are to be tested separately according to the conventional ROM testing method. DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to Fig.1, a required ROM testing can be effected on all the three adjacent chips by applying test-mode signals to PADs 104, 204 and 304 of chips test-mode signals to PADs 104, 204 and 304 of chips 100, 200 and 300, respectively, to automatically make electric connections between the adjacent chips, and at the same time to render each ROM 101, 201 and 301 be in test-mode operation, and then, by permitting the signals outputted from ROMs 101, 201 and 301 to be compared. The signal representing the result of comparison appears at PAD 103 in chip 100. When the agreement is found in the result of comparison with respect to ROM function, ROMs 101, 102, 103 of respective chips 100, 200 and 300 are supposed to work normally. There is no more necessity of testing chips 200 and 300 with respect to respective ROMs 201 and 301 separately. Referring to Fig.2, a test-mode signal is applied to PAD 404 of central chip 400 and additionally to PADs 504, 604, 704 and 804 of adjacent chips 400, 500, 604, 700 and 800 to automatically make electric connections therebetween, and the signals outputted from ROMs 401, 501, 601, 701 and 801 of respective chips 400, 500, 604, 700 and 800 are compared with each other. The signal representing the result of comparison with respect to ROM function appears at PAD 403 in central chip 400. When the agreement is found in the resultant comparison with respect to ROM function, ROMs 401, 501, 601, 701 and 801 of respective chips 400, 500, 600, 700 and 800 are supposed to work normally, and therefore, there is no more necessity of testing chips 500, 600, 700 and 800 with respect to ROMs 501, 601, 701 and 801 separately. These first and second embodiments are explained in more detail as follows: [First Embodiment] Fig.1 is a circuit diagram of the first embodiment. In the drawing, microcomputer chips 100, 200 and 300 are arranged horizontally side by side on a wafer. These three chips are selected among a lot of similar chips formed on the wafer. Concerning circuit connections in the chip 100, PAD 104 is connected to test-mode signal line 107, which is directed to: ground GND 106 via resistor 105; transfer gates 109 to 120; and ROM 101. Output signal 108 outputted from ROM 101 is directed to comparison circuit 102. At the same time, output signal 308 outputted from ROM 301 of the adjacent chip 300 is directed to comparison circuit 102 via transfer gates 315 and 109, and output signal 208 outputted from ROM 201 of adjacent chip 200 is directed to comparison circuit 102 via transfer gates 210 and 116. The output terminal of comparison circuit 102 is connected to PAD 103 in the chip 100. Conductor lines 124 and 128 are of the high-voltage source VDD and connected each other in chip 100. Conductor lines 123 and 127 are of the low-voltage source and connected each other in chip 100. A reset signal which appears on conductor lines 122 and 126 are used to reset chip 100, and a clock signal which appears on conductor lines 121 and 125 are used to render chip 100 be in operation. Chips 200 and 300 have the same structure as chip 100, and therefore, no explanation of them is required. Chips 100, 200 and 300 have extra PADs formed thereon to permit VDD, GND, reset and clock signals to be inputted from the exterior, although these PADs are not shown. Assuming that chip 100 is tested, chip 100 is connected to VDD and GND via the relevant PADs, and then, a reset signal is applied to chip 100 via the relevant PAD. A test-mode signal is applied to chip 100 via PAD 104 to render ROM 101 be in test-mode. Then, in response to the inputting of a clock signal, output signal 108 representing the contents of ROM 101 appears at its output terminal. Application of the test-mode signal to chip 100 causes transfer gates 109 to 120 to open, thereby establishing required electric connections from central chip 100 to adjacent chips 200 and 300, and likewise, application of the test-mode signal to chips 200 and 300 via PADs 204 and 304, causes transfer gates 209 to 220 and 309 to 320 to open, respectively, thereby permitting central chip 100 to supply adjacent chips 200 and 300 with VDD, GND, reset and clock signals, and permitting the output signals outputted from ROMs 201 and 301 of adjacent chips 200 and 300 to be directed to comparison circuit 102 conversely. Thus, the output signals outputted from ROMs 101, 201, and 301 of respective chips 100, 200, and 300 can be compared with each other by simply applying probes to PADS of chip 100, a prove to PAD 204 of chip 200, and a prove to PAD 304 of chip 300, effecting the simultaneous checking of the ROMs of the three chips with respect to their function. After separating chips 100, 200 and 300 from each other, the contents of ROMs 101, 201 and 301 cannot be read out, so that users' programs is prevented from leaking. As mentioned above, all of the transfer gates 109 to 128 remain in the off-condition unless a test-mode signal is applied to PAD 104. When cutting the intervenient connections between the transfer gates of two adjacent chips 100 and 200 or 100 and 300 to separate them from each other, any two or more intervenient connections may happen to be connected across a cutter blade. Even in this event, there is no fear of causing any conductors at different potentials in each chip to be short-circuited by the cutter blade because all of the transfer gates remain in the off-condition, thus preventing appearance of short-circuits in the chip, and undesired potential invasion into the chip as well. Likewise, four or more chips can be tested easily with respect to their ROM function simultaneously as, for instance, follows: in Fig.1, assume that an additional chip (not shown) is connected for instance, to the left side of chip 300, and then, the relevant probes are applied to: some selected PADs for applying the VDD, GND, the test-mode signal, the reset signal and the clock signal to chip 100; to PAD 103 for retrieving the result of comparison between chips 100, 200, and 300; to PAD 204 for applying the test-mode signal to chip 200; to PAD 304 for applying the test-mode signal to chip 300; and to the relevant PAD for applying the test-mode signal in the additional chip. In this case, the result of comparison between chips 100, 300 and the additional chip can be obtained at probe 303 in addition to the result of comparison between chips 100, 200, and 300 at probe 103. Combining these results, the result of comparison between the four chips can be obtained. [Second Embodiment] Fig.2 is a circuit diagram of the second embodiment. In the drawing, microcomputer chips 400, 500, 600, 700 and 800 are arranged crosswise on a wafer. These five chips are selected among a lot of similar chips formed on the wafer. The cross-shaped chip-arrangement can be formed by: modifying central chip 100 of Fig.1 so as to permit additional chips 700 and 800 to be connected to the upper and lower sides of the central chip just like chips 200 and 300 connected to the right and left sides of central chip 100 in Fig.1. The cross-shaped chip-arrangement of Fig.2 is different from Fig.1 in that comparison circuit 402 has 5 input ports formed therein. All of the ROMs 401, 501, 601, 701 and 801 can be tested simultaneously simply by applying the relevant probes to some selected PADs for applying the VDD, GND, the reset signal on conductive lines 422, 426, 436 and 445, and the clock signal on conductive lines 421, 425, 449 and 451, to PAD 404 for applying the test-mode signal on test-mode signal line 407, and to PAD 403 for retrieving the result of comparison; to PAD 504 for applying the test-mode signal on test-mode signal line 507 in chip 500; to PAD 604 for applying the test-mode signal on test-mode signal line 607 in chip 600; to PAD 704 for applying the test-mode signal on test-mode signal line 707 in chip 700; and to PAD 804 for applying the test-mode signal on test-mode signal line 807 in chip 800. As may be understood from the above explanation, a decision as to whether or not any of the ROMs of selected chips formed in a single wafer can work well can be made simply by making a comparison between adjacent chips with respect to the contents of their ROMs. Thus, the chips can be tested quickly, as compared with the separate testing of individual chips. No expected values for ROMs to be tested need to be prepared, and therefore, an the memory capacity of associated LSI tester may be reduced. Moreover, no signal representing the contents of ROM appears at the terminal of the comparison circuit, thus keeping the contents of ROMs secret. No test logic section is needed to be formed in a wafer, preventing the number of chips per wafer from being reduced.

Claims: A ROM testing circuit for testing ROMs (101; 201; 301; 401; 501; 601; 701; 801) embedded in respective chips (100; 200; 300; 400; 500; 600; 700; 800) arranged on a wafer, said ROM testing circuit comprising units which are embedded in said respective chips, wherein each of said units comprises: input means for receiving a signal (108; 208; 308; 408; 508; 608; 708; 808) outputted from said ROM embedded in one adjacent chip or from each of said ROMs embedded in two or more respective adjacent chips; output means for outputting a signal (108; 208; 308; 408; 508; 608; 708; 808) outputted from said ROM embedded in said chip to which said unit belongs to said one adjacent chip or to said two or more adjacent chips, wherein conductor lines (121-128; 221-228; 321-328; 421-428, 434-436, 438-440, 449, 451; 521-528, 534-536, 538-540, 549, 551; 621-628, 634-636, 638-640, 649, 651; 721-728, 734-736, 738-740, 749, 751; 821-828, 834-836, 838-840, 849, 851) transporting signals which are used in common in said H adjacent chips are connected with each other between said adjacent chips, characterised in that each of said units further comprises means (102; 202; 302; 402; 502; 602; 702; 802) for comparing said signal (108; 208; 308; 408; 508; 608; 708; 808) outputted from said ROM in said chip to which said unit belongs with said signal or signals inputted via said input means; each chip (100; 200; 300; 400; 500; 600; 700; 800) further comprises switching devices (109-120; 209-220; 309-320; 409-420, 429-433, 438-442, 450, 452; 509-520, 529-533, 538-542, 550, 552; 609-620, 629-633, 638-642, 650, 652; 709-720, 729-733, 738-742, 750, 752; 809-820, 829-833, 838-842, 850, 852), each of which is equipped with a control terminal and a pad-and-conductor (104; 204; 304; 404; 504; 604; 704; 804) for applying a test-mode signal to said control terminal of each switching device from the exterior, said switching devices being in high-impedance mode when said test-mode signal is not applied to said control terminal; and said conductor lines (121-128; 221-228; 321-328; 421-428, 434-436, 438-440, 449, 451; 521-528, 534-536, 538-540, 549, 551; 621-628, 634-636, 638-640, 649, 651; 721-728, 734-736, 738-740, 749, 751; 821-828, 834-836, 838-840, 849, 851) transporting signals which are used in common in adjacent chips can be connected with each other between said adjacent chips via said switching devices. The ROM testing circuit as set forth in claim 1, characterised in that said chips (100; 200; 300; 400; 500; 600; 700; 800) are microcomputer chips. The ROM testing circuit as set forth in claim 1, characterised in that said signals used in common in adjacent chips are any of a high-voltage source, a low-voltage source, a reset signal, or a clock signal. The ROM testing circuit as set forth in claim 1, characterised in that the pad of said pad-and-conductor (104; 204; 304; 404; 504; 604; 704; 804) for inputting a test-mode signal is grounded (106; 206; 306; 406; 506; 606; 706; 806) via a resistor (105; 205; 305; 405; 505; 605; 705; 805). The ROM testing circuit as set forth in claim 1, characterised in that each chip further comprises another conductor means to supply said ROM with said test-mode signal.

Inventors: BAN AKIRA, BAN, AKIRA
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1998
Main classification: G06F11
IPC codes: G01R31, G06F15, G11C29, H01L21, G06F11