Programmable logic device

Abstract: A programmable logic device includes a data bus for receiving input data and a serial shift register (30) adapted to receive programming data in the form of a binary serial bit stream (33). Outputs of the shift register (30) control the charges on capacitors (C1,C2) which are connected to inputs of logic gates (1,2) to control the functions implemented by the logic gates. In this manner, selected input variables can be combined in accordance with the charges stored on the capacitors (C1,C2) to enable the logic device to provide a desired Booleon function. The logic device can be readily reprogrammed by changing the programming binary serial bit stream.

Description: This invention relates to programmable logic devices. One form of programmable logic device is a Programmable Logic Array (PLA). A Programmable Logic Array (PLA) can be explained by reference to Figure 1. The programming is done by blowing the proper fuses in a fuse bank 3, thus disconnecting nodes N from the respective AND gates 6 and 9. The remaining fuses connect the inputs with the AND gates 6 and 9, forming the circuit. For example, if fuses 12 are blown, the circuit becomes that shown in Figure 2. This particular circuit implements the logic function A·B + A · B . (The symbol · means logical AND, while the symbol + means logical OR. The symbol means logical NOT, or complement.) Other logic functions can be implemented by blowing other combinations of fuses. In general, with the architecture of Figure 1, the resulting logic function is a sum (ie, a logical ORing) of product terms. OR gate 4 performs the ORing. The product terms are produced by the AND gates: A·B is one product, and A · B is the other product. The connections feeding the AND gates, and which result from blowing the fuses, are termed an "AND-array." The architecture of Figure 1 is readily expandable to form more complex logic circuits, which implement more complex logic functions, by repeating the circuit, as shown in Figure 3. In addition to the approach of Figure 3, there are other ways to implement more complex logic functions. For example, Figure 4 illustrates a Programmable Read Only Memory (PROM) coupled with a programmable OR-array. (Figure 5 indicates a conventional simplification which has been done in Figure 4.) The PROM in Figure 4 acts as the AND-array. The dots 12 in the PROM each indicate connections. The X's in the Or-array indicate fuses which can be blown. The small circles 15 indicate inversions. An example will illustrate the operation. If the input word I 3 I 2 I 1 I 0 is 1001, then the bits on lines L 7 through L 0 , respectively, are 1001 0110. If fuses 16 are blown, as indicated by the dots placed over the X's, the logic functions implemented become O 3 = I 3 · I 2 · I 1 · I 0 O 2 = I 3 · I 2 · I 1 · I 0 O 1 = I 3 · I 2 · I 1 · I 0 O 0 = (I 3 · I 2 · I 1 · I 0 ) + (I 3 · I 2 · I 1 · I 0 ). The output word O 3 O 2 O 1 O 0 is 1111. Another example of a PLA is a Field-Programmable Logic Array, FPLA, as shown in Figure 6. This FPLA is the same as the PROM-PLA of Figure 4, with the exception that the location of the "dots" (ie, connections) in the AND-array of Figure 6 can be selected, because the crosses in Figure 6 represent fuses. That is, the AND-array is programmable, in contrast to the AND-array of Figure 4, which is not. Yet another example of programmable logic is a Programmable Array Logic (PAL), as shown in Figure 7. In a sense, the PAL is the converse of the PROM-PLA of Figure 4: in the PROM-PLA, the "AND" array is pre-programmed, and the OR-array is programmable. In the PAL of Figure 7, the "AND" array is programmable, and the OR-array is pre-programmed. Each type of PAL or PLA (collectively termed "PLAs" herein) has advantages and disadvantages. One disadvantage occurs during development of products which use the PLAs. Frequently, the developer does not know the precise logic function which is needed, and derives the function by trial-and-error, by repeatedly programming PLAs. This repeated programming is time-consuming, and also wastes the incorrectly programmed PLAs. Reprogramming is also required when the logic function is known, but the developer makes a mistake in programming the PLA. European Patent Application EP-A-0,121,647 discloses a programmable logic device comprising data input means, programming control means adapted to receive programming data, dynamic storage means adapted to dynamically store said programming data, and gating means adapted to implement a logical function of said input data in accordance with the dynamically stored programming data and in which said dynamic storage means includes a plurality of capacitive storage devices along with a data bus to which a first plurality of logic gates are coupled. Also, Japanese Application JP-A-02 291 720 discloses a reprogrammable logic device having a three-element dynamic RAM for storing programmed data and which comprises a capacitor. The dynamic RAM cell is arranged to control a transfer gate. It is an object of the present invention to provide a programmable logic device which is readily repeatedly programmable. Therefore according to the present invention, there is provided a programmable logic device, comprising data input means adapted to receive input data, programming control means adapted to receive programming data, dynamic storage means adapted to dynamically store said programming data, gating means adapted to implement a logical function of said input data in accordance with the dynamically stored programming data, wherein said storage means comprises capacitive storage means including a plurality of capacitive storage devices coupled to respective logic gates included in said gating means, said input means includes a data input bus adapted to receive input data signals with a first plurality of said logic gates coupled to said bus and adapted to select input data signals provided on said bus, a second plurality of said logic gates are coupled respectively to outputs of the logic gates of said first plurality of logic gates to selectively pass or invert the signals on said outputs, and whereby said programming control means includes serial access means acting as a shift register having a plurality of outputs adapted to control the signals stored on said capacitive storage devices in response to a loading signal (LOAD). It will be appreciated that in a programmable logic device according to the invention, the use of programming data which is stored dynamically enables reprogramming to be readily achieved since the dynamically stored programming data can easily be changed. Embodiments of the present invention will now be described by way of example, with reference to the accompanying drawings, in which:- Figure 1 illustrates a simplified PLA. Figure 2 illustrates one configuration into which the PLA of Figure 1 can be programmed. Figure 3 illustrates how the PLA of Figure 1 can be expanded to accommodate more complex logic functions. Figures 4, 6, and 7 illustrate different types of PLAs. Figure 5 illustrates a drafting convention used in Figures 4, 6 and 7. Figure 8 shows a simplified, schematic form of the invention, wherein relays illustrate switch closures. (Relays are not actually used in the preferred embodiment, but are shown in Figure 8 for ease of explanation.) Figure 9 shows one state into which the relays of Figure 8 can be programmed. Figure 10 illustrates logic gates which perform the function of the relays of Figure 8. Figure 11 illustrates how the apparatus of Figure 10 can implement a logic function. Figures 11A and 11B together form Figure 11. Figures 12 and 12A show subsections of Figure 11. Figure 12A is a simplification of Figure 12. Figure 13 illustrates how a NAND gate can be decomposed, using DeMorgen's theorem. Figure 14 illustrates one form of the invention. Figure 15 illustrates another form of the invention. Figures 15A and 15B together form Figure 15. One form of the inventive concept can be explained by reference to Figure 8, which shows an oversimplified schematic, given for ease of explanation. The desired logic function is shown as being implemented by closure of relays, not by burning of fuses as in Figure 1. For example, in Figure 8, to implement the function + B, relays 14 would be actuated, and the remaining relays would remain open, as shown in Figure 9. The four relays so designated act as TRANSMISSION GATES: they either block a signal, or allow the signal to pass. The other relays are designated as INVERTER/BUFFERS: they either invert the signal, or pass the signal as received. Unlike the PLAs discussed in the Background of the Invention, the apparatus of Figure 8 can be re-programmed. If a mistake is made in programming the logic function, or a different function is desired for another reason, re-programming can be done to obtain a new logic function. Figure 8 showed relays for ease of explanation. However, relays are not actually used, as Figure 10 illustrates. NAND gates, together with capacitors C1, act as TRANSMISSION GATES, instead of the relays designated TRANSMISSION GATES in Figure 8. The NAND gates operate as follows: when a capacitor C1 is charged, and applies a logic HI to its NAND gate, the output of the NAND gate becomes the inverse of the DATA input, as truth table 1 below indicates, in rows 3 and 4. Conversely, when the capacitor is discharged and applies a LO signal to the NAND gate, the NAND's output is fixed at ONE, as rows 1 and 2 indicate. NAND FUNCTION row INPUTS Capacitor DATA Line OUTPUT 1 0 0 _ 1 2 0 1 _ 1 3 1 0 _ 1 4 1 1 _ 0 Thus, the NAND gates in Figure 10 act as TRANSMISSION GATES, by either blocking the signal on its DATA input, or allowing the signal to pass. (As stated above, the signal allowed to pass is the inverse of the incoming signal. A second inversion can be done, if desired, either before or after passage through the NAND gate, to restore the actual logic value. It will be shown later that the EX-OR gates, described below, perform this inversion.) The Exclusive Or (EX-OR) gates in Figure 10 act either as buffers, or inverting buffers, depending on the signal present on the capacitor C2. That is, as Truth Table 2 indicates EX-OR FUNCTION row INPUTS Capacitor DATA Line OUTPUT 1 0 0 _ 0 2 0 1 _ 1 3 1 0 _ 1 4 1 1 _ 0 when the capacitor carries a signal of ONE, the OUTPUT is the inverse of the DATA line, as rows 3 and 4 indicate. Conversely, when the capacitor carries a signal of ZERO, the output is identical to the input, as rows 1 and 2 indicate. Thus, the EX-OR gate either acts as an INVERTER or a BUFFER, depending on its programming, which, in turn, depends on the charge on the capacitor C2. Figure 11 illustrates how the concepts of Figure 10 can provide a programmable logic device. A subsection of Figure 11 is shown in Figure 12. Symbols 21 in Figures 11 and 12 indicate a TRANSMISSION GATE, as indicated by the NAND-capacitor combination 21A in Figure 12A. The TRANSMISSION GATE operates as described in connection with Figure 10. Symbols 24 in Figures 11 and 12 each indicate a capacitor, such as capacitor C2 in Figure 12A. The capacitor C2, together with the EX-OR gates 18, operate as INVERTER/BUFFERS, as explained in connection with Figure 10. Therefore, the apparatus of Figures 12 and 12A can be represented by Figure 12B. Applying the proper charges to the capacitors C1 and C2, in effect, positions the switches SW in Figure 12B to implement the desired logic function. The remaining subsections in Figure 11 are programmed in the same way, and are NANDed in NAND gate 25. One application of the logic of Figure 11 can be to enable or disable selected data lines, in the manner of a decoder. That is, each EX-OR gate 26, located at the right side of Figure 11, is programmed into either an inverting or a non-inverting mode by the charge placed onto its respective capacitor, indicated by symbol 24. Each TRANSMISSION gate, indicated by symbol 21, is programmed as desired. Then, when line 27 goes HIGH, the output of each properly programmed EX-OR will go HIGH, pulling its line on the BUS HIGH, as would a decoder. Another explanation can be given, with respect to Figure 15. The apparatus generates a Boolean function of input variables 20, resulting in a sum of products at node 21. This resulting sum is optionally stored in a type D flip-flop 22. Either the sum at node 21 or the or the stored sum in flip-flop 22 is then transferred to an output buffer 23 which drives the output bus 24. This discussion will now consider programming of the EX-ORs and the NANDs. In Figure 14, the inverters 30 collectively act as a shift register. A particular serial bit stream is passed along the shift register, until the desired combination of ONES and ZEROES are present at the respective nodes N1 - N4. For example, the combination may be the following: Node N1 - ONE Node N2 - ZERO Node N3 - ZERO Node N4 - ONE. Then, the LOAD line is pulled HIGH, causing FETs to become conductive and transfer the ONES and ZEROES from nodes to the respective capacitors. In this example, the gates are programmed as follows: NAND1 - Pass and invert NAND2 - Block: output held HI EX-OR1 - Invert EX-OR2 - Output follows input. Even though the data-loading is a serial process, large amounts of data can be loaded in a short time. For example, inverters 30 can have a cycle time of 50 nano-seconds. Thus, if 1,048 capacitors are to be programmed, the apparatus of Figure would require 2,096 inverters (two for each capacitor). 2,096 clock cycles will take 104.8 micro-seconds, representing the time for programming the capacitors. The capacitors can be actual capacitors or, preferably, can take the form of the gate capacitance of an FET contained within either the NAND gates or EX-OR gates. These capacitances will leak charge, and consequently must be refreshed periodically. Refreshing is known in the art. These capacitances thus resemble dynamic serial-access memory. This type of memory (ie, dynamic serial-access) provides an advantage over the PROM or EEPROM indicated in Figure 6. The advantage lies in the serial access characteristic, which eliminates addressing apparatus, such as decoding schemes, which random-access devices, such as the PROMs and EEPROMs, require. Elimination of the addressing apparatus frees significant space on the integrated circuit carrying the logic apparatus. From another point of view, the programming of the dynamic memory in Figure 14 (ie, the capacitors) is performed so infrequently, that the normal advantage of random access (ie, fast access) is not needed. The data to be loaded onto the capacitors can be stored in many different locations, including a personal computer (PC). The PC can store the data on disc drives, and load the capacitors using an RS232 channel. Serial data transfer using the RS 232 protocol is known in the art. Figure 11 illustrates a sum-of-products implementation. However, it is well known that any Boolean function can be implemented by either a sum-of-products or product-of-sums. It is further well known that, by DeMorgen's Theorem, a NAND gate is equivalent to ORing of two inputs which are inverted, as shown in Figure 13. See, for example, M. Morris Mano, COMPUTER ENGINEERING, Hardware Design , chapter 2 (Prentice-Hall, 1988) and Thomas Bartree, Digital Computer Fundamentals , chapter 3 (McGraw-Hill, 1985). Both of these books are incorporated by reference in their entireties. Even though the NAND gates 21A in Figure 12A invert the data when they pass their signals, the inversion can be corrected, if desired (depending on the logic function being implemented), by re-inversion by subsequent EX-ORs or subsequent NANDs. With a given programming, the invention implements a given logic function (or truth table). As stated above, the invention can be re-programmed, unlike many types of PLAs. Further, the invention can be re-programmed during use, and this reprogramming can possibly be done by means of a feedback system, as will now be explained. Let it be assumed that an external shift register, indicated by the string 33 of ONES and ZEROES in Figure 14, is connected to line 34. The external shift register 33 is clocked along with the inverters 30. Upon clocking, the bits advance. When the LOAD line is pulled HIGH, the capacitors are loaded with new data, in the form of the now-advanced bits. If feedback is to be used, the clocking can be done by one of the logic outputs, such as line 44 in Figure 11. From one perspective, the invention selects logical variables present on a bus shown in Figure 12, by way of the transmission gates shown in Figure 12B. Then, the invention combines the selected variables into a Boolean function, by using the INVERTER/BUFFERs and NAND gates shown in Figure 12B, as well as other logic apparatus which are not shown. From another perspective, the invention shown in Figure 14, for example, stores programmed data on the capacitors C1. The programmed data determines the particular logic function which is implemented. The programmed data can be loaded by any device capable of supplying a string of ONES and ZEROES to the lead 34, which feeds the shift registers 30. Such devices include personal computers, a static RAM, and, in principle, a bounce-free switch (connected to the lead 34) which a human operator opens and closes at the proper times during the CLOCK pulses. Once loaded, the data on the capacitors C1 must be refreshed, either by re-loading or by recirculating the shift registers, and closing the FETs when the proper data is present at the nodes N1 - N4. From still another perspective, the invention allows repeated alteration of a pre-existing, available sum-of-products. That is, for the apparatus of Figure 10, prior to programming, there is no charge on the capacitors C 1 or C 2 . With no charge on any C 2 , each associated EX-OR gate acts as a buffer and passes the input signal. With no charge on any C 1 , each associated NAND gate acts as an inverter. If the proper C 2 's are programmed, the signal at the OUTPUT becomes (I 1 · I 1 ) + (I 2 · I 2 ). This is the available, pre-existing sum-of-products. More generally, the available sum-of-products in an actual device would be (I 1 · I 1 · I 2 · I 2 · ...... I N · I N ) 1 + (I 1 · I 1 · I 2 · I 2 · ...... I N · I N ) 2 +.... + (I 1 · I 1 · I 2 · I 2 · ...... I N · I N ) N . The user deletes the terms desired from the available sum-of-products, by programming the appropriate TRANSMISSION GATES, to obtain the desired function. The extension of this procedure to a product-of-sums is clear. A significant feature of the invention is the use of dynamic random-access memory (DRAM) in a device having the capabilities of a programmable logic array (PLA). DRAM has beneficial features, such as the occupancy of small space on an integrated circuit, compared with other types of memory. A second significant feature of the invention is the use of conventional technologies in construction of the PLA, which reduces the time required to design and build the devices.

Claims: A programmable logic device, comprising data input means adapted to receive input data, programming control means (30,34) adapted to receive programming data, dynamic storage means (C1, C2) adapted to dynamically store said programming data, gating means (1, 2) adapted to implement a logical function of said input data in accordance with the dynamically stored programming data, wherein said storage means comprises capacitive storage means including a plurality of capacitive storage devices (C1, C2) coupled to respective logic gates (1, 2) included in said gating means, said input means includes a data input bus adapted to receive input data signals with a first plurality of said logic gates (1, 2) coupled to said bus and adapted to select input data signals provided on said bus, a second plurality of said logic gates (1, 2) coupled respectively to outputs of the logic gates (1, 2) of said first plurality of logic gates to selectively pass or invert the signals on said outputs, and whereby said programming control means includes serial access means acting as a shift register having a plurality of outputs adapted to control the signals stored on said capacitive storage devices (C1, C2), in response to a loading signal (LOAD). A programmable logic device according to Claim 1, characterized in that said programming data is provided in the form of a serial bit stream. A programmable logic device according to Claim 1, characterized in that said gating means includes combining gating means coupled to outputs of said second plurality of logic gates to provide a logical function of said input data signals. A programmable logic device according to Claim 3, characterized in that said logical function is a boolean function. A programmable logic device according to any one of Claims 1 to 4, characterized in that said serial access means comprises a serial shift register.

Inventors: CRAFTS HAROLD S, MCKINLEY WILLIAM W, CRAFTS, HAROLD S., MCKINLEY, WILLIAM W.
Applicants: HYUNDAI ELECTRONICS AMERICA, NCR INT INC, SYMBIOS LOGIC INC, NCR INTERNATIONAL, INC., SYMBIOS LOGIC INC.
Application year: 1993
Main classification: H03K19
IPC codes: H03K19