Abstract:
A programmable logic array (PLA) circuit includes a product term array and a sum term array. The product term array is coupled to the sum term array via a control transistor. A gate electrode of the control transistor is coupled to an output of the product term array, and a source (or drain) electrode is coupled to an input end of the sum term array. A drain (or source) electrode of the control transistor is coupled to a power source. N-channel type transistors are employed in the product term and the sum term arrays, while a P-channel type transistor is employed as the control transistor.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a semiconductor circuit having a programmable logic array (PLA), and particularly to a programmable logic array circuit including P-channel transistors and N-channel transistors. 
     2. Description of the Prior Art 
     A programmable logic array (hereinafter called PLA) circuit basically includes two blocks, one that is a sum term array (an OR array) block and the other that is a product term (an AND array) block. To reduce power consumption, complementary circuits are employed in the two array blocks, for example, N-channel transistors are provided in the product term array, while P-channel transistors are provided in the sum term array. In this case, a predetermined number of N-channel transistors are connected to each product term line in series, while all gate electrodes of P-chanel transistors are connected to the product term line in parallel. As a result, gate capacitances corresponding to the number of P-channel transistors connected to the product term line are directly coupled to the product term line. Therefore, a long period of time must be spent to discharge electricity on the product term line. In addition, since all drain electrodes of the P-channel transistors are connected in common to a sum term line coupled to an output terminal, a decision of an output level must be delayed by drain capacitances. Therefore, a shortcoming of the conventional PLA circuit is that the response speed of the circuit is slow. In particular, where the product term lines and/or the sum term lines increase in number, the operation speed of the PLA circuit is slowed down significantly. 
     Further, the operation speed of the PLA circuit depends on the number of P-channel transistors to be connected to the product term line as described above and, in particular, on the discharge speed of the product term line to which most P-channel transistors are connected. However, since the number of P-channel transistors to be connected to the product term line is determined by a program to be set in the PLA circuit, the operation speed of the PLA circuit is not known until the program is determined. In an integrated circuit above, such as a microprocessor, a plurality of PLA circuits are employed. For example, an execution unit requires a PLA circuit for converting an instruction code of one type to a code of another type. In a bus control unit, a PLA circuit is used as a decoder for selecting a register to be accessed. In an instruction decoding unit, a PLA circuit is useful as an operand selector. However, as described above, since the PLA operation speed is unknown, a logic design of the microcprocessor is made difficult and the design of a timing control unit generating timing signals for controlling input/output timings of a signal becomes particularly difficult. For correct operation of the microprocessor, the timing control must depend on the PLA circuit with the slowest speed, thus preventing the design of a microprocessor capable of a high-speed operation. 
     SUMMARY OF THE INVENTION 
     An object of the present invention is to provide a programmable logic array circuit with a quick response and low power consumption. 
     Another object of the present invention is to provide an improved PLA circuit adaptable to a high-speed microprocessor. 
     Still another object of the present invention is to provide a PLA circuit in which an electric signal stored on a product term line can be discharged at a high speed and the discharge speed is constant regardless of the number of transistors connected to the product term line in parallel. 
     A programmable logic array (PLA) circuit according to the present invention includes a product term (AND) array and a sum term (OR) array. The output terminal of the product term array is coupled to an input electrode of a control transistor whose source (or drain) electrode is coupled to the input of the sum term array. The drain (or source) electrode of the control transistors is coupled to a power source. In other words, the product term array is coupled to the sum term array via the control transistor. A control transistor is inserted between each product term output end and the respective sum term input end. 
     In the PLA circuit of the present invention, transistors employed in the product term array and transistors employed in the sum term array are the same conductivity type transistors, for example N-channel transistors. However, the control transistor has a different conductivity from that of the transistors in the product term array and the sum term array. If N-channel transistors are employed in the product term array and in the sum term array, a P-channel transistors is used as the control transistor. The P-channel transistor is controlled by the output of the product term array. In this case, when all N-channel transistors connected in series to a product term line are turned on in response to input data applied to a plurality of input terminals, the P-channel transistor operating as the control transistor is turned on. Thus the power source is coupled to the input end of the sum term array. As a result, in this case, all N-channel transistors connected in parallel to the input end are turned on. 
     According to the present invention, each output end of the product term array is not directly connected to the input end of the sum term array, but is connected to a gate electrode of the corresponding control transistor, through which the input end of the sum term array is operatively coupled to the power source. Since the output end of the product term array is isolated from gate capacitance of a plurality of transistors in the sum term array, capacitance of the output end of the product term array is extremely reduced. Therefore, the output level of the product term array can be determined at a high speed. 
     Further, N-channel transistors can be employed in the sum term array. A mutual conductance (gm) of the N-channel transistor is larger than that of the P-channel transistor. Therefore, if the same drain capacitsance is that of the P-channel transistor is added to the sum term line, the signal propagation speed becomes high. 
     As described above, according to the present invention, a PLA circuit with a high speed operation can be provided. Moreover, since a gate capacitance coupled to each product term line is constant, the operation speed of the PLA circuit may be determined independent of a program to be used, thus permitting the circuit design to become relatively easy. 
    
    
     DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a circuit diagram of a conventional PLA circuit; 
     FIG. 2 is a timing chart of the PLA circuit shown in FIG. 1; 
     FIG. 3 is a circuit diagram of a PLA circuit according to one embodiment of the present invention; 
     FIG. 4 is a timing chart of the PLA circuit shown in FIG. 3; and 
     FIG. 5 is a circuit diagram of a PLA circuit according to another embodiment of the present invention. 
    
    
     DETAILED DESCRIPTION OF THE EMBODIMENTS 
     FIG. 1 is a conventional PLA circuit in which 1 input signals I 1  to I l  are applied to the respective input terminals of a product term array 1 and n output signals O 1  to O n  are derived from a sum term array 2. In the product term array, N-channel MOSFETs are arranged according to a logical program, while the sum term array ciomprises an arrangement of P-channel transistors. Output ends P 1  to P m  of the product term array 1 are directly connected to the respective input ends of the sum term array 2. A control signal Ψ becomes &#34;high&#34; during a precharge period and becomes &#34;low&#34; during a sampling period. A signal Ψ is a complement signal of the Ψ signal. The product circuit 1 is coupled to ground through N-channel sampling MOSFETs, as shown in dotted line block 3. Referring also to FIG. 2, in a precharge period, the control signals φ and φ take the high and low levels, respectively, and product term output terminals P 1  to P m  are charged at V DD  potential by a precharge circuit 4 in which the Ψ signal is applied in common to each P-channel precharge MOSFET. Further, output lines connected to output terminals O 1  to O n  of the sum term array 2 are discharged at ground potential by a discharge circuit 5 in which the signal is applied in common to each N-channel discharge transistor. Thus, product term lines attain a V DD  potential, while sum term lines (output lines) attain a ground potential. At this moment, when input signals I 1  to I l  are applied to the product term array, N-channel transistors are turned on according to a pattern of the input signals. In a sampling period, when the signal Ψ becomes high, the N-channel sampling MOSFETs in block 3 are all turned on. Therefore, only the product term output line, in which all N-channel MOSFETs are turned on, is coupled to the ground. Then, V DD  potential at the product term output end is discharged toward the ground. For example, if the potential at the output end P 1  is discharged, all P-channel MOSFET connected to the output end P 1  are turned on. Thus, sum term lines connected to the turned on P-channel MOSFET are coupled to V DD  source, and &#34;high&#34; level signals are derived from output terminals O 1 , O 2  and O n . 
     In this prior art, however, a plurality of P-channel MOSFETs are connected to each product term line and their gate capacitances are coupled to product term output ends P 1  to P m . In other words, each output end has a large capacitance and is charged with a large amount of electrical charge. Therefore, when the output end (P 1  in the foregoing example) is discharged in the sampling period, a long period of time (delay time) is required for the potential of that end P1 to charge to the low level, as shown by the lower curve of the waveforms of P 1-m  in FIG. 2. In addition, a pluraity of P-channel MOSFETs with a small mutual conductance are connected in parallel to the sum term line, so than an output response is further delayed. 
     FIG. 3 is an improved PLA circuit diagram of the present invention in which N-channel MOSFETs are employed in both a product term array 1 and a sum term array 2. The product term array 1 is coupled to a sampling circuit 3. The sum term array 2 is coupled to a circuit 4 in which Ψ signal is commonly applied to all gate electrodes of N-channel transistors coupled to ground. The product term output terminals P 1  to P m  are connected to gate electrodes of P-channel control MOSFETs 10 1  to 10 m , respctively. Source electrodes of the P-channel control MOSFETs 10 1  to 10 m  are coupled to V DD , and their drain electrodes are connected to the respective input lines 20 1  to 20 m  of the sum term array 2, respectively. The sum term lines 30 1  to 30 n  are coupled to V DD  via P-channel precharge MOSFETs 40 1  to 40 n , respectively in circuit 5. Futher, P-channel precharge MOSFETs 11 1  to 11 m  are coupled to the respective product term output terminals P 1  to P m . 
     Operation of the PLA circuit of FIG. 3 will be described with reference to FIG. 4. 
     In a precharge period, Ψ signal becomes &#34;high&#34;, while Ψ signals becomes &#34;low&#34;. Accordng to the Ψ and Ψ signals, the product term output terminals P 1  to P m  are precharged at V DD  potential. The sum term lines 30 1  to 30 n  are also precharged at V DD  potential. However, input lines 20 1  to 20 m  of the sum term array 2 are set at ground potential. At this moment, the P-channel control MOSFETs 10 1  to 10 m  are turned off because a V DD  potential at the product term output terminals P 1  to P m  is applied to their gate electrodes. 
     In a sampling period, Ψ signal becomes &#34;low&#34;, while Ψ signal becomes &#34;high&#34;, so that N-channel MOSFETs in the sampling circuit 3 are turned on, and P-channel MOSFETs 11 1  to 11 m  and 40 1  to 40 n  are all turned off. In this case, if N-channel MOSFETs coupled in series to the product term output ends P 1  to P m  are turned on according to input signals I 1  to I l , the potential at P 1  to P M  becomes ground potential. Thus, the P-channel control MOSFETs 10 1  to 10 M  are turned on. As a result, V DD  potential is applied to the input lines 20 1  20m . Then, N-channel MOSFETs connected to the input lines 20 1  -20m in the sum term array are turned on. The sum term lines 30 1  -30n are coupled to ground, so that a &#34;low&#34; level signal is derived from the output terminal O 1 . 
     On the other hand, if at least one N-channel MOSFET coupled to a product term output terminal, P 1 , for instance, turns off upon receiving a low level signal and P 1  rises to V DD . Therefore, the P-channel control MOSFET 10 1 , is not turned on. In this case, N-channel MOSFETs connected to the input line 20 1  are not turned on. Therefore, a &#34;high&#34; level signal is derived from the output terminal O 1 , in the case in which input lines 20 2  -20 m  are also low. 
     As described above, according to the PLA circuit in FIG. 3, only one gate capacitance of the P-channel control MOSFET is coupled to the respective product term output terminal. Therefore, the P-channel control MOSFETs can quickly respond to the input signals. Further, N-channel MOSFETs can be employed in the sum term array. Since the mutual conductance (gm) of the N-channel MOSFET is large, a delay time on the sum term lines 30 1  to 30 n  can be greatly reduced. As a result, a high speed operation can be obtained. 
     Furthermore, the PLA circuit in FIG. 3 can be modified as shown in FIG. 5. In this embodiment, N-channel MOSFETs 60 1  to 60 m  are provided in place of the N-channel MOSFETs of the circuit 4 in FIG. 3, for discharging the input lines 20 1  to 20 m . They are connected to nodes 50 1  to 50 m  to which the control transistors 10 1  to 10 m  and the input lines 20 1  to 20 m  are connected. In detail, one end of each N-channel transistor 60 1  to 60 m  is connected to the corresponding one of the nodes 50 1  to 50 m  and the other end is connected to the ground. Their gate electrodes are connected to the corresponding output ends P 1  to P m  of the product term array. The other end of each input line 20 1  to 20 m  is open. The other structure of this embodiment is the same as in FIG. 3. In this embodiment, the N-channel transistors 60 1  to 60 m  are all turned on by the precharged high level of the output ends P 1  to P m , during the precharge period, to discharge all the input lines 20 1  to 20 m  which thus become ground potential. At this time, the P-channel transistors 10 1  to 10 m  are turned off to disconnect the input lines 20 1  to 20 m  from V DD . In the sampling period, one of the output ends P 1  to P m  of the product term array is coupled to the ground, and the charge at the corresponding output end is discharged. As a result, the P-channel transistors 10 1  to 10 m  and end is connected to the discharged output end is turned on, and the N-channel transistors, connected thereto are turned off, to connect the corresponding one of the input lines 20 1  to 20 m  to V DD . The N-channel transistors continue to clamp the input lines 20 1  to 20 m  to the ground and thereby prevents them from being affected by noises. Each output end of the product term array is coupled with gate capacitances of the two transistors only and, therefore, the discharge speed at the output end in the sampling period is high. 
     According to this embodiment, the control signal Ψ used in the circuit 4 in FIG. 3 can be omitted, and a static operation can be achieved.