Recently, it has been shown that a fundamental Boolean logic operation called material implication (IMP) is naturally realized in a simple circuit (Fig. 3.2) combining a conventional resistor and two TiO memristive switches [75, 76]. This provides stateful logic where non-volatile memory devices are used as the computing elements.
Material implication (IMP) is a fundamental two-input (e.g. and ) Boolean logic operation (), which reads ‘ implies ’ or ‘if , then ’, and is equivalent to ‘(NOT ) OR ’ () as shown in Table 3.1. The symbols and are chosen as they represent the logic states of a source (S) and a target (T) memory element in the stateful logic gate. The operations IMP and NIMP (negated IMP) form a computationally complete logic basis in combination with any operation from the sets C and , respectively, for which and and are therefore able to compute arbitrary Boolean functions.
Besides the AND, OR, and NOT operations, the IMP operation has been classified by Whitehead and Russell as one of the four basic logic operations in 1910 [160]. However, by modeling Boolean logic with circuits built with relays and switches, Shannon founded modern digital electronics [161] only based on AND, OR, and NOT operations due to their straightforward implementation. Since then, the IMP operation has been ignored in digital electronics. Only recently, it was demonstrated that memristive switches intrinsically enable the IMP operation in a crossbar array [75].
State | s t | s t | |
1 | 0 0 | 1 | 0 |
2 | 0 1 | 1 | 1 |
3 | 1 0 | 0 | 0 |
4 | 1 1 | 1 | 0 |
Implication operation |
HRS0, LRS1 |
HRS1, LRS0 | |||||
(conditional switching) |
t | t | |||||
State | s t | s t | s t | t | s t | t | |
1 | HRS HRS | HRS LRS | 0 0 | 1 | 1 1 | 0 | |
2 | HRS LRS | HRS LRS | 0 1 | 1 | 1 0 | 0 | |
3 | LRS HRS | LRS HRS | 1 0 | 0 | 0 1 | 1 | |
4 | LRS LRS | LRS LRS | 1 1 | 1 | 0 0 | 0 | |
Fig. 3.2 shows the circuit topology of the TiO memristive implication logic gate [75] combining two TiO memristors, and , with a conventional resistor . The initial resistance states of the source () and target () memristors (denoted by the logic variable and , respectively) are the logic inputs of the gate. The final resistance state of after performing the logic operation () is the logic output of the gate. Performing the logic operation () involves simultaneous application of two negative voltage pulses, and , to the non-common terminals of and . is a negative voltage with smaller amplitude than (). Therefore, the voltage drop on is smaller than (the voltage level required for memristor high-to-low resistance switching) and it remains unchanged after the operation for any input patterns. However, depending on the resistance state of , the voltage changes the voltage level on the common terminal of and () and modulates the voltage drop on the target memristor . This provides a conditional switching behavior in , which is shown in Table 3.2. In fact, the negative voltage pulse enforces a high-to-low resistance switching of only, when both memristors are initially in the high resistance state (State 1). The voltage has a higher amplitude compared to as it must compensate the voltage drop on .
According to Table 3.2, depending on the logical definitions for the memristor low (LRS) and high (HRS) resistance states, LRS logic ‘1’ and HRS logic ‘0’ or vice-versa, the realized conditional switching behavior is corresponding to the IMP or NIMP (negated IMP) operation (Table 3.1). In accordance with the convention of Shannon, if we define HRS 1 and LRS 0, the logic output of the implication gate corresponds to the NIMP operation as
{t′ = t NIMP s}≡t → s ≡{t′ = t.s = t AND ss}, | (3.1) |