Voltage supply circuit for programming circuits of programmable logic arrays
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to programmable logic arrays (PLAs). More specifically, the present invention relates to voltage pumps used in programmable array logic (PAL) circuits. 
     While the present invention is described herein with reference to illustrative embodiments for particular applications, it should be understood that the invention is not limited thereto. Those having ordinary skill in the art and access to the teachings provided herein will recognize additional modifications, applications, and embodiments within the scope thereof and additional fields in which the present invention would be of significant utility. 
     2. Description of the Related Art 
     Programmable logic arrays provide `glue logic` for PC (printed circuit) boards. Glue logic is the logic required to interface two boards and generally includes a plurality of AND gates, OR gates and input/output I/O buffers. PLAs consume less space and therefore generally provide glue logic in a less costly manner than individual AND gates, OR gates and I/O buffers. 
     PLAs also offer the advantage of reconfigurability over discrete or individual gates. That is, PLAs generally include an array of `AND` gates, an array of `OR` gates, and some provision for interconnecting the outputs of selected AND gates to the inputs of selected OR gates. PLAs allow a wide variety of logic functions to be implemented through the combination, via the OR gates, of the product terms, provided by the AND gates. Further, the configuration of the array may be quickly, easily and relatively inexpensively reprogrammed to implement other functions. 
     As described in U.S. Pat. No. 4,124,899, programmable array logic (PAL) circuits were developed to provide further improvements in the speed, space requirements, cost and power consumption of PLAs. PALs provide programmable AND and fixed OR functions. In a most general sense, a PAL provides a field programmable logic array in which a programmable array of circuit inputs are provided to a plurality of AND gates (cells) to generate product terms. Outputs from subgroups of AND gates are, in turn, nonprogrammably connected as inputs to individual, specified OR gates to provide the sum of products. 
     The programming circuit of the electrically erasable PAL type logic array typically includes an input term decoder circuit, a product term decoder circuit, a margin control circuit and a sense line control circuit. These decoders and control circuits require a number of voltage levels at different times during the programming of the EE array. A high voltage may be required for programming certain circuits while the other circuits may require low, zero, or other (floating state) voltages. Where high voltages are required, the voltages required may exceed the externally supplied voltage. 
     In conventional PAL devices, the programming circuits typically include individual high voltage charge pumps to provide the high voltages needed for the programming operation. Each charge pump typically includes a capacitive oscillator in the source circuit of a n-channel metal-oxide (NMOS) transistor. The capacitor is fed with a clock pulse which incrementally increases the voltage at the output of the device above the externally supplied voltage. Each voltage pump requires a connection to the external voltage source, a connection to the system clock, and connections for one or more programming control signals. As one such charge pump is typically provided for each of numerous programming circuits, it is clear that considerable die area is consumed by the multiplicity of charge pump circuits and lines associated therewith in conventional PAL devices. 
     Thus, there is a need in the art for a simple, effective high voltage pumping scheme for PAL type programmable logic arrays which requires few interconnections and minimum die area. 
     SUMMARY OF THE INVENTION 
     The need in the art is addressed by the present invention which provides a voltage supply circuit for programming circuits of electrically erasable programmable logic arrays. The voltage supply circuit of the present invention is a single, relatively simple, circuit which provides programming supply voltages for the programming circuits of a typical PAL type programmable logic array with minimal die size requirements. 
     In most general terms, the invention includes a voltage charge pump circuit for providing a first voltage on a first output bus in response to a first supply voltage and an input pulse. The first output voltage provided on the first output bus is greater than the first supply voltage. The invention further includes a first circuit for switching the first supply voltage onto a second output bus in response to a first set of programming signals. A second circuit is included for switching a second supply voltage onto a second output bus in response to a second set of programming signals. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a simplified block diagram of an programmable array logic system incorporating the voltage supply circuit of the present invention. 
     FIG. 2 is a schematic diagram of the voltage supply circuit of the present invention. 
    
    
     DESCRIPTION OF THE INVENTION 
     FIG. 1 is a simplified block diagram of an illustrative programmable logic array, such as the PAL 10 system manufactured by Advanced Micro Devices Corporation of Sunnyvale, Calif., incorporating the voltage supply circuit of the present invention. As is generally known in the art, the PAL 10 is a programmable logic array of a particularly advantageous design which provides `glue logic` for circuit interconnection at high speed with minimal power consumption. The PAL 10 includes a plurality of input pads 12 which are typically probe pads with electrostatic protection circuitry (not shown). Each input pad 12 is connected to an input buffer (IB) 14. Each input buffer 14 includes circuitry for detecting address transitions at a corresponding input pad 12. Each input buffer 14 is connected to a bus 16 and a phi generator 18 called transition detect signal (TDS) bus (not shown). The bus 16 communicates with an array 20 of electrically erasable (E 2 ) cells configured as AND gates. 
     As is known in the art, each input of each AND gate of the array 20 may be programmably interconnected to a selected line of an input data bus 16. The programming of the cells of the array 20 is controlled by a number of programming circuits including, by way of example, a product term decoder 26, an input term decoder 27, a margin control circuit 29 and a sense line control circuit 31. Each of the programming control circuits are connected to the array 20 as shown in FIG. 1. The product term decoder is connected to the array 20 through a PTP multiplexer 24. The design and operation of the programming circuits is known to those skilled in the art and not necessary for an understanding of the principles of the present invention. 
     It should be noted however that some or all of the programming control circuits require high voltages for programming and lower voltages for verification and normal operation. The programming voltage generally exceeds the voltages supplied externally to the PAL 10. The single voltage supply circuit 33 of the present invention provides voltages higher than external supply voltages for the programming circuits of the PAL 10 and other voltage levels for the programming circuits as discussed more fully below. 
     FIG. 2 is an illustrative embodiment of a schematic diagram of the voltage supply circuit 33 of the present invention. The voltage supply circuit 33 includes a voltage charge pump circuit 40 for providing a first voltage V PP  +V T  on a first output bus VPPVT in response to a first supply voltage V PP  and an input pulse. The first output voltage V PP  +V T  provided on the first output bus VPPVT is greater than the first supply voltage V PP . The voltage supply circuit 33 further includes a first circuit 42 for switching the first supply voltage V PP  onto a second output bus VPP/VDD in response to a first set of programming signals. A second circuit 44 is included for switching a second supply voltage V DD  onto a second output bus VPP/VDD in response to a second set of programming signals. 
     The charge pump circuit 40 includes a first n-channel metal-oxide semiconductor (NMOS) transistor Q1. The drain of the first n-channel MOS transistor Q1 is connected to the source of the first supply voltage V PP  through line PIN1. This is typically a high voltage on the order of 12 or 14 volts. The source of Q1 is connected to a first depletion mode transistor Q4 configured as a capacitor. That is, the gate terminal provides the first terminal of the capacitor and the source and drain terminals are tied together to provide the second terminal of the capacitor. The second terminal of the capacitor provided by Q4 is connected to a source of an input clock pulse or oscillator (V T ) via line OSC. The gate of the first n-channel MOS transistor Q1 is connected to the first output bus VPPVT. A second n-channel MOS transistor Q2 is connected as a diode between the first terminal of the capacitor Q4 and the gate of the first n-channel MOS transistor Q1. The gate and drain of Q2 are tied together to provide an anode of the diode and the source provides the cathode thereof. 
     The drain of a second depletion mode transistor Q3 is connected to the gate of the first n-channel MOS transistor Q1. The gate of Q3 is connected to a source (not shown) of the second supply voltage V DD . The source of Q3 is connected to the drain of a third n-channel MOS transistor Q5. The source of Q5 is connected to ground. The gate of Q5 is connected to the output terminal of a first inverter INV1. The input terminal of the inverter INV1 is connected to the a first high voltage detection circuit (not shown) through line PGM1 (hereinafter PIN1). 
     When a high supply voltage of V PP  is placed on PIN1, the first high voltage detection circuit detects the presence of the high voltage V PP  and sets line PGM1 (hereinafter PGM1) high. This turns off Q5, through the first inverter INV1, removes a ground from the base of Q1, and allows it to come on. When Q1 comes on, V PP  is applied to the first terminal of the capacitor Q4. Now, whenever a pulse appears on line OSC, the voltage at the first terminal of the capacitor Q4 increases until Q1 reverse conducts. With an oscillator or clock (not shown) connected to the OSC input line, the voltage on the first terminal of the capacitor Q4 will continue to increase in a conventional manner. 
     The first and second switching circuits 42 and 44, respectively, control the voltage applied to the second output bus VPP/VDD. The first switching circuit 42 includes third, fourth, fifth and sixth depletion mode transistors Q6, Q7, Q8 and Q9, respectively, and fourth and fifth n-channel MOS transistors Q10 and Q11, respectively. The first switching circuit 42 is enabled whenever PGM1 is high through a second inverter INV2 connected between the output of the first inverter INV1 and the drain of the third depletion mode transistor Q6. The gate of the transistor Q6 is connected to a source of a second programming signal PGM2 via a third inverter INV3. The drain of the fourth depletion mode transistor Q7 is connected to the first output bus VPPVT. The source of Q7 is connected to the source of Q6. The fifth depletion mode transistor Q8 is connected as a diode with its drain connected to the source of Q6 and Q7. The gate and source terminals of Q8 are connected to the gate of the fifth n-channel MOS transistor Q11. The drain of Q11 is connected to the source of the first supply voltage V PP  at PIN1. The source of Q11 is connected to the second output bus VPP/VDD. Thus, whenever Q11 is on, V PP  is applied to the second output bus VPP/VDD. The fifth transistor Q11 comes on whenever the system 10 is in the programming mode, i.e., PGM1 is high and PGM2 is high. PGM1 is high, when V PP  is present on PIN1. Thus, the first output bus VPPVT has a high voltage on it which is applied to the gate of Q11 through the pullup arrangement of Q7 and Q8. (Q7 and Q8 are sized so that the rise time of Q11 is not so fast that damage results to the thin oxide of the E 2  cells in array 20.) The fourth depletion mode transistor Q9 and the fourth n-channel MOS transistor Q10 provide a disabling circuit for Q11. The drain of Q9 is connected to the base of Q11, the gate of Q9 is connected to V DD , and the source of Q9 is connected to the drain of Q10. The gate of Q10 is connected to the output of the third inverter INV3 and the source of Q10 is connected to ground. Thus, whenever PGM2 is high, Q10 is off and Q11 is free to turn on. Those skilled in the art will recognize that other voltage switching schemes may be used without departing from the scope of the present invention. 
     The second switching circuit 44 includes a p-channel MOS transistor Q12, fifth and sixth depletion mode transistors Q13 and Q14, respectively, and a sixth n-channel MOS transistor Q15. The drain of Q12 is connected to a source of the second supply voltage V DD . The gate of Q12 is connected to the output of the first inverter INV1 and the drain of Q12 is connected to the drains of Q13 and Q14. The source of Q13 is connected to the second output bus VPP/VDD. The gate of Q13 is connected to the drain of Q15 along with the gate and source of Q14. Thus, Q14 is connected in a diode configuration with the anode thereof being connected to the drain of Q13 and the cathode connected to the drain of Q15. The source of Q15 is connected to ground. The gate of Q15 is connected to the output of a fourth inverter INV4. The fourth inverter INV4 is fed by a NOR gate NOR1. The inputs to the NOR gate are provided by the output of the first inverter INV1 and the second programming signal PGM2. Thus, whenever PGM1 is low (indicating a normal mode of operation) or PGM2 is high (indicating a programming mode of operation), Q15 is on and the second switching circuit is disabled. However, when V PP  is present on PIN1 and a low voltage is present on a PIN13 (not shown) a second high voltage detection circuit (not shown) on PIN13 places PGM2 in a low state. This indicates a verify mode of operation by which Q15 is off. When Q15 is off, Q13 and Q14 are free to turn on. With PGM1 high Q12 is on and the second supply voltage V DD  (e.g. 5 volts) is applied to the second output bus VPP/VDD through Q13. 
     In a normal mode of operation, the voltage on PIN1 is returned to 5 or 0 volts. The first high voltage detection circuit returns PGM1 to a low state. This turns on Q5 and disables the voltage pump circuit 40. This also turns off Q6 and Q12 and maintains a zero standby power mode. Also Q15 turns on through NOR1 and INV1. These states ensure that no programming voltages are present on either of the buses VPPVT or VPP/VDD in the normal mode of operation. 
     Table I below provides the dimensions (in microns) of the components of FIG. 2 of the illustrative embodiment. 
     
                       TABLE I                                                     
______________________________________                                    
ELEMENT        WIDTH    LENGTH                                            
______________________________________                                    
Q1             20       3                                                 
Q2             20       3                                                 
Q3             6        3                                                 
Q4             120.473  13.849                                            
Q5             10       2.5                                               
Q6             15       3                                                 
Q7             5        30                                                
Q8             5        30                                                
Q9             10       3                                                 
Q10            15       2.5                                               
Q11            100      3                                                 
Q12            20       3                                                 
Q13            100      3                                                 
Q14            6        3                                                 
Q15            15       3                                                 
INV1           6        6                                                 
INV2           15       15                                                
INV3           6        6                                                 
INV4           6        6                                                 
NOR1           6        6                                                 
______________________________________                                    
 
    
     Thus, the present invention has been described herein with reference to a particular embodiment for a particular application. Those having ordinary skill in the art and access to the present teachings will recognize additional modifications applications and embodiments within the scope thereof. For example, the invention is not limited to implementation in either positive or negative logic. Nor is the invention limited to the use of field effect transistors. Any suitable switching element may be used in place of the transistors in the illustrative embodiments without departing from the scope of the present teachings. 
     It is therefore intended by the appended claims to cover any and all such applications, modifications and embodiments within the scope of the present invention. 
     Accordingly,