Electronically alterable diode logic circuit
FIELD OF THE INVENTION 
     This invention relates to the field of logic circuits, and more particularly to electrically reprogrammable logic circuits in semiconductor integrated circuit configurations. 
     BACKGROUND OF THE INVENTION 
     In U.S. Pat. No. 3,818,452 issued to D. L. Greer on June 18, 1974, a reprogrammable logic circuit array of the gated logic type was described. In that circuit, a two-dimensional orthogonal array of crosspoint logic cells contained at each crosspoint a gating element in the form of an IGFET (insulated gate field effect transistor) switching element in series with a programmable memory element in the form of a floating gate transistor. The array was capable of producing an output signal representing the Boolean function of several binary variable input logic signals. However, the array was programmed (written in) by means of avalanche breakdown induced by pulses of high voltage applied across the source and drain (high current carrying) terminals of selected floating gate transistors in the array; and there is no simple way of electrically erasing such an array. Therefore, the flexibility and usefulness of such a logic circuit array is rather limited. Moreover, the logic function access in that array is of the individually gated type, that is, where the binary (&#34;1&#34; or &#34;0&#34;; &#34;true&#34; or &#34;false&#34;) logic signal variables are applied to the gate (low current carrying) terminals of the crosspoint IGFET gating elements in the array during computation. However, individually gated type logic arrays are more complex and require more space on the semiconductor chip than diode logic arrays (with a diode at each crosspoint instead of a transistor gate). Although the aforesaid Greer patent also disclosed programmable diode logic arrays, they were not reprogrammable at all. Accordingly, it would be desirable to have a logic circuit array which is electrically reprogrammable and which takes advantage of diode logic. 
     SUMMARY OF THE INVENTION 
     An orthogonal X-Y row-column crosspoint array of electronically reprogrammable interconnected logic cells includes at each crosspoint a logic cell consisting essentially of a unidirectional diode element in series with an electrically reprogrammable transistor memory element. For example, each such memory element can be the transistor memory cell described in U.S. Pat. No. 3,877,054 issued to Boulin et al on Apr. 8, 1975. The source terminal of every such transistor memory cell in any given column (X=a) are all electrically connected together to a separate column line; and each column line forms a variable input logic signal column line, one such line for each such column of cells. Each such logic signal column line is connected in series through a separate, advantageously unidirectional, column write-enable load element (diode resistor element) to a single common array write-enable selector switch in order to select connection to suitable voltage sources (or ground) for write-enable and logic computation operations for the entire array. Each such load element is of sufficient electrical resistance to support a write-in voltage drop. The drain terminal of every transistor memory element in any given row is connected in series with a different one of the unidirectional diode elements, all having the same sense of current direction, to a logic signal row line corresponding to that row. The gate (low current) electrode of every transistor memory element in any given row (Y=b) is connected to a separate write-in gate row line having a terminal which is connected to a selector switch for selecting the given row for connection to a write-in vs. erase vs. logic computation voltage source (or ground). (Source and drain terminals of a transistor are also known as &#34;high current&#34; terminals.) 
     In a specific embodiment (FIG. 2) of the invention a logic circuit is realized, starting with the above-described X-Y array of interconnected logic cells. This array is further provided with access circuitry suitable for enabling use of the array as an electrically reprogrammable logic array circuit for performing a plurality of selected logic functions of many binary logic variables. Each of the row logic signal lines is connected in series through a separate row line load element to an array-computation-enable selector switch, in order to provide switching between a suitable logic computation-enable voltage source and a write-enable voltage source (including ground) for application to the entire array. Each of the logic signal column lines has a separate terminal connected to a different column logic signal selector switch, in order to provide the binary logic signals for the given column line or to connect a given logic signal column line selectively to a voltage detector or to ground, as desired during operation. In this manner, an electrically reprogrammable logic circuit array is realized which can compute a variety of logic functions of many binary logic variables, the types of functions depending upon the selected settings of the logic signal selector switches and depending upon the preceding programming of each of the memory elements of the logic cells, and the &#34;truth&#34; values of the logic variables determined by the settings of the column logic signal selector switches. 
     In another specific embodiment (FIG. 1) of the invention, an electrically reprogrammable universal logic circuit is provided in which any one of the 2 2 .spsp.n Boolean functions of n binary logic variables can be programmed and computed. This circuit is realized starting with the above-described array of interconnected logic cells, the particular function depending upon the initial programming (write-in) and reprogramming erase plus (rewrite-in) operations. Again, the above-described X-Y array of interconnected logic cells is the basic starting point of the universal logic circuit just as in the above-described reprogrammable logic circuit embodiment. On the other hand, all of the logic signal row lines are connected through a network of binary variable logic row switches to a single array switch for selecting between an array-write-enable voltage source and a computation voltage source for the entire array. Each of the terminals of the logic signal column lines is also connected through a network of binary variable logic column switches to a different write-compute selector switch for selecting between suitable voltage sources (including ground) and voltage detectors for logic computation readout. In this circuit, the type of Boolean function computed is determined by the preceding write-ins of each of the memory elements in the logic cells, whereas the &#34;truth&#34; values of the binary logic variables are determined by the settings in the networks of variable logic row and column switches. In this way, the same Boolean function may be computed repeatedly for different &#34;truth&#34; values of the variables without any intervening write-in or erase (reprogramming). 
     In all the embodiments of this invention, selection of a logic cell both for programming and for computation is accomplished using the same access lines, thereby conserving space on the chip and reducing the number of external leads. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     This invention together with its features, advantages, and objects may be better understood from the following detailed description when read in conjunction with the drawings in which: 
     FIG. 1 is a schematic circuit diagram of an electrically reprogrammable universal logic circuit, in accordance with a specific embodiment of the invention; 
     FIG. 2 is a schematic circuit diagram of an electrically reprogrammable diode logic array circuit, in accordance with another specific embodiment of the invention; 
     FIG. 3 is a schematic circuit diagram of a universal logic circuit useful in understanding the operation of the logic circuit shown in FIG. 1; and 
     FIG. 4 is a schematic diagram of an array of logic signal switches useful in an alternative embodiment of the universal logic circuit shown in FIG. 1. 
    
    
     In order to appreciate the structure of the logic circuit 100 shown in FIG. 1 it is first helpful to understand the object to be achieved. This object can be appreciated, for example, by a discussion of the universal logic circuit 300 of FIG. 3. In the circuit 300, any Boolean function f of four variables A, B, C, and D can be programmed and computed as follows. The switches in columns A, B, C, D are set according to the following &#34;true-false&#34; rules of rotation: when a gang of switches in the column corresponding to A, B, C, or D is in the downward throw position, then A, B, C, or D, respectively, is &#34;true&#34; and conversely, when such a column gang of switches is in the upward throw position, then the corresponding logic variable is &#34;false&#34;. On the other hand, at each of the row-column crosspoints, the switch at the crosspoint is opened or closed depending upon the desired Boolean function. For example, if and when (as indicated in FIG. 3) the crosspoint switch located at the extreme lower left-hand location is closed while all other crosspoint switches are open, then the resulting output is in accordance with Boolean function f = ABCD (the function f is &#34;true&#34; if and only if A, B, C, D are all &#34;false&#34;; and f  is false otherwise), that is, the detector shows current if and only if this particular true-false combination of the four variables A, B, C, D is satisfied (as indicated in FIG. 3) by the settings of the switches on columns A, B, C, and D. For another example, the function f = ABCD (f is &#34;true&#34; if and only if A is &#34;false&#34;, B is &#34;false&#34;, C is &#34;true&#34;, D is &#34;true&#34;, and f is &#34;false &#34; otherwise) can be obtained by opening all crosspoint switches except the extreme upper left-hand crosspoint location. For still another example, by opening all crosspoint switches except the extreme lower left-hand and the extreme upper left-hand crosspoint switches, the function f = AB(CD + CD) can be obtained (f is &#34;true&#34; if and only if both A and B are &#34;false&#34; while C and D are both &#34;true&#34; or both &#34;false&#34;). Similarly, all the 2 16  possible Boolean functions of ABCD can be obtained by means of the corresponding 2 16  possible sets of settings of the 4 × 4 = 16 crosspoint switches. The setting of the crosspoint switches in the circuit 300 (FIG. 3) is the analog of the write-in and erase of the crosspoint memory cells in the circuit 100 (FIG. 1); while the setting of the gang switches in the circuit 300 is the analog of logic computation in the circuit 100. 
     Referring now to FIG. 1, the universal logic circuit 100 includes a 4×4 row-column X-Y crosspoint array of logic cells, each cell at a different crosspoint. Although these crosspoint logic cells will be described in terms of the extreme upper left-hand crosspoint logic cell 110, it should be understood that all of the other crosspoint cells are similar in structure. The logic cell 110 includes a semiconductor memory IGFET element 101 in series with a semiconductor logic cell diode element 102. For example, the memory IGFET 101 can take the form of the dual dielectric memory transistor structure described in U.S. Pat. No. 3,877,054 issued to Boulin et al on Apr. 8, 1975. Although the voltages and senses of direction of current will be described in terms of N-MOS (N-channel, metal-oxide-semiconductor IGFET) technology, it should be understood that P-MOS, C-MOS (complementary MOS), or D-MOS (double-diffused MOS) technology can also be used in conjunction with appropriate changes in voltage source polarities and in current direction. The dual dielectric IGFET 101 has a first high current (source) terminal connected to an electrically conductive column signal line 103, and has a second high current (drain) terminal connected to one of the terminals of the diode 102 (in the current direction indicated in the drawing). The other terminal of the diode 102, the terminal on the opposite side from the memory IGFET 101, is connected to an electrically conductive row signal line 105. This diode 102 is unidirectional and allows the passage of current only in one direction, specifically in the direction from the diode 102 toward the IGFET 101, while inhibiting current flow in the opposite direction. 
     The low current (gate) terminal of the IGFET 101 is connected to a write-in gate row line 104. The left-hand end of the write-in gate row line 104 terminates in a gate row write-in switch 114 for switching the gate row line 104 to either a voltage source V 4  typically of about 25 to 40 volts, a voltage source -V 4  typically of about -25 to -40 volts, or a voltage source V 1  typically of about 5 volts (or alternatively V 1  as explained below), or to a ground terminal. Although this switch 114 is indicated in the drawing as a quintuple throw single pole type switch, various arrangements of semiconductor electronic transistor switches can be used for this switching purpose, as known in the art. The row signal line 105 connects the other terminal of every one of the diodes of the cells on the first (top) row to a row logic signal switching array 120. This switching array includes a plurality of IGFET switching transistors whose gate terminals are controlled by the logic values of the binary logic signals C, C (C = negative of C), D, and D; that is, the signal C turns its controlled transistors &#34;on&#34; when C is &#34;true&#34; and &#34;off&#34; when C is &#34;false&#34;, while the signal C turns its controlled transistors &#34;on&#34; when C is &#34;false&#34; (C is &#34;true&#34;) and &#34;off&#34; when C is &#34;true&#34; (C is &#34;false&#34;); and similarly for the logic signals D and D. In this way, the array 120 performs a similar function as the switches in columns C and D in the circuit of FIG. 3 as previously described. The extreme right-hand switches in the array 120 terminate in a double pole single throw logic computation-enable switch 121 for selecting the connection of the switching transistors of the array between a voltage source V 2 , typically of about 10 volts, and ground potential. 
     The column signal line 103 terminates at its upper end in a column logic signal switching array 160, which is similar to the array 120 except that the array 160 is controlled by signals representing the logic values of A,A,B, and B. The uppermost switches in the array 160 are connected to a single pole double throw detector switch 161 for selecting the connection of the transistors in this array to a voltage detector D or to ground. The column signal line 103 also terminates in one terminal of a unidirectional impedance element 133, in the form for example of a drain to gate shorted IGFET with relatively high impedance (small channel width to length (Z/L) ratio) as compared with that of the diode 102. This impedance element 133 inhibits substantially completely any tendency of flow of current going down (FIG. 1) the column signal line 103, and presents a sufficient resistance R 2  to the flow of current up the column line 103 as to produce a potential drop across itself of almost V 3  (= V 4  /2 approximately), typically about 12.5 to 20 volts, if and when the top end of the line 103 is grounded while the bottom end of this line is connected to V 3 . Each of the other column signal lines terminates at the bottom in a separate impedance element substantially identical to the impedance element 133. These impedance elements are connected together at their other terminals to a write-enable line 144 connected to a write-enable switch 153 for selecting connection of the line 144 between V 3  and ground potential. 
     In order to write in a logic cell at a given crosspoint the array of logic cells of the circuit 100, the switches of the arrays 120 and 160 are set by signals A, A, B, B, C, C, D, and D, such that only the corresponding crosspoint row signal line and the corresponding crosspoint column signal line are connected to the switches 121 and 161, respectively. For example, in order to write in the cell 110, the above-described logic values of logic signals A, A, B, and B are applied to the switching array 160 corresponding to: A is &#34;false&#34; and B is &#34;false&#34;; while signals C, C, D, and D are applied to the switching array 120 corresponding to: C is &#34;true&#34; and D is &#34;true&#34;. At the same time the switches 121 and 161 are thrown so as to connect both of these lines to the ground (i.e., the setting shown in FIG. 1); the write-enable switch 153 is thrown to V 3  (as in FIG. 1); the gate row switch 114 is thrown to V 4  to produce a short pulse, typically 10 microseconds to 10 milliseconds in duration, and all the other gate row switches are thrown to ground (as in FIG. 1). Thereby, the memory IGFET 101, of the crosspoint cell 110, will have both of its high current terminals grounded and its gate terminal at the voltage V 4  (sufficient for write-in by charge carrier transport (including tunneling) between the dual dielectric interface and the semiconductor substrate). Since only the cells on the first row have their dual dielectric IGFET gates connected to V 4 , only these cells have any tendency for write-in by charge transport so as to place negative charges at the dual dielectric interface of the memory IGFET in such cells. (These negative charges will suppress the &#34;on&#34; state of the memory IGFET during logic computation.) On the other hand, all cells on the first row, except for the cell 110, have the top end of their column signal lines floating (because of the &#34;off&#34; signals A and B) and the bottom end of these column signal lines connected to V 3  (through corresponding loads R 2 ); therefore, all these other cells (but for cell 110) on the first row have their memory IGFET with their channel regions (of the substrates underlying their dual dielectrics) at an electrical potential substantially equal to V 3 , which is sufficient to suppress substantially any charge transport otherwise produced by V 4 . Moreover, since the top end of (only) the extreme left-hand column signal line 103 is grounded while the load 133 has a sufficient resistance R 2  to support a voltage drop substantially equal to V 3 , therefore, the channel region of the substrate of the memory IGFET 101 will be substantially at ground potential and thereby will enable charge transport (including tunneling) between the dual dielectric interface in that memory IGFET and its semiconductor substrate. Thus, a given logic cell in the circuit 100 can be written by the transport phenomenon simply by addressing its gate row line with V 4  while all other gate row lines are grounded, while grounding its column signal line through the switching array 160 (by means of appropriate logic values of signals A, A, B, B, all other column row lines thereby being kept electrically floating), the write-enable switch 153 being thrown to V 3 , and while grounding its row signal line (by means of appropriate signals C, C, D, D) through the switching array 120 (all other row signal lines floating). 
     In order to compute a desired Boolean function of binary variable in the logic circuit 100, the desired function is first written into the logic cells one by one, as described above. Then the desired set of logic values of all variables (A, A, B, B, C, C, D, D) is applied to the corresponding switching arrays 160 and 120 while the logic computation-enable switch 121 is thrown to V 2 , the write-enable switch 153 is thrown to ground, the gate row switches are all thrown to V 1  (sufficient to produce a channel &#34;on&#34; condition in, and only in, the previously nonwritten logic cell memory IGFETs; but not sufficient to turn &#34;on&#34; the previously written cells), and the detector switch 161 is thrown to the voltage detector D. A non-zero reading in D (of substantially V 2 ) indicates a &#34;true&#34; value for the computed Boolean function of the instantaneous values of logic variables A, B, C, D; and a zero reading in D indicates a &#34;false&#34; value for the function of these variables. This follows from the fact that under the applied voltage V 1  to the gates with V 2  applied to the drains of all the dual dielectric IGFETs, all the nonwritten-in IGFETs will turn &#34;on&#34; while all the written-in IGFETs will stay &#34;off&#34;, thereby providing (or not providing) a low resistance current path from V 2  to the detector D (depending on the values of A, B, C, D and the write-ins of the various cells). It is thus advantageous that the load elements R 2  be unidirectional and prevent current flow from V 2  through R 2  to ground during logic computation. 
     In order to reprogram the logic cells (for producing a different Boolean function), a single whole row line can be erased at a time, as follows. In order to erase the first (top) row, the switch 161 is set a ground while the gate-row write-in switch 114 on the first row is thrown to -V 4  to produce a short pulse of typically 10 microseconds to 10 milliseconds while all other gate-row write-in switches are thrown to ground at a time when the write-enable switch 153 has been previously thrown to ground as has been the logic computation-enable switch 121, and while appropriate signals CCDD are being applied to the switching array 120 such as to ground at least the row signal line 105. In this way, the memory IGFETs of all logic cells on the first row (and only these cells) will be erased by transport of charges with respect to the substrate in the opposite sense of direction from the previous charge transport during write-in. Thus, the circuit 100 provides an electrically reprogrammable universal logic circuit. 
     Referring now to the logic circuit array 200 of FIG. 2, elements in FIG. 2 that are substantially the same as in FIG. 1 are referenced with the same reference numerals plus 100. Although the crosspoint logic cells in the logic array circuit 200 will be described in detail in terms of the upper left-hand cell 210, again it should be understood that all of the other crosspoint logic cells are similar in structure. As shown in FIG. 2, the logic array circuit 200 includes an array of 4×4 rows and columns of logic cells, each cell including a memory IGFET 201 in series with a semiconductor diode element 202, respectively similar to the memory IGFET 101 and the unidirectional diode 102 in the circuit of FIG. 1. For purposes of illustration only, the diode 202 is shown as an ordinary IGFET whose drain and gate terminals are permanently connected together. The memory IGFET 201 has a first high current (source) terminal connected to an electrically conductive column signal line 203 (also labeled &#34;a&#34;), and has a high current (drain) terminal connected to one of the terminals of the diode 202 in the current direction indicated in FIG. 2. This diode allows the passage of current only in one direction, specifically, in the direction from the diode 202 toward the IGFET 201 in the case of N-MOS technology. A low current (gate) terminal of the dual dielectric IGFET 201 is connected to a write-in gate row line 204. The other terminal of the diode 202, on the opposite side from the memory IGFET 201, is connected to an electrically conductive row signal line 205. The left-hand end of the write-in gate row line 204 terminates in a gate row switch 214 for switching the gate row line 204 to either a write-in or erase source ±V 4  (typically about ±25 to ±40-volt sources, respectively), or to a computation-enable source V 1  (typically about a 5 volt source) (alternatively to V.sub. 1 of typically 10 volts), or a ground terminal. Although the switch 214 is indicated in FIG. 2 as a single pole quintuple throw type switch, various arrangements of semiconductor electronic switches can be used for the purpose, as known in the art. The row signal line 205 connects all the diodes of the cells on the first (top) row to one terminal of a unidirectional electrical row load element 206, the other terminal of which is connected to a computation-enable line 207. The upper end of this computation-enable line 207 terminates in a single pole double throw computation-enable switch 208 for connection of the line 207 either to ground or to a voltage source V 2  (typically about 10 volts). The column signal line 203 terminates at its upper end in a single pole quadruple throw switch 213 for connection of the line either to ground, or to voltage source V 2  or to a column line voltage detector 223 or to an electrically floating condition (a blocking capacitor C B ). The detector 223 typically includes a load resistor element R D  in parallel with a voltmeter or voltage detector. The lower end of the column line 203 is connected through a unidirectional column load diode element 233 to a write-enable line 243. This write-enable line 243 is connected to a single pole double throw write-enable switch 253, for switching the line 243 either to a write-in voltage source V 3  or to ground. 
     Each of the unidirectional column load elements (such as 233) has a resistance R 2  in the forward (upwards in FIG. 2 for N-MOS) current direction and a substantially infinite (current inhibiting) resistance in the reverse current direction. Each voltage detector (such as 223) has an electrical resistance provided by a separate load resistor R D . All of the unidirectional electrical row load elements (such as 206) have a substantially equal resistance R 1  in the forward (right to left for N-MOS in FIG. 2) current direction and a substantially infinite (current inhibiting) resistance in the reverse direction. These directions of current inhibition in FIG. 2 (and FIG. 1) can be determined from the consideration that N-MOS technology is being illustrated and from the indicated electrical shorting of one of the high current (usually drain) terminals of each of the load IGFETs to its gate terminal. In order for this circuit 200 to function properly, it is advantageous that R D  be greater than R 1  advantageously by at least a factor of two or more and preferably by a factor of ten or more. 
     In order to write in a selected logic cell in the circuit 200, for example to write in the logic cell 210 containing the memory IGFET 201, the gate row switch 214 on the corresponding gate row line is thrown to V 4  to produce a short pulse, while all other gate row switches are set to ground, at a time when the column signal line switch 213 has been previously thrown to ground and all other column signal line switches have been thrown to a floating condition (i.e., to a blocking capacitor C B ). Also, at the same time, the write-enable switch 253 is thrown to V 3  while the computation-enable switch 208 is thrown to ground. Thus, only the logic cell 210 will be written by tunneling (or other charge transport) of electrical charges between the substrate and the dual dielectric interface of the memory IGFET structure, for similar reasons as previously discussed in connection with the write-in of the logic cell 110 in the circuit 100 (FIG. 1). 
     In order to erase a given row of logic cells in the logic circuit array 200, for example the top row of cells (including the cell 210), the corresponding gate row switch 214 is thrown to -V 4 , while all other gate row switches are thrown to ground, at a time when all other switches have previously been set to ground. In this way, tunneling and other charge transport (in the opposite direction from that during write-in) takes place in, and only in, the memory IGFETs of the given row, thereby erasing all these cells only. Thus, the logic array circuit 200 is fully electronically programmable and reprogrammable. 
     In order to understand the logic computation operations with the logic circuit 200, it should be noted that any dual dielectric memory IGFET in the circuit 200 which has undergone tunneling in response to +V 4  on its gate (and has not been erased, as by applying -V 4  to its gate) is in a condition characterized by negative charge trapped at the interface of the two dielectric layers. Accordingly, such a memory element (N-MOS structure) is in the nonconducting &#34;off&#34; state even in the presence of the moderate positive gate voltage V 1  during logic computation which is indeed sufficient to turn &#34;on&#34; and induce current flow through any nonwritten memory IGFET element when the logic computation-enable switch 208 is simultaneously thrown to V 2  while the column signal line of the nonwritten cell is grounded (but not if the column line of such cell is also connected to V 2  through its corresponding column switch). 
     During the logic computation operations with the logic array circuit 200, the column signal lines are used as logic signal inputs or outputs &#34;a&#34;, &#34;b&#34;, &#34;c&#34;, &#34;d&#34; (as indicated in FIG. 2) depending upon the specific logic operation desired and hence depending upon the throw of the corresponding column signal line switch to ground or to V 2 , or to the corresponding detector D 1 , D 2 , D 3 , D 4 , respectively. More specifically, the throw of a column line switch to a detector, such as switch 213 on column line &#34;d&#34; thrown to D 4 , corresponds to selection of that line &#34;d&#34; as an output line detected by D 4  ; whereas the throw of such a switch on a given column line such as &#34;a&#34; to ground or to V 2  selects that line as an input: &#34;a is false&#34; or &#34;a is true&#34;, respectively. For example, in order to obtain the logic function d = abc, with &#34;d&#34; being the output and &#34;a&#34;, &#34;b&#34;, and &#34;c&#34; being the inputs, all the cells on all rows except the top row are written (cannot turn &#34;on&#34; during computation), whereas all the cells on the top row are not written or are erased (can indeed turn &#34;on&#34; during computation). If the column switches on column lines &#34;a&#34;, &#34;b&#34;, and &#34;c&#34; are all thrown to V 2  (representing &#34;a&#34;, &#34;b&#34;, &#34;c&#34; are all &#34;true&#34;); then, if the computation-enable switch 208 has also been thrown to V 2  while the column switch on column line &#34;d&#34; has been thrown to the detector D 4 , under these conditions a detectable current from the source V 2  at logic computation-enable switch 208 flows through the computation-enable line 207 and thence through the logic cell located at the crosspoint, of the column line &#34;d&#34; and the top row line, to the detector D 4 , since only the cell at this crosspoint is &#34;on&#34;. On the other hand, if all the conditions of the previous sentence are the same except that any one (or more) of the column lines &#34;a&#34;, &#34;b&#34; or &#34;c&#34; is connected to ground (&#34;a&#34;, &#34;b&#34;, or &#34;c&#34; is &#34;false&#34;), then current from the source V 2  at computation-enable switch 208 can flow through that (those) IGFET(s) at the crosspoint of the top row and that one (or more) of the column lines &#34;a&#34;, &#34;b&#34;, or &#34;c&#34;, thereby producing a voltage drop across R 1  sufficient to prevent appreciable current from flowing through detector D 4  (R D  greater than R 1 ) on column line &#34;d&#34;. Thus, this mode of operation indeed yields the &#34;AND&#34; logic function d = abc, that is, &#34;d&#34; is &#34;true&#34; only if none of &#34;a&#34;, &#34;b&#34;, or &#34;c&#34; is &#34;false&#34; (i.e., none is connected to ground rather than to V 2 ). 
     For another example, the logical conjunctive &#34;OR&#34; function d = a+b+c can also be computed with the circuit 200, that is, &#34;d&#34; is &#34;true&#34; if any one (or more) of &#34;a&#34;, &#34;b&#34;, or &#34;c&#34; is &#34;true&#34;. Such a function can be achieved by writing in all cells (nonconducting during readout) except for the cells at the following crosspoints which either are not written or are erased: 
     1st row, 1st column (&#34;a&#34;); and 1st row, 4th column (&#34;d&#34;); 
     2nd row, 2nd column (&#34;b&#34;); and 2nd row, 4th column (&#34;d&#34;); 
     3rd row, 3rd column (&#34;c&#34;); and b 3rd row, 4th column (&#34;d&#34;). 
     Thereby, only if during computation all the column lines &#34;a&#34;, &#34;b&#34;, and &#34;c&#34; be switched to ground (&#34;a&#34;, &#34;b&#34;, &#34;c&#34; are all &#34;false&#34;), will there be a sufficient drop across all of the top three row loads R 1  to suppress current through D 4  ; and conversely, if any one of the column lines &#34;a&#34;, &#34;b&#34; or &#34;c&#34; be switched to V 2 , then there will be advantageously much less voltage drop across the particular R 1  on the corresponding row connected to that one column line by an erased crosspoint cell, thereby enabling current to flow from the computation-enable line through that non-written crosspoint cell to the detector D 4  in response to a throw of the computation-enable switch 208 to V 2 . 
     In order to avoid the need for writing in a whole row of cells (FIG. 1 or FIG. 2), during the logic computation any whole row of cells can alternatively be turned &#34;off&#34; (instead of by a previous write-in of that whole row) by connecting the corresonding gate write-in row line to ground. Current in any whole row cells can alternatively be turned &#34;on&#34; (instead of by a previous erase of that whole row) by applying to the corresponding gate write-in row line a voltage V 1  &#39; that is approximately equal to 2V 1 , that is, typically 10 volts. It should be understood, of course, that other memory elements than the particular one described above can be used with appropriate adjustments in applied voltages for writing, erasing, and computing. 
     In using the logic circuit 200, it should be understood that, by connecting a plurality of column lines through their selector switches to their detectors, a plurality of different logic functions of the input logic variables can be computed simultaneously. It should also be understood that the semiconductor substrate is maintained at ground potential. The detectors can, of course, be integrated into other logic circuits, memory circuits, or other types of circuits. Moreover, the column (alternatively row) signal and lines can be used for input variables while the row (alternatively column) signal lines can be used for output variables, with suitable circuit modifications as should be obvious to the worker in the art. The forward (low) resistance of every crosspoint diode in the logic circuits 100 and 200 should advantageously be at least an order of magnitude lower than any of the resistances R 1  and R D . 
     Although the invention has been described in detail in terms of specific embodiments, various modifications can be made without departing from the scope of the invention. For example, instead of the 4×4 crosspoint array of cells in the circuit 100, the invention can be extended to MxN crosspoint arrays by, for example, including further switches in each of the arrays 120 and 160, as indicated for example in FIG. 4 for an eight row logic array of such switches of three logic variables C, D, E. Alternatively, of course, P-MOS, C-MOS, or D-MOS technologies can also be used as was the case with the logic circuit 100. Moreover, although the load elements 206 have been described as including the property of unidirectional current inhibition, it is not essential for these load elements to be unidirectional (i.e., ordinary bidirectional resistive loads can be used). For small arrays (less than about 8×8), the load elements can be asymmetrical (or symmetrical) bidirectional resistor elements with individual resistances R 2  much greater than R D  (by at least a factor of about ten) for current flowing downwards in FIG. 2 through R 2 . Also, it is not absolutely essential that the resistance R D  of each detector be larger than that of each row load element R 1 , it being sufficient that R be at least of the same order of magnitude as R 1  (at some sacrifice of margin detection tolerances). Although the write-in and erase voltages have been denoted by V 4  and -V 4 , it should be understood that these voltages need not be equal in magnitude even for equal write-in and erase times, on account of the possible asymmetry of these electronic operations. It is also obvious that the logic circuits 100 and 200, together with their access load elements and switches, may be integrated into a single semiconductor chip in accordance with well-known integrated circuit techniques. Although switching operations have been described in terms of the settings of mechanical switches, electrically controlled transistor switching can be used instead, thereby enabling further integration of electrical elements on a single semiconductor chip in a single system. Finally, it should be recognized that the completely electrically reprogrammable logic circuits of this invention can be incorporated as an integral part of adaptive systems including self-teaching machines or the control logic of a central processing unit of a microprocessor.