Abstract:
A logic product circuit having a plurality of transistors arranged in a matrix; a plurality of input terminals; and a single output terminal. The transistors in each column are connected in a line, forming a transistor array, the transistor arrays are connected in parallel between the output terminal and the ground, each of the input terminals is connected to the inputs to the transistors in all the columns, and the transistors to which each input terminal is connected are arranged in different rows.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to an LSI circuit, and in particular, to a CMOS or Bi-CMOS logic product circuit. 
     This application is based on Japanese Patent Application Nos. Hei 11-182513 and Hei 11-218204, the contents of which are incorporated herein by reference. 
     2. Description of the Related Art 
     Of conventional logic product circuits comprising CMOSs or Bi-CMOSs, a four-input NAND circuit provides a transistor array in which four transistors are aligned in a line and are connected between output terminals of the four-input NAND circuit and GND. 
     The four input terminals of the four-input NAND circuit are connected to the inputs (gates) to four transistors. When signals at an H level are input to all the input terminals and all four transistors are turned on, the entire transistor array becomes conductive, the output terminals are connected to GND, and the output terminals are set to an L level. Thus, this circuit functions as a NAND circuit. 
     Other conventional four-input NAND circuits increase their electric current driving performance of their outputs by connecting a plurality of transistor arrays in parallel between the output terminals and GND. When an electric current is supplied at the same time to a certain number n of transistor arrays provided in parallel, n times the electric current output from the single transistor array can be gained. 
     The structure of the four-input NAND circuit will be explained with reference to FIG.  5 . In this figure, INA, INB, INC, and IND are inputs to the four-input NAND circuit, and OUT is an output from the four-input NAND circuit. 
     QP 51 , QP 52 , QP 53 , and QP 54  are P-channel transistors (hereinafter referred to as Pch transistors), and QN 51 , QN 52 , . . . , QN 59 , QN 5 A, QN 5 B, and QN 5 C are N-channel transistors (hereinafter referred to as Nch transistors). 
     The Pch transistors QP 51  to QP 54  are connected between a power source voltage Vdd and an output terminal OUT in a parallel manner. That is, the sources of QP 51  to QP 54  are connected to the power source voltage Vdd, and the drains of QP 51  to QP 54  are connected to the output terminal OUT. The gates of QP 51  to QP 54  are connected to four input terminals INA, INB, INC, and IND, respectively. 
     The Nch transistors QN 51  to QN 54  are connected in a line, forming a transistor array TA 51 . In the transistor array TA 51 , the source of QN 51  is connected to the drain of QN 52 , the source of QN 52  is connected to the drain of QN 53 , and the source of QN 53  is connected to the drain of QN 54 . 
     This transistor array TA 51  is connected between the output terminal OUT and GND. That is, the drain of QN 51  is connected to the output terminal OUT, and the source of QN 54  is connected to GND. 
     Similarly, the Nch transistors QN 55  to QN 58  form a transistor array TA 52 , which is connected between the output terminal OUT and GND. Further, the Nch transistors QN 59  to QN 5 C form a transistor array TA 53 , which is also connected between the output terminal OUT and GND. 
     The input terminals INA, INB, INC, and IND are connected to the gate terminals of the Pch transistors QP 51 , P 52 , QP 53 , and QP 54 , respectively. 
     When the input terminal INA is set to the L level, QP 51  is turned on and becomes conductive so that the source voltage Vdd is output from the output terminal OUT. Similarly, when the input terminals INB, INC, and IND are set to the L level, QP 52 , QP 53 , and QP 54  are turned on and become conductive so that the source voltage Vdd is output from the output terminal OUT. This output from the output terminal OUT is at the H level. 
     When a least one of the input terminals INA, INB, INC, and IND is set to the L level, a signal at the H level is output from the output terminal OUT. 
     The input terminal INA is connected to the gates of the Nch transistors QN 51 , QN 55 , and QN 59  which are the nearest to the output terminal OUT. The input terminal INB is connected to the gates of Nch transistors QN 52 , QN 56 , and QN 5 A. The input terminal INC is connected to the gates of Nch transistors QN 53 , QN 57 , and QN 5 B. The input terminal IND is connected to the gates of the Nch transistors QN 54 , QN 58 , and QN 5 C which are the nearest to GND. 
     When the input terminal INA is set to the L level and the input terminals INB, INC, and IND are set to the H level, the Nch transistors QN 51 , QN 55 , and QN 59  to which the input terminal INA is connected are turned off, the Nch transistors QN 52 , QN 56 , and QN 5 A to which the input terminal INB is connected, the Nch transistors QN 53 , QN 57 , and QN 5 B, and the Nch transistors QN 54 , QN 58 , and QN 5 C to which the input terminal IND is connected are turned on. 
     In this situation, because the transistor array TA 51  includes the Nch transistor QN 51  which has been turned off, the entire transistor array TA 51  has been turned off. Similarly, because the transistor array TA 52  includes the Nch transistor QN 55  which has been turned offOFF, the entire transistor array TA 52  has been turned off. Further, because the transistor array TA 53  includes the Nch transistor QN 59  which has been turned off, the entire transistor array TA 53  has been turned off. 
     Because the transistor arrays TA 51 , TA 52 , and TA 53  which are provided in parallel to each other between the output terminal OUT and GND have been turned off, the output terminal OUT is not connected to GND. Because the input terminal INA is at the L level, the Pch transistor QP 51  has been turned on so that the source voltage Vdd is connected to the output terminal OUT. 
     Accordingly, when the input terminal INA is set to the L level and the input terminals INB, INC, and IND are set to the H level, the output terminal OUT outputs a signal at the H level. 
     When all the input terminals INA, INB, INC, and IND are set to the H level, the Nch transistors QN 51 , QN 55 , QN 59 , QN 52 , QN 56 , QN 5 A, QN 53 , QN 57 , QN 5 B, QN 54 , QN 58 , and QN 5 C are turned on. That is, the transistor arrays TA 51 , TA 52 , and TA 53  become conductive so that the output terminal OUT is connected to GND. On the other hand, because all the input terminals INA to IND are at the H level, all the Pch transistors QP 51  to QP 54  have been turned off, and the source voltage Vdd is not connected to the output terminal OUT. 
     Accordingly, when all the input terminals INA, INB, INC, and IND are set to the H level, the output terminal OUT outputs a signal at the L level. 
     Next, the operation of this conventional art will be explained with reference to the operation timing chart of FIG.  6 . Before the point of time t 61 , because the input terminal INA is at the L level and INB to IND are at the H level, the output terminal OUT is at the H level. 
     At the point of time t 61 , when the input terminal INA is inverted from the L level to the H level while maintaining the input terminals INB to IND at the H level, that is, when all the input terminals INA to IND are set to the H level, the output terminal OUT varies from the H level to the L level in the period tpdA between t 61  and t 62 . 
     At the point of time t 63 , when the input terminal IND is inverted from the H level to the L level while maintaining the input terminals INA to INC at the H level, the output terminal OUT varies from the L level to the H level in the period tpdD between t 63  and t 64 . 
     At the point of time t 65 , when the input terminal IND is inverted from the L level to the H level while maintaining the input terminals INA to INC at the H level, the output terminal OUT varies from the H level to the L level in the period tpdD between t 65  and t 66 . 
     As another conventional technique, a five-input NAND circuit shown in the circuit diagram of FIG. 7 is known. In this circuit, each of the transistor arrays TA 1  to TA 4  comprises five Nch transistors connected in a line. The gates of the five Nch transistors are connected to input terminals INA to INE, respectively. 
     FIG. 10 shows the layout of the circuit on an IC. On the IC, the transistor arrays TA 1  to TA 4  are aligned in a line. 
     In the transistor array TA 1 , the Nch transistors are arranged in the order of QN 1 , QN 2 , QN 3 , Qn 4 , and Qn 5  from the left of FIG.  10 . In the transistor array TA 2 , the Nch transistors are arranged in the order of QN 10 , QN 9 , QN 8 , Qn 7 , and Qn 6  from the left of FIG.  10 . In the transistor array TA 3 , the Nch transistors are arranged in the order of QN 11 , QN 12 , QN 13 , Qn 14 , and Qn 15  from the left of FIG.  10 . In the transistor array TA 4 , the Nch transistors are arranged in the order of QN 20 , QN 19 , QN 18 , Qn 17 , and Qn 16  from the left of FIG.  10 . That is, the QN 1  to QN 20  are aligned in a line. The transistor arrays TA 1  to TA 4  are formed in separated well areas. 
     In the transistor array TA 1 , the source area of the transistor QN 5  is connected via an aluminum first-layer connection to a GND aluminum first-layer connection. The drain area of the QN 5  is in the same diffusion area as the source area of the QN 4  adjacent to the QN 5 . The drain area of QN 4  is in the same diffusion area as the source area of the QN 3  adjacent to the QN 4 . The drain area of the QN 3  is connected to the source area of the next QN 2  via two parallel aluminum first-layer connections. 
     The drain area of the QN 2  is in the same diffusion area as the source area of the adjacent QN 1 . The drain area of the QN 1  is connected to the output terminal OUT via the aluminum first-layer connection. 
     The drain area of the QN 6  in the transistor array TA 2  is connected to the drain area of the QN 11  in the adjacent transistor array TA 3  by two aluminum first-layer connections. Further, these connections are connected to the output terminal OUT by an aluminum first-layer connection. 
     In the transistor array TA 2 , the source area of the QN 6  is in the same diffusion area as the drain area of the adjacent QN 7 . The source area of the QN 7  is in the same diffusion area as the drain area of the adjacent QN 8 . The source area of the QN 8  is connected to the drain area of the adjacent QN 9  via two aluminum first-layer connections. The source area of the QN 9  is in the same diffusion area as the drain area of the adjacent QN 10 . The source area of the QN 10  is connected to the GND aluminum first-layer connection via an aluminum first-layer connection. 
     The arrangement in the transistor array TA 3  is similar to that in the transistor array TA 1 , and the arrangement in the transistor array TA 4  is similar to that in the transistor array TA 2 . 
     FIG. 11 is the timing chart showing the operation of the above-mentioned circuit. When at the point of time t 51  the input terminal INE is inverted from the H level to the L level, the output terminal OUT varies from the L level to the H level between t 51  and t 52 . When at the point of time t 53  the input terminal INE is inverted from the L level to the H level, the output terminal OUT varies from the H level to the L level between t 53  and t 54 . 
     In the conventional four-input NAND circuit which comprises CMOSs shown in FIG. 5, when only the input terminal INA is set to the L level and the other INB to IND are set to the H level, only the Pch transistor QP 51  is turned on, and the other QP 52  to QP 54  are turned off. Further, the Nch transistors QN 51 , QN 55 , and QN 59  are turned off, and the other QN 52  to QN 54 , QN 56  to QN 58 , and QN 5 A to QN 5 C are turned on. 
     Because the Pch transistor QP 51  has been turned on, the output terminal OUT is at the H level. All the areas connected to the output terminal OUT are at the H level. These areas are full of positive electric charge. Specifically, the areas to the output terminal OUT are the connection portions of the sources and drains of the Pch transistors QP 51  to QP 54 , and the connected portions of the drains of the Nch transistors QN 51 , QN 55 , and QN 59 . Positive electric charge is filled to the junction capacities of these connected portions. 
     When, while setting the input terminals INB to IND at the H level, only the input terminal INA is inverted from the L level to the H level, the Pch transistors QP 51  is turned off, and the Nch transistors QN 51 , QN 55 , and QN 59  are turned on, so that the output terminal OUT is changed from the H level to the L level. 
     At that time, the positive electric charge, which has been stored to the junction capacities at the drains of QN 51 , QN 55  and QN 59  and at the drains of QP 51 , QP 52 , QP 53 , and QP 54 , is discharged. The amount of discharge is in proportion to the total junction capacities. When the electric charge stored atone of terminals of the transistor, that is, the drain or the source, is 0.5, the electric discharge caused by changing the input terminal INA from the L level to the H level becomes 0.5×(3+4)=3.5. 
     The time tpdA required to invert the output terminal OUT from the H level to the L level, that is, the output level changing time is in proportion to the electric discharge of 3.5. 
     On the other hand, when the input terminals INA to INC are set to the H level and only IND is set to the L level, only the Pch transistor QP 54  is turned on, and the other QP 51  to QP 53  are turned off. Further, the Nch transistors QN 54 , QN 58 , and QN 5 C are turned off, and the QN 51  to QN 53 , QN 55  to Qn 57 , and QN 59  to QN 5 B are turned on. 
     In this situation, the output terminal OUT is set to the H level by the Pch transistor QP 54 . All the areas connected to the output terminal OUT are at the H level. These areas are full of positive electric charge. Specifically, the areas to the output terminal OUT are the connection portions of the sources and drains of the Pch transistors QP 51  to QP 54 , and the connected portions of the drains and sources of the Nch transistors QN 51  to QN 53 , QN 55  to QN 57 , and QN 59  to QN 5 B, and the connected portions of the drains of the QN 54 , QN 58 , and QN 5 C. Positive electric charge is applied to the junction capacities of these connected portions. 
     When, while setting the input terminals INA to INC at the H level, only the input terminal IND is inverted from the L level to the H level, the Pch transistors QP 54  is turned off, and the Nch transistors QN 54 , QN 58 , and QN 5 C are turned on, so that the output terminal OUT is inverted from the H level to the L level. 
     At that time, the positive electric charge, which has been stored to the junction capacities at the drains and sources of QN 51  to QN 53 , QN 55  to QN 57 , and QN 59  to QN 5 B, at the drains of the QN 54 , QN 58 , and QN 5 C, and at the drains of the QP 51 , QP 52 , QP 53 , and QP 54 , which are connected to the output terminal OUT, is discharged. In a manner similar to the fore-mentioned case, when the electric charge stored at one of terminals of the transistor is 0.5, the electric discharge becomes 0.5×2×3×3+0.5×(3+4)=12.5. 
     The output level changing time tpdD of the output terminal OUT is in proportion to the electric discharge of 12.5. 
     That is, when the output terminal OUT is inverted from the H level to the L level, the electric charge and discharge differ from each other between the case in which the level of the input terminal connected to the transistor close to the output terminal OUT, e.g., INA is changed, and the case in which the level of the input terminal connected to the transistor close to the GND, e.g., IND is changed. Therefore, there is the problem that the output level changing times tpd at the output terminal OUT significantly differ. 
     In the example shown in FIG. 6, the output level changing time tpdD (from t 63  to t 64 , and from t 65  to t 66 ) when the level of the input terminal IND is changed is approximately twice the output level changing time tpdA (from t 61  to t 62 ) when the level of the input terminal INA is changed. 
     In the five-input NAND circuit shown in FIG. 7, when, maintaining the INA to IND at the H level, only the INE is inverted from the L level to the H level, the electric charge, which is stored at the drains and sources of the Nch transistors QN 1  to QN 4 , QN 6  to QN 9 , QN 11  to QN 14 , and QN 16  to QN 19  connected in lines and the drains of the QN 5 , QN 10 , QN 15 , and QN 20 , must be discharged. Further, the electric charge which is stored at the drains of the Pch transistors QP 1  to QP 5  must be discharged. 
     When the junction capacity of one of the terminals of the transistor, that is, the drain or the source, is 0.5, the junction capacity of the Nch transistors is 18, the junction capacity of the Pch transistor is 2.5, and the total of the junction capacities is 20.5, which correspond to 72 fF. 
     To the above-mentioned junction capacity, the capacity of 80fF of the aluminum first-layer connection with the length of 400 im, which is shown in FIG. 10, is added, and the total capacity is 152 fF. 
     Accordingly, when only the input terminal INE is inverted from the L level to the H level, the electric charge, stored to the total capacity of 152 fF, must be completely discharged. As shown in the timing chart of FIG. 11, there is the problem that the time tpd required to change the level at the output terminal OUT, depending on the level at the input terminal INE, is lengthened from t 51  to t 52  and from t 53  to t 54 . 
     BRIEF SUMMARY OF THE INVENTION 
     It is therefore an object of the present invention to provide a logic product circuit that prevents the output level changing time from being lengthened, even when the level at any of input terminals is changed. 
     In a first aspect of the present invention, the logic product circuit comprises: a plurality of transistors arranged in a matrix; a plurality of input terminals; and a single output terminal. The transistors in each column are connected in a line, forming a transistor array, the transistor arrays are connected in parallel between the output terminal and the ground, each of the input terminals is connected to the inputs to the transistors in all the columns, and the transistors to which each input terminal is connected are arranged in different rows. 
     In the first aspect of the present invention, the numbers of the transistors in the respective rows are the same. The transistors are MOSFETs, or junction field effect transistors. 
     In a second aspect of the present invention, the logic product circuit comprises: a plurality of transistors arranged in a matrix; a plurality of input terminals; a single output transistor; and a single output terminal connected to the output transistor. The transistors in each column are connected in a line, forming a transistor array; the transistor arrays are connected in parallel so that the transistors form rows, one of the rows of the transistors is connected between the input to the output transistor and the ground, the other row of the transistors is connected between the output terminal and the ground, the input terminals are connected to the input to the transistors in all the columns; and the transistors to which each input terminal is connected are arranged in different rows. 
     In the second aspect of the present invention, the numbers of the transistors in the respective rows is the same. The transistors are MOSFETs, or junction field effect transistors. The output transistor is a bipolar transistor. 
     In a third aspect of the present invention, the logic product circuit comprises: a plurality of transistors arranged in a matrix; a plurality of input terminals; and a single output transistor, a single output terminal. The transistors in each column are connected in a line, forming a transistor array; the transistor arrays are connected in parallel between the output terminal and the ground; each of the input terminals is connected to the transistors in all the columns; and the transistors forming the transistor arrays neighbor each other on an IC. 
     In the third aspect of the present invention, the transistors forming the transistor array are N-channel MOS transistors. All the transistors in the transistor arrays are arranged in a single line on the IC, a connection from the output terminal is provided in the middle of the line of the transistors, and the terminals at the both ends of the line of the transistors are connected to the ground. Some of the neighboring transistors in the transistor arrays on the IC are connected without an aluminum connection. Further, some of the sources and drains of the transistors on the IC are within the same diffusion areas. 
     According to the present invention, when the level of one of the input terminals is changed, the junction capacities of the transistors are set so that the electric charge or discharge is made regular, decreasing a variation in the output level changing time. 
     Because the electric charge or discharge is made regular, the electric charge can be decreased, thereby shortening the output level changing time and accelerating switching of the outputs, as compared with the conventional technique. 
     Further, according to the IC layout of the present invention, when changing the output level, the electric charge or discharge can be decreased, thereby shortening the output level changing time and accelerating switching of the outputs. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a circuit diagram showing the CMOS four-input NAND circuit of the first embodiment of the present invention. 
     FIG. 2 is a timing chart showing the operation of the CMOS four-input NAND circuit of the first embodiment of the present invention. 
     FIG. 3 is a circuit diagram showing the Bi-CMOS four-input NAND circuit of the second embodiment of the present invention. 
     FIG. 4 is a timing chart showing the operation of the Bi-CMOS four-input NAND circuit of the second embodiment of the present invention. 
     FIG. 5 is a circuit diagram showing the CMOS four-input NAND circuit of the conventional technique. 
     FIG. 6 is a timing chart showing the operation of the CMOS four-input NAND circuit of the conventional technique. 
     FIG. 7 is a circuit diagram showing the five-input NAND circuit of the third embodiment of the present invention. 
     FIG. 8 is a diagram showing the layout of the five-input NAND circuit of the third embodiment of the present invention. 
     FIG. 9 is a timing chart showing the operation of the five-input NAND circuit of the third embodiment of the present invention. 
     FIG. 10 is a diagram showing the layout of the five-input NAND circuit of the conventional technique. 
     FIG. 11 is a timing chart showing the operation of the five-input NAND circuit of the conventional technique. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     The first embodiment of the present invention will be explained. FIG. 1 shows a four-input NAND circuit. INA, INB, INC, and IND are input terminals to the four-input NAND circuit, and OUT is an output terminal from the four-input NAND circuit. QP 1 , QP 2 , QP 3 , and QP 4  are P-channel transistors (hereinafter referred to as Pch transistors), and QN 1 , QN 2 , . . . , Q 9 , QNA, QNB, and QNC are N-channel transistors (hereinafter referred to as Nch transistors). The transistors are MOSFETs, or junction field effect transistors. 
     The Pch transistors QP 1  to QP 4  are connected between a power source voltage Vdd and an output terminal OUT in a parallel manner. That is, the sources of QP 1  to QP 4  arc connected to the power source voltage Vdd, and the drains of QP 1  to QP 4  are connected to the output terminal OUT. 
     The Nch transistors QN 1  to QN 4  are successively connected in a line, forming a transistor array TA 1 . In the transistor array TA 1 , the source of QN 1  is connected to the drain of QN 2 , the source of QN 2  is connected to the drain of QN 3 , and the source of QN 3  is connected to the drain of QN 4 . 
     One end of the transistor array TA 1  is connected to the output terminal OUT, and the other terminal is connected to GND. That is, the drain of QN 1  is connected to the output terminal OUT, and the source of QN 4  is connected to GND. 
     Similarly, the Nch transistors QN 5  to QN 8  are successively connected in a line, forming a transistor array TA 2 . In the transistor array TA 2 , the source of QN 5  is connected to the drain of QN 6 , the source of QN 6  is connected to the drain of QN 7 , and the source of QN 7  is connected to the drain of QN 8 . 
     One end of the transistor array TA 2 , that is, the drain of the QN 5 , is connected to the output terminal OUT, and the other terminal, that is, the source of the QN 8 , is connected to GND. 
     Similarly, the Nch transistors QN 9  to QNC are successively connected in a line, forming a transistor array TA 3 . In the transistor array TA 3 , the source of QN 9  is connected to the drain of QNA, the source of QNA is connected to the drain of QNB, and the source of QNB is connected to the drain of QNC. 
     One end of the transistor array TA 3 , that is, the drain of QN 9 , is connected to the output terminal OUT, and the other terminal, that is, the source of the QNC, is connected to GND. 
     The input terminal INA is connected to the gate of the Pch transistor QP 1  and to the gates of the Nch transistors QN 1 , QN 8 , and QNB. The input terminal INB is connected to the gate of the Pch transistor QP 2  and to the gates of the Nch transistors QN 2 , QN 6 , and QNC. The input terminal INC is connected to the gate of the Pch transistor QP 3  and to the gates of the Nch transistors QN 3 , QN 7 , and QN 9 . The input terminal IND is connected to the gate of the Pch transistor QP 4  and to the gates of the Nch transistors QN 4 , QN 5 , and QNA. 
     Each of the input terminals is connected to one of the transistors in each transistor array, that is, to in total three transistors. 
     In each transistor array hereinafter, the transistor closest to the output terminal OUT is referred to as a first transistor, the second closest transistor is referred to as a second transistor, the third closest transistor is referred to as a third transistor, and the transistor farthest from the output terminal OUT is referred to as a fourth transistor. 
     Since the input terminal INA is connected to the QN 1 , QN 8 , and QNB, the INA is connected to the first, fourth, and third transistors. Since the input terminal INB is connected to the QN 2 , QN 6 , and QNC, the INB is connected to the second, second, and fourth transistors. Since the input terminal INC is connected to the QN 3 , QN 7 , and QN 9 , the INC is connected to the third, third, and first transistors. Since the input terminal IND is connected to the QN 4 , QN 5 , and QNA, the IND is connected to the fourth, first, and second transistors. 
     In the Pch transistors, when the input terminal INA is set to the L level, the QP 1  is turned on and becomes conductive, so that the source voltage Vdd is output from the output terminal OUT. When the input terminal INB, INC, or IND is set to the L level, the QP 2 , QP 3 , or QP 4  is turned on and becomes conductive, so that the source voltage Vdd is output from the output terminal OUT. 
     That is, when at least one of the input terminals INA, INB, INC, and IND is set to the L level, the output terminal OUT outputs a signal at the H level. 
     In the Nch transistors, when the input terminal INA is set to the L level and the input terminals INB, INC, and IND are set to the H level, the QN 1 , QN 8 , and QNB connected to the input terminal INA are turned off, and the QN 2 , QN 6 , and QNC connected to the input terminal INB, the QN 3 , QN 7 , and QN 9  connected to the input terminal INC, and the QN 4 , QN 5 , and QNA connected to the input terminal IND are turned on. 
     In this situation, because the transistor array TA 1  includes the N-ch transistor QN 1  which has been turned off, the entire transistor array TA 1  has been turned off. Similarly, because the transistor array TA 2  includes the Nch transistor QN 8  which has been turned off, the entire transistor array TA 2  has been turned off. Similarly, because the transistor array TA 3  includes the Nch transistor QNB which has been turned off, the entire transistor array TA 3  has been turned off. 
     Thus, the transistor arrays TA 1 , TA 2 , and TA 3  which are provided in parallel between the output terminal OUT and GND have been turned off, and the output terminal OUT is not connected to GND. Because the input terminal INA is at the L level, the Pch transistor QP 1  has been turned on so that the source voltage Vdd is connected to the output terminal OUT. 
     Thus, when the input terminal INA is at the L level and the input terminals INB, INC, and IND are at the H level, the output terminal OUT outputs a signal at the H level. 
     When all the input terminals INA, INB, INC, and IND are set to the H level, all the Nch transistors QN 1  to QNC have been turned on. That is, all the transistor arrays TA 1 , TA 2 , and TA 3  become conductive so that the output terminal OUT is connected to GND. Because all the input terminals INA to IND are at the H level, the Pch transistors QP 1  to QP 4  have been turned off so that the source voltage Vdd is not connected to the output terminal OUT. 
     Thus, when all the input terminals INA, INB, INC, and IND are set to the H level, the output terminal OUT outputs the signal at the L level. 
     The operation of the embodiment will be explained with reference to the timing chart of FIG.  2 . Before the point of time t 21 , a signal at the L level is input to the input terminal INA, and signals at the H level are input to the input terminal INB, INC, and IND. Accordingly, the output terminal OUT outputs the signal at the H level. 
     At the point of time t 21 , when the input terminal INA is changed from the L level to the H level while maintaining the input terminals INB to IND at the H level, the output terminal OUT is changed from the H level to the L level between the time of period tpdA from t 21  to t 22 . 
     At the point of time t 23 , when the input terminal IND is inverted from the H level to the L level while maintaining the input terminals INA to INC at the H level, the output terminal OUT is changed from the L level to the H level between the time of period tpdD from t 23  to t 24 . 
     At the point of time t 25 , when the input terminal IND is inverted from the L level to the H level while maintaining the input terminals INA to INC at the H level, the output terminal OUT is changed from the H level to the L level between the time of period tpdD from t 25  to t 26 . 
     The output level inversion time of the output terminal OUT when the level at the input terminal INA is inverted, that is, the time of period tpdA between t 21  and t 22  is identical to those of the output terminal OUT when the level at the input terminal IND is inverted, that is, the time of period tpdD from t 23  to t 24  and the time of period tpdD from t 25  to t 26 . 
     The electric charge or discharge, when the level of the output terminal is changed as the level of the input terminal INA is changed, is almost the same as that when the level of the output terminal is changed as the level of the input terminal IND. 
     When only the input terminal INA is at the L level and the INB to IND is at the H level, only the Pch transistor QP 1  has been turned on, and the QP 2  to QP 4  have been turned off. Further, the Nch transistor QN, QN 8 , and QNB have been turned off, and the other transistors QN 2  to QN 4 , QN 5  to QN 7 , QN 9 , QNA, and QNC have been turned on. 
     In this situation, because the Pch transistor QP 1  has been turned on, the output terminal is set at the H level. Accordingly, all the areas connected to the output terminal OUT are set at the H level. In other words, the areas are full of positive charge. Specifically, the positive charge is applied to the junction capacities at the connected portions of the sources and drains of the Pch transistors QP 1  to QP 4 , the connected portions of the drains of the Nch transistors QN 1 , QN 8 , and QNB, and the connected portions of drains and sources of the Nch transistors QN 5  to QN 7 , QN 9 , and QNA. 
     When the input terminals INB to IND are at the H level, only the input terminal INA is changed from the L level to the H level, the Pch transistor QP 1  is turned off, the Nch transistors QN 1 , QN 8 , and QNB are turned on, and the output terminal OUT is accordingly inverted from the H level to the L level. 
     At that time, the electric charges stored to the junction capacities at the drains of QN 1 , QN 8 , and QNB, the drains and sources of QN 5  to QN 7 , QN 9 , QNA, and the drains of QP 1 , QP 2 , QP 3 , and QP 4 , which were connected to the output terminal OUT, are discharged. The amount of discharge is in proportion to the junction capacities. When the electric charge stored at one of the terminals of the transistor, that is, the drain or source is 0.5, the electric discharge caused by changing only the input terminal INA from the L level to the H level is 0.5×3+0.5×2×5+0.5×4=8.5. 
     The time tpdA required to change the output terminal OUT from the H level to the L level, which is the output level changing time, is in proportion to the electric discharge of 8.5. 
     On the other hand, when the input terminals INA to INC are at the H level and only IND is at the L level, only the Pch transistor QP 4  has been turned on, and the other QP 1  to QP 3  have been turned off. The Nch transistors QN 4 , QN 5 , and QNA have been turned off, and the other QN 1  to QN 3 , QN 6  to QN 8 , QN 9 , QNB, and QNC have been turned on. 
     In this situation, the output terminal is set at the H level by the Pch transistor QP 4 , which has been turned on. Accordingly, all the areas which are connected to the output terminal OUT are at the H level. These areas are full of positive electric charge. Specifically, the areas connected to the output terminal OUT are the connection portions of the sources and drains of the Pch transistors QP 1  to QP 4 , and the connected portions of the drains and sources of the Nch transistors QN 1  to QN 3  and QN 9 , and the connected portions of the drains of QN 4 , QN 5 , and QNA. Positive electric charge is filled to the junction capacities of these connected portions. 
     In this situation, that is, when the input terminals INA to INC are at the H level, only the input terminal IND is changed from the L level to the H level, the Pch transistor QP 4  is turned off, Nch transistors QN 4 , QN 5 , and QNA are turned on, and the output terminal OUT is accordingly changed from the H level to the L level. 
     At that time, the electric charge stored to the junction capacities at the drains and sources of QN 1  to QN 3 , and QN 9 , the drains of QN 4 , QN 5 , and QNA, and the drains of QP 1 , QP 2 , QP 3 , and QP 4 , which were connected to the output terminal OUT, are discharged. When the electric charge stored at one of the terminals of the transistor is 0.5, the electric discharge is 0.5×2×4+0.5×3+0.5×4=7.5. 
     The output level changing time tpdD of the output terminal OUT is in proportion to the electric discharge of 7.5. 
     When the output terminal OUT is changed from the H level to the L level, the electric discharge caused by changing the input terminal INA is almost the same as that by changing the input terminal IND. Accordingly, the output level changing times tpd of the output terminal OUT are also the same. 
     The reason for this is that the electric charge or discharge of 6.5 stored in the areas between the Nch transistors QN 1 , QN 8 , and QNB, whose gates are connected to the input terminal INA, and the output terminal OUT is almost the same as the electric charge or discharge of 5.5 stored in the areas between the Nch transistors QN 4 , QN 5 , and QNA, whose gates are connected to the input terminal IND and the output terminal OUT. 
     This is the same in the input terminals INB and INC. The input terminal INB is connected to the gates of the Nch transistors QN 2 , QN 6 , and QNC, and the electric charge or discharge stored in the areas between these Nch transistors and the output terminal OUT is 6.5. The input terminal INC is connected to the gates of the Nch transistors QN 3 , QN 7 , and QN 9 , and the electric charge or discharge stored in the areas between these Nch transistors and the output terminal OUT is 5.5. 
     That is, whichever level of the input terminal INA, INB, INC, or IND is changed, the electric charge or discharge as the output level of the output terminal OUT varies is almost the same. 
     The second embodiment of the present invention will be explained with reference to FIG.  3 . The second embodiment is a four-input NAND circuit using Bi-CMOS. INA to IND are input terminals to the four-input NAND circuit, and OUT is an output terminal from the four-input NAND circuit. QP 31  to QP 34  are Pch transistors, and QN 31 , QN 32 , . . . QN 3 M, QN 3 N, and QN 3 O are Nch transistors. Further, an output bipolar transistor QB 31  is provided. 
     The Pch transistors QP 31  to QP 34  are connected in a parallel manner between the power source voltage Vdd and the output terminal OUT. The sources of QP 31  to QP 34  are connected to the source voltage Vdd, die drains of QP 31  to QP 34  are connected to a connected portion NO 1 , that is, the base of the output bipolar transistor Q 31 . 
     In a manner similar to the first embodiment, the Nch transistors QN 31 , QN 32 , QN 33 , and QN 34  form a transistor array TA 31 , the Nch transistors QN 35 , QN 36 , QN 37 , and QN 38  form a transistor array TA 32 , and the Nch transistors QN 39 , QN 3 A, QN 3 B, and QN 3 C form a transistor array TA 33 . 
     In the transistor array TA 31 , the source of QN 31  is connected to the drain of QN 32 , the source of QN 32  is connected to the drain of QN 33 , and the source of QN 33  is connected to the drain of QN 34 . The transistor arrays TA 32 , and TA 33  have a similar structure. 
     The transistor arrays TA 31 , TA 32 , and TA 33  are connected in parallel to each other between the connection portion NO 1 , which is connected to the base of the output bipolar transistor QB 31 , and GND. 
     One of terminals of the transistor array TA 31  is connected to the connection portion NO 1 , and the other terminal is connected to GND. That is, the drain of QN 31  is connected to the connection portion NO 1 , and the source of QN 34  is connected to GND. The transistor arrays TA 32  and TA 33  have a similar structure. 
     The connections of the input terminals INA, INB, INC, and IND with the gates of the Pch transistors QP 31  to QP 34  and the gates of the Nch transistors QN 31  to QN 3 C are similar to those of the first embodiment. 
     The Nch transistors QN 3 D, QN 3 E, QN 3 F, and QN 3 G form a transistor array TA 34 , the Nch transistors QN 3 H, QN 31 , QN 3 J, and QN 3 K form a transistor array TA 35 , and the Nch transistors QN 3 L, QN 3 M, QN 3 N, and QN 3 Q form a transistor array TA 36 . 
     In the transistor array TA 34 , the source of QN 3 D is connected to the drain of QN 3 E, the source of QN 3 E is connected to the drain of QN 3 F, and the source of QN 3 F is connected to the drain of QN 3 G. The transistor arrays TA 35 , and TA 36  have a similar structure. 
     The transistor arrays TA 34 , TA 35 , and TA 36  are connected in parallel to each other between the output terminal OUT and GND. 
     One of terminals of the transistor array TA 34  is connected to the output terminal OUT, and the other terminal is connected to GND. That is, the drain of QN 3 D is connected to the output terminal OUT, and the source of QN 3 G is connected to GND. The transistor arrays TA 35  and TA 36  have a similar structure. 
     The connections of the input terminals INA, INB, INC, and IND to the gates of the Nch transistors QN 3 D to QN 30  are similar to the connections of the gates of the Nch transistors QN 31  to QN 3 C. 
     The collector of the output bipolar transistor QB 31  is connected to the source voltage VDD, its base is connected to the connection portion NO 1 , and its emitter is connected to the output terminal OUT. 
     When the input terminal INA is set to the L level, the Pch transistor QP 31  is turned on and becomes conductive, so that the source voltage VDD is applied to the connection portion, that is, the base of the output bipolar transistor, and QB 31  is turned on. As QB 31  has been turned on, the source voltage Vdd is output through the collector and emitter of QB 31  from the output terminal OUT. Thus, the output terminal OUT is changed to the H level. 
     Similarly, when the input terminal INB, INC, or IND is set to the L level, QP 32 , QP 33 , or QP 34  is turned on and becomes conductive, so that the source voltage Vdd is output from the output terminal OUT. Thus, the output terminal OUT is changed to the H level. 
     That is, when at least one of input terminals INA, INB, INC, and IND is set to the L level, the output terminal OUT outputs a signal at the H level. 
     When the input terminal INA is set to the L level and the input terminals INB, INC, and IND are set to the H level, the Nch transistors QN 31 , Qn 38 , QN 3 B, Qn 3 D, QN 3 K, and QN 3 N which are connected to the input terminal INA are turned off, and the other Nch transistors are turned on. 
     In this situation, the transistor arrays TA 31  to TA 36  have been turned off. Therefore, the connection portion NO 1  is not connected to GND, and the output terminal OUT is not connected to GND. On the other hand, since the input terminal INA is at the L level, the Pch transistor QP 31  has been turned on, QB 31  has been turned on, and accordingly the source voltage Vdd is connected to the output terminal OUT. Thus, the output terminal OUT is at the H level. 
     Thus, when the input terminal INA is set to the L level and the input terminals INB, INC, and IND are set to the H level, the output terminal OUT outputs the signal at the H level. 
     Further, when all the input terminals INA, INB, INC, and IND are set to the H level, all the Nch transistors QN 31  to QN 30  are turned on, and all the transistor arrays TA 31  to TA 36  become conductive. 
     By making the transistor arrays TA 31  to TA 3  conductive, the connection portion NO 1 , that is, the base of the output bipolar transistor QB 31 , is connected to GND, and this QB 31  is turned off. On the other hand, since all the input terminals INA to IND are at the H level, all the Pch transistors QP 31  to QP 34  have been turned off, and therefore the source voltage Vdd is not connected to the connection portion NO 1 . Further, since the transistor arrays TA 34  to TA 36  have been conductive, the output terminal OUT is connected to GND, and thus the output terminal OUT is at the L level. 
     Accordingly, when all the input terminals INA, INB, INC, and IND are set to the H level, the output terminal OUT outputs the signal at the L level. 
     Next, the operation of the embodiment will be explained with reference to the timing chart of FIG.  4 . At the point of time t 41 , when the input terminal INA is inverted from the L level to the H level while maintaining the input terminals INB to IND at the H level, the connection portion NO 1  is inverted from the H level to the L level from t 41  to t 42 , and accordingly the output terminal OUT is inverted from the H level to the L level from t 41  to t 43 . 
     Then, at the point of time t 44 , when the input terminal IND is inverted from the H level to the L level while maintaining the input terminals INA to INC at the H level, the connection portion NO 1  is inverted from the L level to the H level from t 44  to t 45 , and the output terminal OUT is changed from the L level to the H level from t 44  to t 46 . 
     At the point of timet 47 , when the input terminal IND is inverted from the L to the H level while maintaining the input terminals INA to INC at the H level, the connection portion NO 1  is changed from the H level to the L level from t 47  to t 48 , and the output terminal OUT is changed from the H level to the L level from t 47  to t 49 . 
     In this embodiment, whichever the input level to the input terminals INA, INB, INC, and IND is changed, the electric charge or discharge caused by changing the levels of the connection portion NO 1  and the output terminal OUT is almost the same, according to the connections between the respective input terminals and the gate terminals of the Nch transistors. 
     The five-input NAND circuit, which is the third embodiment of the present invention, will be explained with reference to FIG.  7 . In this figure, INA to INE are input terminals to the five-input NAND circuit, and OUT is an output terminal from the five-input NAND circuit. Further, QP 1  to QP 5  are Pch transistors, and QN 1  to QN 20  are Nch transistors. 
     The Pch transistors QP 1  to QP 5  are connected in parallel to each other between the source voltage Vdd and the output terminal OUT. That is, the sources of QP 1  to QP 5  are connected to the source voltage Vdd, and the drains of QP 1  to QP 5  are connected to the output terminal OUT. The gates of QP 1 , QP 2 , QP 3 , QP 4 , and QP 5  are connected to five input terminals INA, INB, INC, IND, and INE, respectively. 
     The Nch transistors QN 1  to QN 5  are connected in series, forming a transistor array TA 1 . In the transistor array TA 1 , the source of QN 1  is connected to the drain of QN 2 , the source of QN 2  is connected to the drain of QN 3 , the source of QN 3  is connected to the drain of QN 4 , and the source of QN 4  is connected to the drain of QN 5 . 
     The transistor array TA 1  is connected between the output terminal OUT and GND. That is, the drain of QN 1  is connected to the output terminal OUT, and the source of QN 5  is connected to GND. 
     Similarly, the Nch transistors QN 6  to QN 10  form a transistor array TA 2 . The transistor array TA 2  is connected between the output terminal OUT and GND. Further, the Nch transistors QN 11  to QN 15  form a transistor array TA 3 , which is connected between the output terminal OUT and GND. Further, the Nch transistors QN 16  to QN 20  form a transistor array TA 4 , which is connected between the output terminal OUT and GND. 
     The input terminal INA is connected to the gates of the Nch transistors QN 1 , QN 6 , QN 11 , and QN 16 , which are the nearest to the output terminal OUT. The input terminal INB is connected to the gates of the Nch transistors QN 2 , QN 7 , QN 12 , and QN 17 . The input terminal INC is connected to the gates of the Nch transistors QN 4 , QN 8 , QN 13 , and QN 18 . The input terminal IND is connected to the gates of the Nch transistors QN 4 , QN 9 , QN 14 , and QN 19 . The input terminal INE is connected to the gates of the Nch transistors QN 5 , QN 10 , QN 15 , and QN 20 . 
     Next, the layout of the embodiment on the IC will be explained with reference to the layout diagram of FIG.  8 . On the IC, the transistor arrays TA 1  to TA 4  are aligned in a line. 
     In the transistor array TA 1 , the Nch transistors are arranged in the order QN 5 , QN 4 , QN 3 , QN 2 , and QN 1  from the left of FIG.  8 . In the transistor array TA 2 , the Nch transistors are arranged in the order QN 6 , QN 7 , QN 8 , QN 9 , and QN 10  from the left of FIG.  8 . In the transistor array TA 3 , the Nch transistors are arranged in the order QN 15 , QN 14 , QN 13 , QN 12 , and QN 11  from the left of FIG.  8 . In the transistor array TA 4 , the Nch transistors are arranged in the order QN 16 , QN 17 , QN 18 , QN 19 , and QN 20  from the left of FIG.  8 . That is, QN 1  to QN 20  are aligned in a line. The transistor arrays TA 1  to TA 4  are formed in separated well areas. 
     The source area of the transistor QN 5  in the transistor array TA 1  is connected via an aluminum first-layer connection to a GND first-layer connection. The drain area of QN 5  is in the same diffusion area as the source area of QN 4 , which is located next to QN 5 . The drain area of QN 4  is connected to the source area of the next QN 3  by a single aluminum first-layer connection. 
     The drain area of QN 3  is in the same as the source area of the next QN 2 , and the drain area of QN 2  is in the same diffusion area as the source area of the next QN 1 . The drain of QN 1  is connected to the drain area of QN 6  in the next transistor array TA 2  by a single aluminum first-layer connection and to the output terminal OUT by a single aluminum first-layer connection. 
     The source area of QN 6  is in the same diffusion area as the drain area of the next QN 7 . The source area of QN 7  is connected to the drain area of the next QN 8  by a single aluminum first-layer connection. The source area of QN 8  is in the same diffusion area as the drain area of the next QN 9 . The source area of QN 10  is connected to the GND aluminum first-layer connection by a single aluminum first-layer connection. 
     The arrangement of the transistors in the transistor array TA 3  is similar to that of the transistor array TA 1 , and the arrangement of the transistors in the transistor array TA 4  is similar to that of the transistor array TA 2 . 
     Thus, the terminals of four transistor arrays TA 1  to TA 4  connected to the GND terminal are located at both ends of and in the middle of the line of the transistor arrays TA 1  to TA 4 . The aluminum first-layer connection from the output terminal OUT to the transistor arrays TA 1  to TA 4  is shortened. Of five Nch transistors connected in a line in the transistor arrays, pairs of drains and sources of the transistors close to each other are common, the aluminum connection between each pair of the transistors is single, and connections at both ends of the junction of each transistor. Therefore, when only the input terminal INE is changed from the L level to the H level, the length of the discharge area of the aluminum first-layer connection is 135 μm, which corresponds to 27 fF. Since the total junction capacity of the transistors for the discharge is 72 fF, the total discharge is 99 fF. 
     Because the total discharge of 99 fF is 65% of 152 fF, which is the total discharge from the conventional five-input NAND circuit, the output level changing time tpd is accelerated to 1.5 times. 
     The operation of this embodiment will be explained with reference to FIG.  9 . At the point of time t 31 , when the input terminal INE is inverted from the H level to the L level, the output terminal OUT is inverted from the L level to the H level from t 31  to t 32 . At the point of time t 33 , when the input terminal INE is inverted from the L level to the H level, the output terminal OUT is inverted from the H level to the L level from t 33  to t 34 . 
     When the output level is changed, the total electric charge or discharge is 99 fF, which corresponds to 65% of the electric charge or discharge of 152 fF of the conventional five-input NAND circuit, and the output level changing time tpd is accelerated to 1.5 times. 
     This invention may be embodied in other forms or carried out in other ways without departing from the spirit thereof. The present embodiments are therefore to be considered in all respects illustrative and not limiting, the scope of the invention being indicated by the appended claims, and all modifications falling within the meaning and range of equivalency are intended to be embraced therein.