PROGRAMMABLE LOGIC ARRAY AND GATES THEREFOR

Abstract: An AND gate (40) includes first and second input leads (42,43) and an output lead (44). The AND gate (40) includes a first N channel MOS ("NMOS") transistor (58) which couples the output lead (44) to ground in response to the signal (IN1) on the first input lead (42) and a second NMOS transistor (60) which couples the output lead (44) to ground in response to the signal (IN2) on the second input lead (43). A buffer (76) having a high output impedance is coupled to the output lead (44) and tends to maintain the output lead (44) in a constant state. When the signal on the first input lead (42) goes high, the first NMOS transistor (58) turns off and a PMOS transistor (64) turns on, thereby coupling the output lead (44) to a high voltage source (V H ) for a predetermined time period. If the second NMOS transistor (60) is off, the resulting pulse causes the AND gate output signal (Vout) to go high. The high impedance buffer (76) maintains the output lead (44) in the high state.

Description: This invention relates to gates and in particular to gates having applications in the field of digital integrated circuits more specifically programmable logic array (PLA) integrated circuits. Programmable logic array circuits such as the circuits described in the "PAL Programmable Array Logic Handbook" published in Monolithic Memories, Inc., in 1983 are well known in the art. (PAL is a registered trademark of Monolithic Memories, Inc., the present applicants. Reference is now made to Figures 1, 2a and 2b of the accompanying drawings, in which: Figure 1 schematically illustrates a programmable logic array constructed in accordance with the prior art, Figure 2a illustrates an AND gate using the notation of Figure 1, and Figure 2b illustrates the AND gate using more conventional logic symbol notation. Figure 1 illustrates a simple PLA circuit 10 including four input terminals I₀ through I₃, each of which is coupled to the input lead of a buffer BO through B3, respectively. Each buffer has an inverting output lead and a noninverting output lead. For example, buffer BO has an output lead 12a which provides a signal ISO , which is the inverse of the signal present on terminal I₀. Similarly, buffer BO has an output lead 12b, which provides a signal ISO, which is equal to the signal present at terminal I₀. Each of the output signals from buffers BO to B3 is presented as an input signal to an AND gate 14a. AND gate 14a is an 8-input AND gate, and each of the output leads of buffers BO to B3 is uniquely coupled to a single input lead of AND gate 14a. Figure 2a illustrates the eight input leads to AND gate 14a. Figure 2b illustrates AND gate 14a using the more conventional notation. In addition, fifteen other AND gates 14b to 14p are also connected to the output leads of buffers BO through B3 in the same manner as AND gate 14a. Thus, each of AND gates 14a to 14p is coupled to all eight output leads of buffers BO to B3. However, a purchaser of a PLA circuit has the option of severing the connection between a given buffer output lead and a given AND gate 14a to 14p. In some prior art circuits, this is done by opening a fuse similar to the fuses employed in programmable read only memories. In other prior art circuits this is done during the manufacturing process of the circuit. Regardless of how such connections are severed, the user can cause each AND gate 14a through 14p to provide a unique output signal dependent on a particular set of input signals. The output signals from AND gates 14a through 14p are sometimes referred to as the "product terms". (As used herein, the expression "product term" means the logical product resulting from a logical AND operation on a plurality of input signals, e.g., SIGNAL₁ . SIGNAL₂, while the expression "sum term" means the logical sum, resulting from a logical OR operation performed on a plurality of input signals, e.g., SIGNAL₁ + SIGNAL₂.) Also, as can be seen in Figure 1, a first OR gate 16a includes four input leads coupled to the output leads of AND gates 14m, 14n, 14o and 14p. OR gate 16a generates an output signal on an output lead 0₀ therefrom. Similarly, an OR gate 16b receives output signals from AND gates 14i, 14j, 14k and 14l and generates an output signal on an output lead 0₁ therefrom. In this way, programmable circuit 10 provides desired programmable Boolean functions which can be used in a variety of applications. As used in this specification, a programmable logic circuit which provides "desired programmable Boolean functions" is one which can be programmed by the system designer to provide any of a number of Boolean functions required in a given system design. This semicustom circuit provides an inexpensive replacement for a large number of integrated circuits which would otherwise be required. It is known in the art to manufacture PLAs using bipolar or CMOS processes. One advantage of using CMOS technology is that the resulting PLA consumes less power than a bipolar PLA. In fact, it is desirable to have PLAs consume as little power as possible. Also there is known from Patent Abstracts of Japan, vol. 9, no. 298 (E-361 )[2021], 26th November 1985, a gate comprising an input lead for receiving an input signal having first and second mutually exclusive states, a first voltage supply lead for receiving a first electrical potential, a second voltage supply lead for receiving a second electrical potential, an output lead for producing an output signal also having the first and second states, and a switch mens for coupling the output lead to the first voltage supply lead in response to the input signal being in the first state. Moreover, Patent Abstracts of Japan, vol. 3, no. 70 (E-117)[151], 16th June 1979 discloses a gate circuit incorporating components tending to maintain the state of the output lead. The present invention provides a gate comprising an input lead for receiving an input signal (IN1) having first and second mutually exclusive states, a first voltage supply lead for receiving a first electrical potential (GND), a second voltage supply lead for receiving a second electrical potential (V H ), an output lead for producing an output signal also having the first and second states, and first switch means for coupling the output lead to the first voltage supply lead in response to the input signal (IN1) being in the first state, the gate being characterized by second switch means coupled in series connection between the output lead and the second voltage supply lead, the second switch means closing for a first time period and then opening in response to the input signal (IN1) going from the first state to the second state, and state maintenance means tending to maintain the output signal of the output lead in one of the first and second states. The invention is better understood with reference to the drawings and detailed description below. The invention is further described below, by way of example, with reference to the remaining Figures of the accompanying drawings, in which: Figure 3 illustrates an AND gate constructed in accordance with the present invention, Figure 4 is a waveform diagram of various signals within the AND gate of Figure 3, Figure 5 illustrates a circuit for providing pulses to the circuit of Figure 3, Figure 6 illustrates an array of AND gates constructed in accordance with the present invention, and Figures 7 and 8 illustrate AND gates constructed in accordance with other embodiments of the invention. Figure 3 schematically illustrates an AND gate 40 constructed in accordance with the present invention. Referring to Figure 3, AND gate 40 includes a first input lead 42 for receiving an input signal IN1, a second input lead 43 for receiving an input signal IN2 and an output lead 44 for providing an output signal Vout. Signal IN1 is presented to a buffer 46 which provides a signal S1 equal to signal IN1 on an output lead 52a and a signal S1 equal to the inverse of signal IN1 on an output lead 52b. Buffer 46 is designed so that when signal IN1 goes from a low level to a high level, signal S1 does not go high until a predetermined time period after signal S1 goes low. Similarly, when signal IN1 goes from a high level to a low level, signal S1 does not go high until a predetermined time period (in one embodiment 10 nanoseconds) after signal S1 goes low. The relationship between signals IN1, S1 and S1 is illustrated in Figure 4. The reason for this timing relationship is discussed below. Signal IN2 is received by a buffer 48 which provides signals S2 and S2 on output leads 54a and 54b, respectively. The timing relationship between signal IN2, S2 and S2 is the same as that for IN1, S1 and S1 described above. This timing relationship is also illustrated in Figure 4. Input signals IN1 and IN2 of Figure 4 are merely examples of input signal waveforms provided for illustrative purposes only. Other input signal waveforms can also be applied to AND gate 40. Referring to Figure 4, during a first time period T1, input signals IN1 and IN2 are both low, and therefore signals S1 and S2 are low and signals S1 and S2 are high. An N channel MOS ("NMOS") transistor 58 couples output lead 44 to ground when signal S1 is high. Similarly, an NMOS transistor 60 couples output lead 44 to ground when signal S2 is high. Therefore, when signal S1 or signal S2 is high, output signal Vout is low. Of importance, a pair of P channel MOS ("PMOS") transistors 64 and 66 are coupled in series between output lead 44 and a terminal 62 which receives a voltage VH (typically about 5 volts). Because signal S1 is low during time period T1, PMOS transistor 66 is on. However, because signal S1 is high, PMOS transistor 64 is off and output lead 44 is not connected to terminal 62. Similarly, PMOS transistors 67 and 68 are coupled in series between output lead 44 and a terminal 70 which receives voltage VH. Although during time period T1, PMOS transistor 68 is on (because signal S2 is low), PMOS transistor 67 is off (because signal S2 is high). Therefore, output lead 44 is not connected to terminal 70 during time period T1. At the end of time period T1, signal IN1 goes high and signal S1 goes low almost immediately, thereby turning off NMOS transistor 58 and turning on PMOS transistor 64 (time period T2 of Figure 4). As mentioned above, signal S1 does not go high until 10 nanoseconds after signal S1 goes low. During this time, PMOS transistors 64 and 66 are both on, and output lead 44 is coupled to terminal 62. However, the series impedance of PMOS transistors 64 and 66 is greater than the impedance of NMOS transistor 60 and therefore output signal Vout remains low. At the end of time period T2, signal S1 goes high, thereby turning off transistor 66. Therefore, during time period T3, output lead 44 is no longer connected to terminal 62 and transistor 58, 64 and 66 have no affect on output lead 44. However, output lead 44 remains connected to ground via NMOS transistor 60. At the end of time period T3, input signal IN2 goes high, thereby causing signal S2 to go low, turning off NMOS transistor 60 and turning on PMOS transistor 67. However, signal S2 does not go high until 10 nanoseconds after signal S2 goes low. Therefore, during time period T4, signals S2 and S2 are both low and PMOS transistors 67 and 68 are both on. Because of this, output lead 44 is coupled to terminal 70 and therefore charges to voltage VH. It is noted that output lead 44 is connected to a first inverting buffer 74 which drives a second inverting buffer 76. Second inverting buffer 76 has a high output impedance and drives output lead 44, thereby tending to maintain output signal Vout constant. Because buffer 76 has a high output impedance, output lead 44 is pulled high when PMOS transistors 67 and 68 turn on, even though buffer 76 attempts drive output lead 44 with a low voltage when signal IN2 first goes high. Thus, PMOS transistors 66 and 67 override buffer 76. After signal Vout goes high, buffer 76 changes state and drives output lead 44 with a high voltage. After time period T4, signal S2 goes high, thereby turning off PMOS transistor 68. At this time, transistors 60, 67 and 68 have no affect on output lead 44. However, because of inverting buffers 74 and 76, output lead 44 is maintained at a high voltage during time period T5. At the end of time period T5, input signal IN1 goes low, which causes signal S1 to go low, thereby turning on PMOS transistor 64. Thus, during this time period, PMOS transistors 64 and 66 are both on. This has no effect on output lead 44, since signal Vout is already high. At the end of time period T6, signal S1 goes high, thereby turning off PMOS transistor 64 and turning on NMOS transistor 58. At this time, output lead 44 is again coupled to ground via NMOS transistor 58 and output signal Vout goes low. It will be appreciated by those skilled in the art in light of the teachings of this invention, that output signal Vout on output lead 44 goes low even though inverting buffer 76 tries to drive output lead 44 with a high voltage because inverting buffer 76 has a high output impedance. Thus, NMOS transistor 58 overrides buffer 76. After signal Vout goes low, high output impedance buffer 76 changes state and drives output lead 44 with a low voltage. At the end of time period T7, signal IN2 goes low, thereby causing signal S2 to go low, and turning on PMOS transistor 67. Thus, at the end of time period T7, output lead 44 is coupled to terminal 70 via PMOS transistors 67 and 68. However, since the impedance of series connected transistors 67 and 68 is greater than the impedance of transistor 58, signal Vout remains low. At the end of time period T8, signal S2 goes high, turning off PMOS transistor 67 and turning on NMOS transistor 60. At this time, output lead 44 is coupled to ground through transistor 60 as well as transistor 58, and voltage Vout remains low. Figure 5 schematically illustrates buffer 46, which ensures that signals S1 and S1 have the appropriate timing relationship. Buffer 48 is identical to buffer 46. It will be appreciated by those skilled in the art in signal S1 goes high only a certain delay time after light of the teachings of this invention, that the reason signal S1 goes low is to ensure that during a brief time period (and only a brief time period), PMOS transistors 64 and 66 are both on. It is necessary to ensure that signal S2 goes high only a predetermined time after signal S2 goes low for similar reasons. In the embodiment of Figure 3, it is not necessary to ensure that signal S1 does not go high until a predetermined time period after signal S1 goes low (time period T6). AND gate 40 would function if signal S1 went low at the same time signal S1 went high. However, as will be explained below, in other embodiments, this aspect of the timing relationship illustrated in Figure 4 is necessary. Figure 6 schematically illustrates a set of three AND gates 100a to 100c. AND gates 100a to 100c can be part of a larger array of AND gates, such as the array of AND gates within a PLA. In such an embodiment, output leads 102a to 102c of AND gates 100a to 100c are connected to an OR gate (not shown). AND gates 100a to 100c receive four input signals IN101 to IN104. It is seen that the electrical connection between output lead 102a of AND gate 100a and NMOS transistor 104g is severed. Similarly, the electrical connection between output lead 102a and PMOS transistor 105g is severed. In this way, signal Vout a on output lead 102a is independent of signal IN103. By severing the electrical connection between selected output leads and transistors, AND gates 100a to 100c can be programmed to provide desired Boolean functions. These electrical connections can be severed either during the manufacturing process (e.g. by not providing electrical connections in appropriate places) or after the manufacturing process (e.g. by opening a polycrystalline silicon fuse or by storing electrical charge on the floating gate of an appropriately connected floating gate transistor). These electrical connections can be severed in other ways as well. In some embodiments, instead of severing the connection between output lead 102a and transistor 104g, the electrical connection between the source of transistor 102g and ground is severed. Transistor 106g is disconnected from lead 107 in a similar manner. It is noted that AND gate 100a includes an NMOS transistor 104j which has a gate coupled to noninverting output lead 114a of buffer 114 instead of inverting output lead 114b. The gate of each NMOS transistor 104a to 104l is programmably electrically connected to either the inverting output lead of an associated one of buffers 111 to 114, or is programmably electrically connected to the noninverting output lead of the associated buffer. Because NMOS transistor 104j is connected to noninverting output lead 114a, AND gate 110a provides Vout a = IN101 · IN102 · IN104 instead of Vout a = IN101 · IN102 · IN104 In this way, each AND gate 100a to 100c can provide the logical product of input signals or the logical product of the inverse of input signals. The electrical connection between the gate of NMOS transistors 104a to 104j, and their associated buffers are formed during or after the manufacturing process, for example, using the techniques described above. It will be appreciated by those skilled in the art that in the embodiment of Figure 6 it is necessary to maintain the timing relationship between signals IN104, S104 and S104 so that signal S104 does not go high until a predetermined time after signal S104 goes low. Although a similar timing constraint is not critical in the AND gate of Figure 3, this timing constraint is important in the AND gates of Figure 6. This is because if signals IN101 and IN102 are both high, i.e. NMOS transistors 104a and 104d are off and PMOS transistors 106a and 106d are off, it is necessary to provide a pulse on output lead 102a when signal IN104 goes low. This pulse will only be provided if there is a time period when PMOS transistors 105j and 106j are both on, i.e. during the time period after signal S104 goes low but before signal S104 goes high. As indicated above, some transistors, such as transistor 104g, are disconnected from the corresponding output lead 102a. In one embodiment, the gates of these NMOS transistors are programmably electrically disconnected from their associated input buffer 111 to 114, thereby reducing the capacitive load on the output leads of buffers 111 to 114. In other embodiments, both the NMOS and PMOS transistors decoupled from their associated output leads have gates decoupled from their associated input buffer. Figure 7 illustrates an AND gate 120 constructed in accordance with another embodiment in which the gates of PMOS transistor 64 is coupled to receive signal S1 and the gate of transistor 66 is coupled to receive S1 . AND gate 120 functions in the same manner as AND gate 40 described above. AND gates such as AND gate 40 or 120 can be used in an array of AND gates, e.g. in a PLA. Figure 8 illustrates an OR gate 150 constructed in accordance with another embodiment of the present invention. OR gate 150 includes NMOS transistors 152 and 154 coupled in series between output lead 156 and ground, and a PMOS transistor 158 coupled between output lead 150 and a terminal 160 for receiving voltage VH. In OR gate 150, buffer 162 provides signals S1 and S1 such that signal S1 does not go low until after a predetermined time delay after signal S1 goes high, and signal S1 does not go low until after a predetermined time after signal S1 goes high. Thus, the timing relationship of signals S1 and S1 for OR gate 150 is the reverse of the timing relationship for AND gate 40 of Figure 3. As in the embodiment of Figure 6, the gate of transistor 158 can be coupled to receive signal S1 instead of signal S1 to generate the logical sum of IN1 and IN2.

Claims: A gate comprising an input lead (42) for receiving an input signal (IN1) having first and second mutually exclusive states, a first voltage supply lead for receiving a first electrical potential (GND), a second voltage supply lead (62) for receiving a second electrical potential (V H ), an output lead (44) for producing an output signal also having the first and second states, and first switch means (58) for coupling the output lead (44) to the first voltage supply lead in response to the input signal (IN1) being in the first state, the gate being characterized by second switch means (64,66) coupled in series connection between the output lead (44) and the second voltage supply lead (62), the second switch means (64,66) closing for a first time period and then opening in response to the input signal (IN1) going from the first state to the second state, and state maintenance means comprising a pair of anti-parallel inverters (74,76) tending to maintain the output signal of the output lead (44) in one of the first and second states. A gate as claimed in claim 1 having a second input lead (43) for receiving a second input signal (IN2) having the first and second states, third switch means (60) for coupling the output lead to the first voltage supply lead (70) in response to the second input signal (IN2) being in the first state, and fourth switch means (67,68) coupled between the output lead (44) and the second voltage supply lead (V H ), the fourth switch means (67,68) closing for a second time period and then opening in response to the second input signal (IN2) going from the first state to the second state. A gate as claimed in claim 2 wherein the first electrical potential is ground, and the first, second, third and fourth switch means (58,64,66,60,67,68) each comprises an MOS transistor. A gate as claimed in claim 2 or 3 having a plurality of additional input lead (113,114) each receiving an associated input signal (IN103,IN104) having the first and second states, a first plurality of switch means (104h,104k) each uniquely associated with one of the additional input leads (113) and each coupling the output lead (102b) to the first voltage supply lead in response to the input signal (IN103) on the uniquely associated input lead (113) being in the first state, and a second plurality of switch means (105h,106h,105k,106k) each uniquely associated with one of the additional input leads (113) and each selectively coupling the output lead (102b) to the second voltage supply lead for a time period and then opening in response to the input signal (IN103) on the uniquely associated input lead (113) going from the first state to the second state. A gate as claimed in claim 1, 2 or 3 having a first lead (S₁) for receiving a signal equal to the input signal (IN1), and a second lead ( S ₁) for receiving a signal which at times is equal to the logical inverse of the input signal (IN1), the signal on the first lead (S₁) being delayed by a delay time period relative to the signal on the second lead ( S ₁) when the input signal (IN1) goes from the first state to the second state, the second switch means (64,66) closing during the time period. A gate as claimed in claim 5 wherein the second switch means comprises first (66) and second (64) PMOS transistors coupled in series between the output lead (44) and the second voltage supply lead (62), the gate of the first PMOS transistor being coupled to the first lead (S₁), and the gate of the second PMOS transistor (64) being coupled to the second lead (S₁). A gate as claimed in claim 6 wherein the first switch means comprises an NMOS transistor (58) coupled between the output lead (44) and the first voltage supply lead (GND), the gate of the NMOS transistor being coupled to the second lead ( S ₁). A gate as claimed in claim 5 wherein the second switch means comprises first (152) and second (154) NMOS transistors coupled in series between the output lead and the second voltage supply lead, the gate of the first NMOS transistor (152) being coupled to the first lead (S₁), and the gate of the second NMOS transistor (154) being coupled to the second lead ( S ₁). A gate as claimed in claim 8 wherein the first switch means comprises a MOS transistor (158) coupled between the first voltage supply lead (GND) and the output lead (156), and the gate of the PMOS transistor being coupled to the second lead ( S ₁). A gate as claimed in claim 5 having signal timing means for receiving the input signal and providing as outputs responsive thereto first and second lead signals on the first (S₁) and second leads ( S ₁), the first and second lead signals being of generally opposed first and second states but during transition being out of phase with one another such that the one signal of the first and second lead signals which is changing to the first state is delayed in doing so by the delay time period relative to the opposed transition of the other signal of the first and second signals which is changing to the second state. A gate as claimed in claim 10 wherein the signal timing means comprises an input lead (42) connected to the first input lead of the gate, a first output lead (52a) connected to the first input lead of the gate, a second output lead (52b) connected to the second input lead of the gate, an inverter having an input lead connected to the input lead (42) of the signal timing means, a first NOR gate having first and second input leads and an output lead, the first input lead being connected to the output lead of the inverter, and the output lead being connected to the first output lead of the timing means; a second NOR gate having first and second input leads, and an output lead, the first input lead connected to the input lead of the signal timing means, and the output lead being connected to the second output lead of the timing means; a first delay means for receiving a signal at an input lead thereof and providing the signal delayed by a predetermined time period ss an output at an output lead thereof, the output lead being connected to the second input lead of the first NOR gate, and the input lead being connected to the output lead of the second NOR gate; and a second delay means for receiving a signal at an input lead thereof and for providing the signal delayed by the predetermined time period as an output at an output lead thereof, the output lead being connected to the second input lead of the second NOR gate, and the input lead being connected to the output lead of the first NOR gate. A gate as claimed in claim 11 wherein the first and second delay means each comprise two inverters connected in series. An array of gates according to claims 1 to 12, the array comprising a plurality of input leads each receiving an associated input signal (IN1, IN2, ...), each signal having first and second mutually exclusive states, a plurality of output leads (102a, 102b, ...) each providing an associated output signal (V outa , V outb , ...), a first voltage supply lead for receiving a first electrical potential (GND), and a second voltage supply lead for receiving a second electrical potential (V H ), characterized by a first array of switch means, each switch means within the first array comprising a plurality of rows of switch means (104a,104d,104g,104j), each row within the first array being associated with one of the input leads (IN101), each switch means (104a) within a given row being programmed to be in one of first and second mutually exclusive modes, wherein in the first mode each switch means (104a) switchably connects the first voltage supply lead (GND) to an associated one of the output leads (102a) in response to the signal at the associated input lead (IN101) being in the first state and wherein in the second mode, the switch means (104a) does not connect the associated output lead to the first voltage supply lead (GND); a second array of switch means comprising a plurality of rows of switch means, each row of switch means within the second array being associated with one of the input leads (IN101), each switch means being connected between its associated output lead (102a) and the second voltage supply led (V H ), each switch means (105d,106d) within the second plurality of switch means being programmed electrically to be in one of third and fourth mutually exclusive modes, wherein in the third mode each switch means (105d,106d) within the second array closes and then opens when the signal on its associated input lead (IN102) goes from the first state to the second state, and wherein in the fourth mode, the switch means in the second array does not connect the associated output lead (102a) to the second voltage supply lead (V H ); and a plurality of state maintenance means, each state maintenance means tending to maintain the output signal of the associated output lead (102a,102b,102c) in one of the first and second states.

Inventors: MOSS, WILLIAM E.
Applicants: ADVANCED MICRO DEVICES, INC.
Application year: 1986
Main classification: H03K19
IPC codes: H03K19, H03K5