SEMICONDUCTOR DEVICE HAVING PROGRAMMABLE READ ONLY MEMORY CELLS FOR SPECIFIC MODE

Abstract: A semiconductor device having an internal circuit (5) comprises a program circuit (1) for programming a PROM (2), a discrimination circuit (3) for discriminating the contents of the PROM (2), and a specific mode starting circuit (4) for operating the internal circuit (5) in a specific mode when a specific mode starting signal is output from the discrimination circuit (3). Consequently, the operating mode of semiconductor device can be established and changed by programming and re-programming the PROM (2) without the need for special additional equipment.

Description: The present invention relates to a semiconductor device having programable read only memory cells for a specific mode, more particularly, to a semiconductor device having a programable read only memory (PROM) for bringing the semiconductor device to a specific mode in accordance with the contents of the PROM. Generally, in order to bring a semiconductor device to a specific mode, a high potential signal at a level higher than a normal potential signal is applied to a pad of the semiconductor device. The high potential signal is generated by additional special equipment, such as a high potential generator, during manufacture, and thus the semiconductor device is only brought to the specific mode during the manufacture of the semiconductor device, and therefore, the semiconductor device should not be brought to the specific mode while a user is operating the semiconductor device at the normal potential. Note, to test such devices by a burn-in process the manufacturer must provide additional equipment to apply the above described high potential signal to the pad of the semiconductor device for bringing the semiconductor device to the specific mode, in this case a test mode. This and other problems in the related art will be explained later in detail. The document DE-A-3232215 discloses a monolithically integrated semi-conductor circuit, comprising an address decoder for controlling a part of the circuit to be addressed, inputs connected to the address decoder for supplying external addressing signals, a test decoder leading to critical points of the integrated circuit or to test circuits monolithically combined therewith, the test decoder being connected to the address decoder and connected to the external addressing signal supplying supply units for directly receiving at least part of the external addressing signals without intervention of the address decoder, circuit parts to be addressed being connected to and controlled by the test decoder. A switch-over section in the form of a switching circuit is connected to the test decoder for supplying a specific switch-over signal to cause the test decoder to be activated and cause the address decoder to be placed in a rest condition. The document EP-A-0115170 discloses a method of programming for a programmable circuit in a redundancy circuit system, the redundancy circuit system including a RAM having normal and spare memory cell rows formed on a common chip and the programmable circuit. The programmable circuit has a plurality of selectively blowable fuses which are used during a test phase to replace defective circuits with redundant circuits without changing the operating mode of the overall circuit. According to this invention a semiconductor device comprising an internal circuit for operation under a normal mode and a specific mode, and, terminals; is characterised in that it further comprises: a programable read only memory; a program circuit, operatively connected to the terminals and the programable read only memory, for programming the programable read only memory in accordance with potentials applied to the terminals; and, a discrimination circuit, operatively connected to the programable read only memory, for discriminating contents of the programable read only memory and for generating a control signal to determine the operating mode of the internal circuit, the operating mode of the internal circuit being changed by changing the programming of the programmable read only memory in response to the potentials applied to the terminals. The present invention enables the semiconductor device to be brought into a specific operating mode and changed from the specific mode without special additional equipment, but once changed, is not likely to be brought to the specific mode during operation by an end user. 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: Figure 1 is a block diagram illustrating a conventional semiconductor device including a test mode starting means; Fig. 2 is a circuit diagram illustrating an example of a part of the conventional semiconductor device shown in Fig. 1; Fig. 3 is a block circuit diagram illustrating a principle of a semiconductor device having programable read only memory cells for a specific mode, according to the present invention; Fig. 4 is a circuit diagram illustrating a preferred embodiment of a semiconductor device according to the present invention; Fig. 5 is a block circuit diagram illustrating an EPROM to which an example of specific modes is brought; and Fig. 6 is a circuit diagram for explaining a specific mode of the EPROM shown in Fig. 5. For a better understanding of the preferred embodiments, the problems of the related art will be first explained. Figure 1 is a block diagram illustrating a conventional semiconductor device including a test mode starting means. As shown in Fig. 1, a pad P of a semiconductor device is connected to an internal circuit 105 and a signal from the pad P is transmitted directly to the internal circuit 105. The pad P is also connected to a high voltage detecting circuit 103. When a high potential signal at a level higher than a normal potential signal is applied to the pad P of the semiconductor device, the high voltage detecting circuit 103 generates a starting signal. The starting signal is transmitted to a specific test starting circuit 104, and the specific test starting circuit 104 carries out a specific test on the internal circuit 105. That is, when the high potential signal is applied to the pad P of the semiconductor device, the semiconductor device is subjected to a specific test operation. This high potential signal is generated by additional special equipment, such as a high potential generator, during the manufacture of the semiconductor device, and thus the semiconductor device is brought to the test mode only during the manufacture thereof. Consequently, the test mode should not be started in the semiconductor device while a user is operating the semiconductor device at the normal potential. Figure 2 is a circuit diagram illustrating an example of a part of the conventional semiconductor device shown in Fig. 1. The high voltage detecting circuit 103 is included in a semiconductor device as in the above description with reference to Fig. 1. When a high potential signal (e.g., 8 volts) for a test mode, at a level higher than a normal potential signal having a predetermined voltage range (e.g., from 0 volts to 5 volts), is applied to a pad P of the semiconductor device, the high voltage detecting circuit generates a starting signal for bringing the semiconductor device to the test mode. In this conventional semiconductor device, the specific test is performed on the semiconductor device only when a high potential signal at a level higher than the normal potential signal is continuously applied to the pad P. For example, the internal circuit 105 comprises a memory device having a plurality of word lines and the above test mode is a selection of all word lines of the memory device. In this selection of all word lines, a test signal is applied to all of the word lines and a burn-in is performed on the semiconductor device in a short time, since the test signal can be applied to all of the word lines at the same time, and thus all of the cells connected to each of the word lines can be tested in parallel and in a short time. Note, the burn-in includes various operation tests for stabilizing the quality of the semiconductor device and detecting sub-standard devices. Therefore, a burn-in is necessary for the semiconductor device in order to guarantee the operating characteristic of the device. An operating life test of the operation tests carried out by a burn-in is preferably performed under a high temperature, since a defective portion of the semiconductor device is more easily detected at a high temperature. Consequently, when the burn-in is performed under a high temperature, the operating life test by a burn-in can be quickly completed and the number of necessary samples needed for the test can be reduced, compared to that required for a test at room temperature. In the conventional semiconductor device, the internal circuit 105 is brought to the all word lines selection state of the specific mode, only when a high potential signal at a level higher than the normal potential signal is applied to the pad P. This high potential signal is generated by the high potential generator, and therefore, the high potential generator must be provided for the apparatus for testing the operating life test by a burn-in, by applying the high potential signal to the pad P of the semiconductor device continuously during the test. But, the additional equipment such as a high potential generator, which can be used at a high temperature for accelerating the operating life test by a burn-in, is difficult for a manufacturer to provide. Next, a description will be given of the principle of a semiconductor device having programable read only memory cells for a specific mode, according to the present invention. Figure 3 is a block circuit diagram illustrating a principle of a semiconductor device having programable read only memory cells for a specific mode, according to the present invention. As shown in Fig. 3, reference numeral 1 denotes a program circuit, and reference numeral 2 denotes a PROM which is programmed by the program circuit 1. Reference numeral 3 denotes a discrimination circuit for discriminating the contents of the PROM 2, reference numeral 4 denotes a specific mode starting circuit, and reference numeral 5 denotes an internal circuit. The specific mode starting circuit 4 brings the internal circuit 3 to a specific mode, for example, a test mode, in accordance with an output of the discrimination circuit 3. The PROM 2 is programmed as a test mode or a normal mode by the program circuit 1 in accordance with signals from three pads P₁ , P₂ , P₃ of the semiconductor device. For example, the PROM 2 is programmed as the test mode before performing the operating life test, and the discrimination circuit 3 outputs a starting signal to the specific mode starting circuit 4 by discriminating the contents of the PROM 2. The specific mode starting circuit 4 brings the internal circuit 5 to the test mode when receiving the starting signal from the discrimination circuit 3. In this test mode of the internal circuit 5, for example, an operating life test by a burn-in is performed on the internal circuit 5. After the operating life test, the PROM 2 is programmed to the normal operation mode, and the discrimination circuit 3 does not output a starting signal to the specific mode starting circuit 4 by discriminating the contents of the PROM 2. Therefore, the internal circuit 5 is set into the normal mode and the semiconductor device is made available to the user. Figure 4 is a circuit diagram illustrating a preferred embodiment of a semiconductor device according to the present invention. In Fig. 4, reference numeral 2 denotes a 2 bit PROM which is programmed by the program circuit 1. In this embodiment, the PROM has, for example, floating gate type erasable programable read only memory (EPROM) cells. Reference numeral 3 denotes a discrimination circuit for discriminating 2 bits of output OUT₁ , OUT₂ of the PROM 2, and reference numeral 4 denotes a specific mode starting circuit for bringing an internal circuit 5 to four kinds of specific modes. Where the internal circuit 5 comprises EPROM cells, the four kinds of modes are, for example, a selection of all word lines and all bit lines of the EPROM cells. Reference V CC and V PP are, for example, 5 V and 25 V, respectively. In the above description, the 2 bits PROM can use not only the floating gate type erasable programable read only memory cells, but also, for example, electrically alterable read only memory cells and fuse read only memory cells. The program circuit 1 comprises four circuits 11, 12, 13, 14. The circuit 11 generates a program signal PRG0 in accordance with a potential of a pad P₀. In this case, a logical relationship between the potential of the pad P₀ and the potential of the program signal PRG0 is as follows: Further, the circuit 12 generates a first program signal PRG1 in accordance with the potentials of the program signal PRG0 and a pad P₁ , and in this case, the potential of the program signal PRG1 is as follows: Similarly, the circuit 13 generates a second program signal PRG2 in accordance with the potentials of the program signal PRG0 and a pad P₂ , and in this case, the potential of the program signal PRG2 is as follows: Furthermore, the circuit 14 generates a gate voltage V G at cells C₁ , C₂ in the PROM 2 in accordance with the potentials of the program signal PRG0, and in this case: Consequently, in the PROM 2, when the potential of the pad P₀ is at the high level (HH) and the potential of the pad P₁ is at the low level (L), the cell C₁ is programmed, and when the potential of the pad P₀ is at the high level (HH) and the potential of the pad P₂ is at the low level (L), the cell C₂ is programmed. In this embodiment, the cells C₁ , C₂ are not programmed at the initial state, and therefore, both outputs OUT₁ , OUT₂ of the PROM 2 are at the low level. When performing a test such as an operating life test by a burn-in, the outputs OUT₁ , OUT₂ of the PROM 2 are at the high level and low level, respectively, because the potential of the pad P₀ is at the high level (HH) and the potential of the pad P₂ is at the low level (L), and thus the cell C₁ is programmed. Moreover, when the test operation is completed, both outputs OUT₁ , OUT₂ of the PROM 2 are at the high level, because the potential of the pad P₀ is at the high level (HH) and the potential of the pad P₂ is at the low level (L), and thus the cell C₂ is programmed. The discrimination circuit 3 generates a test mode starting signal T by detecting a discrepancy between the outputs OUT₁ , OUT₂ of the PROM 2. Therefore, the discrimination circuit 3 comprises sense circuits 31, 32 for sensing each output OUT₁ , OUT₂ of the PROM 2, and an exclusive OR circuit 33. That is, the exclusive OR circuit 33 generates a high level signal, which is the test instruction signal T, only when the two outputs OUT₁ , OUT₂ of the PROM 2 have a discrepancy therebetween. The specific mode starting circuit 4 includes a plurality of AND circuits G₁ ∼ G₈ and a plurality of specific mode circuits 41, 42, 43, 44 in accordance with the potentials of the pads P₃ , P₄. Therefore, while the test mode starting signal T is generated, the specific mode starting circuit 4 brings the internal circuit 5 to the specific mode of the specific mode circuits 41, 42, 43, 44, in accordance with the potentials of the pads P₃ , P₄. When both potentials of the pads P₃ , P₄ are at the low level, the internal circuit 5 is brought to the specific mode of the specific mode circuit 41, for example, the selection of all word lines. Namely, a signal S₁₀ of the specific mode circuit 41 is output to the internal circuit 5 and the internal circuit 5 is brought to the all word lines selection state. When the potential of the pad P₃ is at the low level and the potential of the pad P₄ is at the high level, the internal circuit 5 is brought to the specific mode of the specific mode circuit 42, for example, the all bit lines selection state. Figure 5 is a block circuit diagram illustrating an EPROM to which an example of specific modes is brought. In Fig. 5, the semiconductor device including the EPROM circuit, which is an example of the internal circuit 5, has a plurality of pads P₀ ∼ P 2ℓ-1 connected to an address buffer 51 of the EPROM circuit 5. The semiconductor device selects all word lines WL₀ ∼ WL m-1 of the EPROM circuit 5 for testing all memory cells of the EPROM circuit 5 at the same time. The selection of all word lines is made when both potentials of the pads P₃ , P₄ are at the low level while the test mode starting signal T is generated. As described above with reference to Fig. 4, the pads P₁ , P₂ , P₃ are connected to the program circuit 1 and the pads P₃ , P₄ are connected to the specific mode starting circuit. When an output signal S₁₀ of the specific mode starting circuit 4 is output to a word line decoder 52 of the EPROM circuit 5, the EPROM circuit 5 is brought to the all word lines WL₀ ∼ WL m-1 , selection state. Figure 6 is a circuit diagram for explaining a specific mode of the EPROM shown in Fig. 5. As shown in Fig. 6, an example of the specific mode is a selection of all word lines WL₀ ∼ WL m-1 of the memory cells. When the signal S₁ is at the high level, each output signal S₁₀ of all inverter circuits I₀ ∼ I m-1 of the specific mode circuit 41 is at the low level, and all of the word lines WL₀ ∼ WL m-1 are at the high level, which is the selection state without the contents of signals A₀ , A ₀ , ... A ℓ-1 , A ℓ -1 , i.e., the EPROM circuit 5 is brought to the all word lines WL₀ ∼ WL m-1 selection state by the signal S₁₀ from the specific mode starting circuit 4. In the above description, when the specific mode is a selection of all bit lines BL₀ ∼ BL n-1 , the specific circuit 42 has the same configuration as the specific mode circuit 41. In the above embodiment, the pads P₀ ∼ P₄ connected to the program circuit 1 and the specific mode starting circuit 4 are used as input or output pads of the internal circuit 5, and the input or output signals applied to the pads are not used at the time of the test. Therefore, special pads for the test cannot be utilized. Additionally, the PROM 2 can be erased by irradiating ultraviolet rays, and thus when returning from the test state to a test termination state, the data stored in the PROM 2 must be erased, but it is difficult to erase the data stored in the PROM 2 after packaging in an IC, since ultraviolet rays should not be irradiated to such a packaged IC. In case of the EPROM is an IC having a window for erasing stored data of the packaged IC, the stored data can be erased. If the ultraviolet rays are irradiated to the window of the PROM 2, however, the data stored in main memory cells is also erased by the ultraviolet rays, and therefore, it is preferable not to irradiate the ultraviolet rays to the window of the packaged EPROM. Furthermore, when the cells of the PROM 2 are non-erasable cells such as a fuse, the test state should not be returned to the test termination state by erasing. Consequently, the test termination is preferably carried out by programing the two cells C₁ , C₂ as described in the above embodiment. In this embodiment, the PROM 2 is programmed only when the potential of the pad P₀ is higher than the potential V CC , and therefore, a test cannot be performed during a normal user operation. Additionally, in order to program the PROM 2, it is necessary to apply a high potential to the pad P₀ , but when the PROM 2 is already programmed, it is not necessary to apply the high potential continuously to the pad P₀ for performing the test. Consequently, in order to perform a test by a burn-in, the PROM 2 is programmed before and after the test period by testing with an IC tester, and thus the test can be performed without attaching special additional equipment to the burn-in apparatus.

Claims: A semiconductor device comprising: an internal circuit (5) for operation under a normal mode and a specific mode, and terminals (P0,P1,P2); characterised in that it further comprises: a programable read only memory (2); a program circuit (1), operatively connected to the terminals (P0,P1,P2) and the programable read only memory (2), for programming the programable read only memory (2) in accordance with potentials applied to the terminals (P0,P1,P2); and, a discrimination circuit (3), operatively connected to the programable read only memory (2), for discriminating contents of the programable read only memory (2) and for generating a control signal to determine the operating mode of the internal circuit (5), the operating mode of the internal circuit (5) being changed by changing the programming of the programmable read only memory (2) in response to the potentials applied to the terminals (P0,P1,P2). A semiconductor device as claimed in claim 1, wherein said terminals (P0,P1,P2) are operatively connected to the internal circuit (5) as input or output terminals. A semiconductor device as claimed in claim 1 or 2, wherein the programable read only memory (2) comprises a two bit cell configuration memory, and the discrimination circuit outputs the control signal by discriminating a discrepancy between the two bits of data held in the memory (2). A semiconductor device as claimed in anyone of the preceding claims, wherein the programable read only memory (2) comprises erasable programable read only memory cells, electrically alterable read only memory cells, or fusible read only memory cells. A semiconductor device as claimed in any one of the predeeding claims, wherein the specific mode comprises a plurality of different modes and the discrimination circuit is capable of discriminating between them. A semiconductor device as claimed in any of claims 1 to 4, wherein the specific mode comprises a test mode of the internal circuit (5). A semiconductor device as claimed in any one of the preceding claims, wherein the internal circuit (5) comprises a memory device having a plurality of word lines, and during the specific mode all of the word lines are selected. A semiconductor device as claimed in any one of the preceding claims, wherein the internal circuit (5) comprises a memory device having a plurality of bit lines, and during the specific mode all of the bit lines are selected. A semiconductor device as claimed in any one of the preceding claims, wherein the programable read only memory (2) includes a first memory cell (C1) and a second memory cell (C2), the internal circuit being brought to the specific mode from the normal mode when the first memory cell (C1) is programmed, and the internal circuit being brought to the normal mode from the specific mode when the second memory cell (C2) is programmed.

Inventors: TAKEUCHI, ATSUSHI SHIRAKABA KOPO 201
Applicants: FUJITSU LIMITED
Application year: 1987
Main classification: G11C29
IPC codes: G11C17, G06F15, G11C29, G11C16, G01R31