WORD LENGTH SELECTABLE MEMORY

Abstract: An integrated circuit ROM comprises a memory cell matrix having a plurality of pairs of output lines, and plurality of pairs of external terminals. An output selection circuit is connected between the output lines and the external terminals and adapted to connect the output lines to the corresponding external terminals in a first mode and to alternatively connect output lines of each output line group to one predetermined external terminal of the corresponding external terminal group in a second mode. A control circuit is connected to at least one given external terminal which is disconnected from the corresponding output line when the output selecting circuit is in the second mode. This control circuit is in response to an address signal from the given external terminal to control the output selection circuit so as to cause it to selectively connect one output line of each output line group to the above predetermined external terminal of the corresponding external terminal group. Further, a mode selection circuit is associated to the output selection circuit and has a circuit structure fixed by a selected code mask so as to put the output selection circuit in a predetermined one of the first and second modes.

Description: The present invention relates to an integrated circuit memory which can be used as a read only memory, a random access memory, and the like, and more specifically to such a memory whose word length can be selected in accordance with selection of a code mask. With a recent development of microcomputers, a integrated circuit memory such as a read only memory (ROM), a random access memory (RAM) and the like is forced to shift from N words of 8 bits to N words of 16 bits and further to N words of 32 bits. At present, however, all the types of memory structures are still much in commercial demand. In compliance with the demand, makers have to prepare all the types of memory structures. For the purpose, the makers must design a memory for each required memory structure. Otherwise, it is necessary to prepare a memory adapted such that the memory structure can be modified from external terminals. However, the former method needs a large steps of design processes and a variety of memories must be inevitably prepared, so that the efficiency of production will be low and at the same time the memories are expensive. On the other hands, the latter method is not practical since the number of the terminals is limited. An integrated circuit memory according to the preamble part of claim 1 is disclosed in JP-A-58-60 480 and "PATENTS ABSTRACTS OF JAPAN", Vol. 7, No. 150, p. 207 (1295). In this device a multi-stage address circuit is provided at the output end of the memory device. Therefore, the output circuit is rather complicated and inevitably, has a large signal transfer delay time, so that the system is not suitable for a high speed operation; further control terminals for controlling the output circuit have to be provided. From EP-A-0 018 843 it is known to use transfer gates for connecting the output lines of a memory to an output terminal of an output circuit. JP-A-54-12 8 226 and "PATENTS ABSTRACT OF JAPAN", Vol. 3, No. 149, E-157, discloses a system in which an external terminal is used both for address and data signals. However, this reference is not directed to a word length selectable memory. Furthermore, the signals are multiplexed, and therefore, a second control terminal has to be provided in this circuit. It is an object of the invention to provide a memory whose memory structure can be modified in the course of manufacturing process with no additional terminal. This object is achieved by an integrated circuit memory comprising a memory cell matrix having at least first and second output lines, at least first and second external terminals, output selection means connected between the output lines and the external terminals to apply signals of the first and second output lines to the corresponding first and second external terminals in a first mode and to apply one of the signals of the first and second output lines to the first external terminal in a second mode, control means for controlling said output selection means in the second mode, and mode selection means associated to the output selection means for determining one of said modes, wherein the control means is connected to the second external terminal, the mode of the output selection means is fixed by a selected code mask of the mode selection means, and that the output selection means includes pass-through transfer gate means connected between the first external terminal and the corresponding first output line, cross transfer gate means connected between the first external terminal and the second output line, and isolation transfer gate means connected between the second external terminal and the corresponding second output line, wherein when the output selection means is in the first mode, the passthrough and isolation transfer gate means are put in an ON-condition while the cross transfer gate means are put in an OFF-condition, and when the output selection means is in the second mode, the isolation transfer gate means is put in an OFF-condition and the pass-through and cross transfer gate means are controlled by the control means in response to a signal from the second external terminal so as to be alternatively put in a first condition that the pass-through transfer gate means is put in an ON-condition and the cross transfer gate means is in an OFF-condition or in a second condition that the pass-through transfer gate means is put in an OFF-condition and the cross transfer gate means is in an ON-condition. By these means a memory is provided whose word length can be changed by only selection of a code mask used in the course of memory producing process, so that a variety of memories can be inexpensively produced at a high productivity without requiring many steps of design process. The dependent claims are related to further developments of the invention. With the above arrangement, with selection of a code mask used in the course of memory manufacturing process, the output selection means is put either in the first mode or in the second mode by the mode selection means. If each group of output lines has two output lines, all the external terminals are active in the first mode, and therefore, the memory will have the word length equal to the number of the external terminals. In this case, the number of the words is determined by the number of the memory cells associated with each output line. In the case that the output selection means is in the second mode, one half of the external terminals are active but the other half of the external terminals are inactive. Therefore, the word length is a half of the number of the output lines, but the number of the words is twice the number of the memory cells associated with each output line. In this case, the one predetermined external terminal which is inactive as a data output is used as an additional address input. Thus, the two types of memory structures can be produced with only change of a code mask without increase of external terminal and without requiring two memory designs. In addition, if the number of the external terminals contained in each external terminal group is suitably selected, various memory structures can be produced. In the memory in accordance with the present invention, the output selection means includes pass-through transfer gate means connected between the above predetermined external terminal of each external terminal group and the corresponding one output line of the corresponding output line group, cross transfer gate means connected between the above predetermined external terminal of each external terminal group and at least one remaining output line of the same output line group, and isolation transfer gate means connected between at least one remaining external terminal of each external terminal group and the corresponding output line. With this structure, when the output selection means is in the first mode, the pass-through and isolation transfer gate means are put in an ON condition while the cross transfer gate means are put in an OFF condition. When the output section means is in the second mode, the isolation transfer gate means is put in an OFF condition and the pass-through and cross transfer gate means are alternatively put in an ON condition and in an OFF condition by the control means. Further, the control means includes one input connected to the given external terminal and an output connected directly to one of the pass-through and cross transfer gate means and though an inverter to the other of the pass-through and cross transfer gate means. Specifically, the control means includes an OR gate connected at its one input to the given external terminal, and the mode selection means is connected at its output to the isolation transfer gate means and another input of the OR gate. In addition, the mode selection means has an input selectively and fixedly connected to one of the ground and a supply voltage in accordance with the selected code mask. In one preferred embodiment, the memory cell matrix has (j+1) address input lines and 2i output lines divided into i groups each including two output lines. In this case, if the output selection means is in the first mode, the memory has the memory structure of 2 j+1 words of 2i bits. To the contrary, if the output selection means is in the second mode, the given external terminal is used as an additional address input and the memory has the memory structure of 2 j+2 words of i bits. In another preferred embodiment, the memory cell matrix has (j+1) address input lines and 4i output lines divided into i groups each including four output lines, and the cross transfer gate means includes first, second and third cross transfer gates connected at their one end to the predetermined external terminal of each external terminal group. The other ends of these cross transfer gates are connected to the remaining three output lines of the corresponding output line group, respectively. Further, the isolation transfer gate means has three isolation transfer gates between the remaining three output lines of each output line group and the corresponding external terminals, respectively, so that when the output selection means is in the second mode, all the isolation transfer gates are put in an OFF condition, and the pass-through transfer gate means and the first, second and third transfer gates are alternatively put in an ON condition by the control means. In this embodiment, the mode selection means includes a first output connected to all the isolation transfer gates and a second output adapted to have the same logical level as that of the first output and connected to all the pass-through transfer gate means. The mode selection means also includes an input selectively and fixedly connected to one of the ground and a supply voltage in accordance with the selected code mask. Further, the control means includes a decoder having two inputs connected to two given external terminals which are disconnected from the corresponding output lines when the output selection means is in the first mode. This decoder also has four outputs connected to the pass-through transfer gate means and the first, second and third cross transfer gates, respectively, so as to put one of these transfer gates in the ON condition. Further, the decoder is adapted to be activated by the mode selection means when the output selection means is in the second mode. In the embodiment, if the output selection means is in the first mode, the memory has the memory structure of 2 j+1 words of 4i bits. But, if the output selection means is in the second mode, the two given external terminals are used as additional address inputs and the memory has the memory structure of 2 j+4 words of i bits. The above and other objects, features and advantages of the present invention will be apparent from the following description of preferred embodiments of the invention with reference to the accompanying drawings. Brief Description of the Drawings Figure 1 is a block diagram of a conventional ROM; Figure 2 is a block diagram of a first embodiment of the ROM in accordance with the present invention; Figure 3 is a circuit diagram of a portion of the output section of the ROM shown in Figure 2; Figures 4 and 5 illustrates the memory structures which can be selected in the ROM shown in Figure 2; Figure 6 is a table showing logical levels and signal conditions at various points in the circuit shown in Figure 3; and Figure 7 is a diagram similar to Figure 3 but showing a second embodiment of the ROM in accordance with the present invention. Description of the Preferred Embodiments Referring to Figure 1, there is shown a conventional ROM which includes a memory cell matrix 6 having a plurality of parallel outputs, which are in turn connected through a Y-selector 5, a sense amplifier 4 and an output buffer 3 to a number of output or external terminals O₀, O₁ ... O m . On the other hand, address inputs A₀, A₁ ... A j-1 , A j are connected to an address input buffer 9, whose outputs are connected to a X-decoder 7 and a Y-decoder 8. The X-decoder 7 is connected to the memory matrix 6 and the Y-decoder 8 is connected to the Y-selector. With this arrangement, an address data is inputted into the address input buffer, the X-decoder 7 and the Y-decoder 8 cooperate to select memory cells to be read out. As a result, the data stored in the selected memory cells is read out through the Y-selector 5 and detected by the sense amplifier 4, whose outputs are further amplified by the output buffer 3 and outputted to the external terminals. In the above mentioned conventional ROM, the change of the memory structure requires another layout of an integrated circuit, which is very expensive. Turning to Figure 2, there is shown a first embodiment of the ROM constructed in accordance with the present invention. In Figure 2, elements similar to those shown in Figure 1 are given the same Reference numerals and explanation will be omitted. As seen from comparison between Figures 1 and 2, the ROM shown in Figure 2 comprises an output selection logical circuit 2 connected between the output lines of the output buffer 3 and output or external terminals O₁, O₂ ... O i-1 , O i , O i+1 ... O 2i-1 , O 2i /A -1 , which are divided into i pairs. Namely, the first pair consists of the external terminals O₁ and O i+1 , the second pair of O₂ and O i+2 , ... the (i-1)th pair of O i-1 and O 2i-1 , and the (i)th pair of O i and O 2i /A -1 . The logical circuit 2 is associated with a mode selector 1. As shown in more detail in Figure 3 which shows the output circuit portion including the final pair of external terminals O i and O 2i /A -1 , the logical circuit 2 includes a pass-through transfer gates Q₁ connected between the first external terminal O i (O₁, O₂ ... O i ) of each external terminal pair and the output of the corresponding buffer amplifier Q₅. Also, an isolation transfer gate Q₃ is connected between the second external terminal Q 2i /A -1 (O i+1 , O i+2 ... O 2i-1 , O 2i /A -1 ) of each external terminal pair and the output of the corresponding buffer amplifier Q₆. Further, each first external terminal O i is connected through a cross transfer gate Q₂ to the connection node between the isolation transfer gate Q₃ and the corresponding buffer amplifier Q₆. Furthermore, the second external terminal Q 2i /A -1 of the final external terminal pair is connected to one input of a NOR gate Q₄, whose output CO is connected directly to a gate electrode of each cross transfer gate Q₂ and also connected through an inverter Q₇ to a gate gate electrode of each pass-through gate Q₂. The mode selector 1 includes a switch adapted to be connected to either the ground or a positive supply voltage Vcc in accordance with a code mask used in the course of memory production. An fixed terminal of the switch is connected through two cascade-connected inverters Q₈ and Q₉ to a gate electrode of each isolation transfer gate Q₃ and another input of the NOR gate Q₄. With this construction, if the mode selector 1 is connected to Vcc, the output signal Bm of the inverter Q₈ is at a high level, so that the output signal CO of the NOR gate Q₄ is maintained at a low level irrespectively of the signal level of the external terminal O 2i /A -1 . Thus, the pass-through transfer gate Q₁ and the isolation transfer gate Q₃ are fixed in an ON condition while the cross transfer gate Q₂ is fixed in an OFF condition. Therefore, the output signals a₂ and a₁ of the buffer amplifiers Q₅ and Q₆ are outputted to the external terminals O i and O 2i /A -1 , respectively. Namely, all the external terminals are used as data outputs, and the circuit shown in Figure 3 acts as two-bit memory output. On the other hand, if the mode selector 1 is connected to the ground, the output Bm of the inverter Q₈ is at a low level. Therefore, the isolation transfer gate Q₃ is fixed in the OFF condition, so that the external terminal O 2i /A -1 is isolated from the output a₁ of the buffer amplifier Q₆. On the other hand, the output CO of the NOR gate Q₄ is determined by the logical level of the external terminal Q 2i /A -1 . Therefore, in this case, the terminal O 2i /A -1 can be used as an additional address input. If the terminal O 2i /A -1 is at a high level, the gate Q₁ is put in an ON condition while the gate Q₂ is put in an OFF condition. Therefore, the output a₂ of the buffer amplifier Q₅ is outputted to the terminal Q₁. If the terminal Q 2i /A -1 is at a low level, the gate Q₁ is OFF and the gate Q₂ is ON so that the output a₁ of the buffer amplifier Q₆ is outputted to the terminal O i . Therefore, the circuit portion shown in Figure 3 functions as one-bit memory output. Figure 6 shows the logical conditions and the signal conditions at various points as mentioned above. As seen from the above, if the mode selector 1 is connected to Vcc by selection of a code mask used in the course of memory production process, the ROM has the address inputs A o ... A j and the output bits O₁ ... O 2i , i.e., the memory structure of 2 j+1 words of 2 i bits, as shown in Figure 4. In this case, all the address terminals and the external terminals are used. On the other hand, if the mode selector 1 is connected to the ground by selection of another code mask, the ROM has the address inputs A -1 , A o ... A j and the output bits O₁ ... Q i , i.e., the memory structure of 2 j+2 words of i bits, as shown in Figure 5. In this case, since the additional address input is given by the external terminal O 2i /A -1 which is one of the external terminals not used, it is not necessary to increase the terminals of the ROM. The above modification of the memory structure can be easily realized by selection of a code mask used in an ion implantation, a contact formation or any one of other various steps in the course of memory fabrication process. Therefore, different structures of memories can be produced in the same fabrication process just till the fixing of the connection pattern of the mode selector. This will results in greatly increased productivity, and does not require two different memory designs for two different structures of memories. Turning to Figure 7, there is shown another embodiment of the ROM in accordance with the present invention. This ROM has (j+1) address inputs A o ... A j (not shown) and 4i external terminals O₁, O₂ ..., O i , ..., O 2i , ..., O 3i /A -1 , ..., O 4i /A -2 , (only a portion is shown). Further, each four external terminals constitute one external terminal group. A first external terminal O i of each external terminal group is connected through a pass-through transfer gate Q₁ to the corresponding buffer amplifier 3. The remaining three external terminals O 2i , O 3i /A -1 and O 4i /A -2 of each group are connected to the corresponding buffer amplifiers 3 through three isolation transfer gates Q₃₁, Q₃₂ and Q₂₃, respectively. Further, the external terminal O i is connected through three cross transfer gates Q₂₁, Q₂₂ and Q₃₃ to the outputs of the buffer amplifiers 3 which are connected to the transfer gates Q₃₁, Q₃₂ and Q₃₃. With the above arrangement, the mode selector 1 is connected through two cascade-connected inverters Q₈₁ and Q₉ to the gate electrodes of all the isolation transfer gates Q₃₁, Q₃₂ and Q₃₃. The output of the inverter Q₉ is connected through an inverter 82 and an OR gate Q₄₁ to the gate electrode of the pass-through transfer gate Q₁. The external terminals Q 3i /A -1 and O 4i /A -2 are connected to a decoder which includes four AND gates Q₁₁, Q₁₂, Q₁₃ and Q₁₄ and two inverters Q₁₅ and Q₁₆ connected as shown in Figure 7 for decoding a binary data of two bits. The AND gate Q₁₁ is a two-input AND gate whose output is connected to another input of the OR gate Q₄₁. The AND gates Q₁₂, Q₁₃ and Q₁₄ are three-input AND gates, each of which has its one input connected to the output of the inverter Q₉. The AND gates Q₁₂, Q₁₃ and Q₁₄ are connected at their outputs to the gate electrodes of the cross transfer gates Q₂₁, Q₂₂ and Q₂₃, respectively. The terminal O 3i /A -1 is connected directly to the AND gates Q₁₁ and Q₁₃ and also through the inverter Q₁₅ to the AND gates Q₁₂ and Q₁₄. The terminal Q 3i /A -2 is connected to directly to the AND gates Q₁₁ and Q₁₄ and through the inverter Q₁₆ to the AND gates Q₁₂ and Q₁₃. With this construction, if the mode selector 1 is connected to Vcc, the output signal of the inverters Q₈₁ and Q₈₂ is at a high level, so that the output signal of the OR gate Q₄₁ is maintained at a low level irrespectively of the signal level of the external terminals Q 3i /A -1 and O 4i /A -2 . Thus, the pass-through transfer gate Q₁ and the isolation transfer gates Q₃₁, Q₃₂ and Q₃₃ are fixed in an ON condition. On the other hand, since the output of the inverter Q₉ is low, the outputs of the AND gates Q₁₂, Q₁₃ and Q₁₄ are fixed at a low level, so that the cross transfer gates Q₂₁, Q₂₂ and Q₂₃ are fixed in an OFF condition. Therefore, the output signals of the buffer amplifiers 3 are outputted to the external terminals O i , O 2i , O 3i /A -1 and O 4i /A -1 , respectively. Namely, all the external terminals are used as data outputs. Therefore, the ROM has the address inputs A o ... A j and the output bits O i ... O 4i /A -2 , i.e., the memory structure of 2 j+1 words of 4·i bits. On the other hand, if the mode selector 1 is connected to the ground, the output of the inverter Q₈₁ is at a low level. Therefore, the isolation transfer gates Q₃₁, Q₃₂ and Q₃₃ are fixed in the OFF condition, so that the external terminals O 2i , O 3i /A -1 and O 4i /A -2 are isolated from the outputs of the associated buffer amplifiers. On the other hand, the conditions of the transfer gates Q₁, Q₂₁, Q₂₂ and Q₂₃ are determined by the logical levels of the terminals O 3i /A -1 and O 4i /A -2 . Therefore, these external terminals are used as additional address inputs. With the terminals O 3i /A -1 and O 4i /A -2 of "1, 1", the transfer gate Q₁ is ON, and Q₂₁, Q₂₂ and Q₂₃ are OFF. With the combination of "0, 0", the transfer gate Q₂₁ is ON, and Q₁, Q₂₂ and Q₂₃ are OFF. With "1, 0", Q₂₂ is ON, and Q₁, Q₂₁ and Q₂₃ are OFF. Further, with "0, 1", Q₂₃ is ON and Q₁, Q₂₁ and Q₂₂ are OFF. Therefore, the ROM has the address inputs A -2 , A -1 , A o ...A j and the output bits O₁ ... O i , i.e., the memory structure of 2 j+4 words of i bits. The invention has thus been shown and described with reference to specific embodiments. However, it should be noted that the invention is in no way limited to the details of the illustrated structures but changes and modifications may be made within the scope of the appended claims.

Claims: An integrated circuit memory comprising a memory cell matrix having at least first and second output lines (a₁,a₂), at least first and second external terminals (O i , O 2i ), output selection means (2) connected between the output lines and the external terminals (O i , O 2i ) to apply signals of the first and second output lines to the corresponding first and second external terminals (O i , O 2i ) in a first mode and to apply one of the signals of the first and second output lines to the first external terminal (O i ) in a second mode, control means (Q₄) for controlling said output selection means (2) in the second mode, and mode selection means (1) associated to the output selection means (2) for determining one of said modes, characterized in that the control means is connected to the second external terminal (O 2i ), the mode of the output selection means (2) is fixed by a selected code mask of the mode selection means (1), and that the output selection means (2) includes pass-through transfer gate means (Q₁) connected between the first external terminal (O i ) and the corresponding first output line, cross transfer gate means (Q₂) connected between the first external terminal (O i ) and the second output line, and isolation transfer gate means (Q₃) connected between the second external terminal (O 2i ) and the corresponding second output line, wherein when the output selection means (1) is in the first mode, the pass-through and isolation transfer gate means (Q₁, Q₃) are put in an ON-condition while the cross transfer gate means (Q₂) are put in an OFF-condition, and when the output selection means (2) is in the second mode, the isolation transfer gate means (Q₃) is put in an OFF-condition and the pass-through and cross transfer gate means (Q₁, Q₂) are controlled by the control means in response to a signal from the second external terminal (O 2i ) so as to be alternatively put in a first condition that the pass-through transfer gate means (Q₁) is put in an ON-condition and the cross transfer gate means (Q₂) is in an OFF-condition or in a second condition that the pass-through transfer gate means (Q₁) is put in an OFF-condition and the cross transfer gate means (Q₂) is in an ON-condition. A memory as claimed in claim 1 wherein the control means includes an input connected to the second external terminal and an output connected directly to one of the pass-through and cross transfer gate means and through an inverter (Q₇) to the other of the pass-through and cross transfer gate means. A memory as claimed in claim 2 wherein the control means includes an OR gate (Q₄) connected at its one input to the second external terminal (o 2i ) and wherein the mode selection means (1) is connected at its output to the isolation transfer gate (Q₃) means and another input of the OR gate (Q₄), the mode selection means having an input selectively and fixedly connected to one of the ground and a supply voltage (V cc ) in accordance with the selected code mask. A memory as claimed in claim 1 wherein the memory cell matrix has at least four output lines and the memory has at least four external terminals (O i - O 4i ), wherein the passthrough transfer gate means is between the first external terminal (O i ) of the four external terminals and the first output line of the four output lines, wherein the cross transfer gate means includes first, second and third cross transfer gates (Q₂₁, Q₂₂, Q₂₃) connected at their one end to the first external terminal, the other ends of these cross transfer gates being connected to the remaining three output lines (O 2i , O 3i , O 4i ), respectively, and wherein the isolation transfer gate means includes three isolation transfer gates (Q₃₁, Q₃₂, Q₃₃) between the remaining three output lines and the corresponding external terminals, respectively, so that when the output selection means is in the second mode, all the isolation transfer gates are put in an OFF-condition, and the pass-through transfer gate means and the first, second and third transfer gates are alternatively put in an ON-condition by the control means. A memory as claimed in claim 4 wherein the mode selection means (1) includes a first output connected to all the isolation transfer gates (Q₃₁, Q₃₂, Q₃₃) and a second output adapted to have the same logical level as that of the first output and connected to all the pass-through transfer gate means (Q₁), the mode selection means also including an input selectively and fixedly connected to one of the ground and a supply voltage (V cc ) in accordance with the selected code mask. A memory as claimed in claim 5 wherein the control means includes a decoder having two inputs connected to two given external terminals (O 3i , O 4i ) which are disconnected from the corresponding output lines when the output selection means is in the first mode, the decoder having four outputs connected to the pass-through transfer gate means (Q₁) and the first, second and third cross transfer gates (Q₂₁, Q₂₂, Q₂₃), respectively, so as to put one of these transfer gates in the ON-condition, the decoder being adapted to be activated by the mode selection means when the output selection means is in the second mode.

Inventors: KINOUCHI, TAKASHIGE C/0 NEC CORPORATION, MIYATA, SHINOBU C/O NEC CORPORATION
Applicants: NEC CORPORATION
Application year: 1986
Main classification: G11C7
IPC codes: G11C17, G11C7, H01L27