Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
MEMRISTOR BASED LOGIC GATE
Document Type and Number:
WIPO Patent Application WO/2017/144862
Kind Code:
A1
Abstract:
A logic gate comprises a first input (A) and a second input (B), and further comprises a first memristor (M1), a second memristor (M2), a third memristor (M3), and a fourth memristor (M4), each memristor having a positive terminal and a negative terminal. The logic gate also comprises a first output (12) and a second output (14). The memristors are connected in a bridge arrangement whereby: the negative terminal of the first memristor and the positive terminal of the second memristor are connected in common to the first input;the negative terminal of the third memristor and the positive terminal of the fourth memristor are connected in common to the second input; the negative terminal of the second memristor and the negative terminal of the fourth memristor are connected in common to the first output; and the positive terminal of the first memristor and the positive terminal of the third memristor are connected in common to the second output. In use, the voltage of at least one of the outputs, or the voltage difference between the first and second outputs, corresponds to the result of a logic operation relative to voltages applied to the first and second inputs.

Inventors:
JABIR ABUSALEH MUHAMMAD (GB)
YANG XIAOHAN (GB)
ADEYEMO ADEDOTUN ADEDEJI (GB)
Application Number:
PCT/GB2017/050431
Publication Date:
August 31, 2017
Filing Date:
February 20, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
UNIV OXFORD BROOKES (GB)
International Classes:
G11C13/00; H03K19/185; H03K19/19
Foreign References:
US20150371705A12015-12-24
US20150091111A12015-04-02
US20100073025A12010-03-25
US6028453A2000-02-22
CN102811051B2014-10-29
US20140035620A12014-02-06
Other References:
HYONGSUK KIM ET AL: "Neural Synaptic Weighting With a Pulse-Based Memristor Circuit", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I: REGULAR PAPERS, IEEE, US, vol. 59, no. 1, 1 January 2012 (2012-01-01), pages 148 - 158, XP011391851, ISSN: 1549-8328, DOI: 10.1109/TCSI.2011.2161360
PAPANDROULIDAKIS GEORGIOS ET AL: "Boolean Logic Operations and Computing Circuits Based on Memristors", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II: EXPRESS BRIEFS, IEEE, US, vol. 61, no. 12, 1 December 2014 (2014-12-01), pages 972 - 976, XP011565592, ISSN: 1549-7747, [retrieved on 20141127], DOI: 10.1109/TCSII.2014.2357351
SANGHO SHIN ET AL: "Resistive Computing: Memristors-Enabled Signal Multiplication", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I: REGULAR PAPERS, IEEE, US, vol. 60, no. 5, 1 May 2013 (2013-05-01), pages 1241 - 1249, XP011505599, ISSN: 1549-8328, DOI: 10.1109/TCSI.2013.2244434
Attorney, Agent or Firm:
BARKER BRETTELL LLP (GB)
Download PDF:
Claims:
CLAIMS

1. A logic gate comprising:

a first input and a second input;

a first memristor, a second memristor, a third memristor, and a fourth memristor, each memristor having a positive terminal and a negative terminal; and

a first output and a second output,

wherein the negative terminal of the first memristor and the positive terminal of the second memristor are connected in common to the first input,

wherein the negative terminal of the third memristor and the positive terminal of the fourth memristor are connected in common to the second input,

wherein the negative terminal of the second memristor and the negative terminal of the fourth memristor are connected in common to the first output,

wherein the positive terminal of the first memristor and the positive terminal of the third memristor are connected in common to the second output, and

wherein, in use, the voltage of at least one of the outputs, or the voltage difference between the first and second outputs, corresponds to the result of a logic operation relative to voltages applied to the first and second inputs. 2. A logic gate according to claim 1, wherein the voltage difference between the outputs constitutes the result of a logic operation relative to the voltages applied to the first and second inputs, and wherein the logic operation is one of XOR and XNOR.

3. A logic gate according to claim 1 or 2, further comprising a transistor, wherein the gate of the transistor is connected to one of the first and second outputs, wherein the drain of the transistor is connected to the other of the first and second outputs, and wherein the source of the transistor is connected to a positive or negative supply voltage or ground.

4. A logic gate according to claim 3, wherein said transistor is NMOS or PMOS.

5. A logic gate according to any preceding claim, wherein the common connection of two of the memristor terminals of the same polarity is connected via a resistance to the respective output. 6. A logic gate according to any preceding claim, wherein the voltage at the first output represents a different logic operation from the voltage at the second output, with respect to the inputs.

7. A logic gate according to claim 6, wherein the two different logic operations are XOR and AND, or are OR and XNOR.

8. A logic gate according to any preceding claim, further comprising at least one inverter whose input is connected to one of said first and second outputs to provide a buffered output at the output of the inverter.

9. A logic gate according to claim 8, wherein said inverter is a CMOS inverter buffer.

10. A full adder circuit comprising two logic gates each according to any one of the preceding claims.

11. A full adder circuit according to claim 10, further comprising at least two further memristors configured to provide at least one of an OR gate and an AND gate.

Description:
MEMRISTOR BASED LOGIC GATE

The present invention relates to a logic gate, or to multiple logic gates, in which at least one memristor is used in the logic gate architecture.

Memristors (short for 'memory-resistors') are emerging as highly promising nanoscale programmable resistive memory devices, which have already found applications in areas such as very high density nonvolatile memory, physically uncloneable functions (PUFs), neuromorphic systems, and logic design. However, many of the existing memristor based logic architectures are designed to work over multiple clock cycles and require complex control logic for operation. As a result, these are not easy to integrate with existing CMOS technology and require complex control circuitries, which are incompatible with existing architectures. In addition, the capacitance in CMOS can be a limiting factor which sets a poor upper bound on CMOS based systems especially at higher frequencies. There are also the problems of reducing power consumption of logic gate circuits, and improving the chip area utilization.

The present invention has been devised in view of the above problems.

Accordingly, the present invention provides a logic gate comprising:

a first input and a second input;

a first memristor, a second memristor, a third memristor, and a fourth memristor, each memristor having a positive terminal and a negative terminal; and

a first output and a second output,

wherein the negative terminal of the first memristor and the positive terminal of the second memristor are connected in common to the first input,

wherein the negative terminal of the third memristor and the positive terminal of the fourth memristor are connected in common to the second input,

wherein the negative terminal of the second memristor and the negative terminal of the fourth memristor are connected in common to the first output,

wherein the positive terminal of the first memristor and the positive terminal of the third memristor are connected in common to the second output, and

wherein, in use, the voltage of at least one of the outputs, or the voltage difference between the first and second outputs, corresponds to a logic operation relative to voltages applied to the first and second inputs. Further aspects of the invention are defined in the dependent claims. Embodiments of the invention will now be described, by way of example only, with reference to the accompanying drawings, in which:

Fig.1 is a circuit symbol for a memristor;

Fig. 2 is a purely memristive logic gate according to an embodiment of the invention with XOR functionality;

Fig. 3 is a logic gate according to an embodiment of the invention with XOR and AND dual functionality;

Fig. 4 is a logic gate according to an embodiment of the invention with OR and XNOR dual functionality;

Fig. 5 is a full adder circuit according to an embodiment of the invention;

Fig. 6 is a circuit and circuit symbol for a memristive OR gate;

Fig. 7 is a circuit and circuit symbol for a memristive AND gate;

Fig. 8 is a circuit and circuit symbol for an inverter buffer (CMOS NOT gate);

Figs. 9a - 9d are circuit diagrams of unbuffered full adder circuits according to embodiments of the invention;

Figs. 10a - lOd are circuit diagrams of buffered full adder circuits according to embodiments of the invention;

Fig. 11 shows graphs of gate inputs and XOR outputs for both comparative example gates and a gate according to an embodiment of the present invention;

Fig. 12 is a purely memristive logic gate according to a further embodiment of the invention with XNOR functionality;

Fig. 13 is a logic gate according to a further embodiment of the invention with XOR and AND dual functionality;

Fig. 14 is a logic gate according to a further embodiment of the invention with OR and XNOR dual functionality.

Memristors are known in the art as devices whose electrical resistance is changed by the electrical current that flows through the device. The resistance has a minimum value R ON and a maximum value R OFF - The resistance can be switched and is non-volatile (the resistance value is 'remembered'), so that a memristor can be used as a memory element. Fig. 1 shows the symbol of a memristor. In the convention used herein, the dark band indicates the 'positive' terminal 2, and the other terminal 4 is the 'negative' terminal. The voltages applied to the positive and negative terminals 2, 4 are V p and V n respectively. The memristor switches to low resistance R o when V p - V n > V M , where V M is a threshold value which is characteristic of the memristor (memristive device); and switches to a high resistance R 0FF otherwise. The terms 'positive' and 'negative' used herein are purely labels to distinguish the terminals of the memristor, and to define the switching behavior above; in the art the terminals may also be given other labels such as in/out, active/inactive, input/output, +/-.

Memristors can be made of various materials, such as: Ti0 2 (for example with doped and undoped regions and with Pt electrodes); Ag/Ag 5 In 5 Sb 6 oTe 3 o/Ta; Ag-a-LSMO-Pt (Ag nano- filaments in amorphous manganite thin films); and other ferroelectric and doped polymeric materials. Embodiments of the present invention are not limited to any specific material, provided the memristive property is present. However, in preferred embodiments, the materials and voltages required are compatible with CMOS electronics.

A first embodiment of the invention is the purely memristive XOR architecture 10 as shown in Fig . 2. The XOR architecture incorporates four memristors Μ γ , M 2 , M 3 and 4 . The negative terminal of the first memristor Mj and the positive terminal of the second memristor M 2 are connected in common (P T ) to a first input s. The negative terminal of the third memristor M 3 and the positive terminal of the fourth memristor M 4 are connected in common (P B ) to a second input B. The negative terminal of the second memristor M 2 and the negative terminal of the fourth memristor Mi are connected in common (P R ) to a first output 12. The positive terminal of the first memristor Mj and the positive terminal of the third memristor M 3 are connected in common (P L ) to a second output 14. The voltages present at the first and second outputs 12, 14 are denoted by V L1 and V L2 , respectively.

As summarized in Table I, the voltage difference between V Ll and V L2 , i.e. the voltage across a hypothetical load resistance R L , behaves like the XOR operation with respect to input voltages applied to inputs A and B, which input voltages are either OV for the low or OFF logic state, and +V] for the high or ON logic state. In this table V l > V M and is assumed to be equivalent to V DD in CMOS logic, and represents the ON-state voltage. This is summarized in Lemma 1.

Lemma 1 : The pure memristor circuit in Fig. 2 realizes the XOR functionality depicted in Table I. TABLE I

Proof: We show that the architecture in Fig. 2 satisfies each row in Table I.

Row-1 : Follows trivially because no current flows in the circuit.

Row-2: In this case memristors M 2 = M 3 = R 0¥¥ because OV appears at the positive terminal of M 2 through A, and V^ V appears at the negative terminal of M 3 through B. In contrast, memristors 4 = M l = R ON because their positive terminals are closer to V^ V and negative terminals closer to OV. Because of voltage division the voltage at P R rises towards j V, and that at P L falls towards OV. Hence the current flows from B→ P B → P R →V Ll → V L2 → P L → P T → A. Hence this is logic 1.

Row-3: This is similar to Row-2. Here M l = 4 = R OFF , while M 2 = M 3 = R ON . Again the voltage atP R rises towards V^ V, and that at P L falls towards OV. The current flows from A→ P T → P R → V Ll → V L2 → P L → P B → B. Hence this is logic 1.

Row-4: In this case both P L (V L2 ) and P R (V Ll ) are at the same voltage level and no current flows through R L . Hence this is logic 0.

These operations can take place in the same clock cycle as the inputs. Hence the circuit in

Fig. 2 exhibits XOR functionality in Table I in a single cycle. Therefore VA, B £ {0,Fl }, the following are true for the circuit in Fig. 2.

Vi, = A V B ( V)

V L2 = A B (2)

Vu≥ - (3)

Further embodiments are shown in Figs. 3 and 4, for realizing the XOR/AND and XNOR/OR operations in a single cycle. These are based on the architecture of the circuit generally denoted 10 in Fig. 2 (excluding any load resistor R L ), which is indicated for simplicity by the box 10 in Figs. 3 and 4, and which has the inputs A and B, and the outputs 12 and 14 (like reference signs are used for like features throughout this description). The new circuits of Figs. 3 and 4, generally denoted 30 and 40, each include a switching element, in this case the NMOS transistor (NMOST in Fig. 3) and the PMOS transistor (PMOST in Fig. 4), and an optional resistance R D . Thus each circuit consists of one transistor and the four memristors of the circuit 10, so is denoted a ' 1T-4M' design. The circuit 30 of Fig. 3 has outputs 32 and 34, and the voltages at these outputs are V XO R and V AND , respectively, which provide the logic functions XOR and AND with respect to the inputs A, B. The circuit 40 of Fig. 4 has outputs 42 and 44, and the voltages at these outputs are V 0 R and V XN0R , respectively, which provide the logic functions OR and XNOR with respect to the inputs A, B.

These circuits are well suited for seamless integration with the existing CMOS technology without requiring any additional control input/logic, which most existing techniques require. Here the NMOS transistor (NMOST) and the PMOS transistor (PMOST) are assumed to operate in the saturation and cut off regions. The following analysis demonstrates the correctness of operation of these logic gates.

Lemma 2: The NMOST in Fig. 3 and the PMOST in Fig. 4 realize the following logic operations respectively:

XOR = ¾s A J E_2 (4)

V ' OR = V[,l V ' V'f..2 - (5)

Proof: The proof follows by firstly noting Eq. (3). The only time V XOR in Fig. 3 is at logic 1 (~V V) is when V L1 ~ V V and V L2 ~ 0V. At all other times either V X0R = 0 (V = V L2 = 0) or the NMOST goes into saturation and V XOR ~ 0A V (V Ll = V L2 ~ V^V). Similarly, in Fig. 4 the only time V xmR ~ 0V is when V Ll ~ ~ pyv. Hence the proof follows.

Theorem 1 : The circuit in Fig. 3 realizes logic XOR (V xos ) and AND operations simultaneously, and the circuit in Fig. 4 realizes the logic XNOR (^XNOR) and OR (V 0R ) operations simultaneously.

Proof: According to Eq. (2) and Eq. (1), the circuits in Fig. 3 and 4 trivially realize the AND and OR operations respectively. To prove that Fig. 3 realizes the XOR operation, we substitute V Ll and V L2 from Eq. (1) and Eq. (2) into Eq. (4) respectively. This yields V XOR = A © B. Now, regarding Fig. 4, Eq. (5) is merely the inverse of Eq. (4), i.e. :

^ NOR = VXOR = Θ^4 @B . Hence the proof follows. The circuits in Fig. 2, 3, and 4 realize 'weak' (buffer-less) outputs. However, one or more CMOS inverter buffer stages can be added at the outputs for full voltage swings and current drive. For example, a CMOS inverter (comprising two transistors) connected to output 32 (V XOR ) in Fig. 3 converts it into a 'strong' XNOR gate, while a CMOS inverter connected to output 44 (V xmK ) in Fig. 4 converts it into a 'strong' XOR gate. This yields 3T-4M buffered XOR/XNOR gates, which requires considerably fewer transistors compared to some conventional designs.

The Design Rule for the logic gate circuits is now considered. Let I D sat be the drain saturation current for the NMOST and PMOST. The design rule for the circuit in Fig. 3 will now be described; similar design rule applies to Fig. 4. To ensure that the design works correctly, it needs to be ensured that the transistors operate in the saturation and cutoff regions.

(1) The NMOST is in saturation when A = B = V L1 = V L2 ~ ^V. In this case M 2 = M = R m , while M l = M 3 = R 0FF . Also as far as V Ll is concerned, M 2 \ | 4 = i? 0N | |R 0N . Hence, I D sat = (V DD -V ms /{R D + R 0N \ IRQ,,) =>(R D + ¾N/2) = (V DD -V /I DtSat .

(2) The NMOST is in its cutoff region when V Ll ~ V j W and V L2 ~ 0V, i.e. when A = V j W and B = 0V or A = 0V and B = V^V. In the first case M l = R 0FF and M 3 = i? 0N , and in the second case M l = i? 0N and M 3 = R 0FF . In both the cases M l and M 3 form a voltage divider with respect to V L2 . Hence, it needs to be ensured that ({ν γ *R m )/(R m +i? 0FF )) < the threshold voltage of the NMOST.

Embodiments of the invention have been tested with several memristor models, and the designs work correctly for a range of R o and R 0¥¥ . For low R o a higher value of the resistance R D maybe necessary, while for higher R m , R D maybe eliminated altogether. The resistor R D can be a discrete resistor component, or can be a nanowire, or can be intrinsic resistance in the microcircuitry connection.

FULL ADDER EMBODIMENT

The multifunctionality of the architecture (i.e. more than one logic operation output in a single gate) offers compact design of more complex circuits. This is demonstrated in a full adder circuit design. Fig. 5 shows an unbuffered (weak) XOR-XOR 2T-10M full adder design. It incorporates two multifunction logic gates 30 each corresponding to the circuit of Fig. 3. The two bits to be added are applied to inputs A and B, and an input carry bit at terminal Cj. The sum bit is presented at output terminal S, and the output carry bit at terminal Co. Here, the sum S = A @ B @ Cj. The shared terms are A A B and Cj{A @B), which are ORed together (by the two further memristors M 5 and M 6 ) to form the output carry Co = Cj(A © B) V AB.

A selection of buffered and unbuffered full adders has been designed. To simplify explanation of these designs, reference is made to Figs. 6 to 8. Fig. 6 shows two memristors connected to form an OR gate, also called a memristive OR gate or MOR gate, indicated by the corresponding symbol on the right hand side of the figure. Fig. 7 shows two memristors connected to form an AND gate, also called a memristive AND gate or MAND gate, indicated by the corresponding symbol on the right hand side of the figure. Fig. 8 shows two transistors connected to form an inverter (NOT gate), to act as an inverting buffer, indicated by the corresponding symbol on the right hand side of the figure.

The designs are presented in Table II. The column 'Architecture' shows all possible ways of using the architectures of Figs. 3 and 4 in the first and second sum stages; and the columns 'Unbuffered' and 'Buffered' summarize the number of transistor and memristor elements used, and total number of elements (components) required, for unbuffered and buffered full adders. The corresponding circuits are illustrated in Figs. 9a-d for unbuffered and Figs. 10 a-d for buffered (a-d corresponding with rows 1-4 of the architectures in Table II). In Figs. 9 and 10, the boxes with outputs labelled XOR and AND are the circuits 30 of Fig. 3, the boxes with outputs labelled OR and XNOR are the circuits 40 of Fig. 4, and the other symbols correspond to the circuits of Figs. 6 to 8. It will be appreciated that the circuit of Fig. 9a is identical to that of Fig. 5, just with the memristors M 5 and M 6 replaced by the MOR gate symbol.

TABLE II

In Table II, the column 'Buffered' represents the designs with CMOS inverters to achieve full voltage swing at the outputs (circuits shown in Fig. 10). In this column the XOR-XOR design is the most compact (10T-12M) and provides highly reliable performance, and the circuit is illustrated in Fig. 10a. As can be seen, a CMOS inverter is connected to each XOR output; the carry is double inverted. Hence this needs 3T+3T+4T=10T and 8M+2M+2M = 12M. This is substantially superior to existing designs, which use e.g. 16T-18M and 27T-2M.

PERFORMANCE

The memristors were coded in Verilog-A based on the VTEAM model (Kvatinsky, S., Ramadan, M., Friedman, E. G., Kolodny, A.: 'VTEAM: A General Model for Voltage- Controlled Memristors', IEEE Trans. Circuits Syst. II: Express briefs, 2015, 62, (8), PP. 786- 790) and the circuits were designed and simulated in Cadence Virtuoso (trade mark). The 32nm technology node was used for the experiments with V\ = V DD = 1.2V, and I D sat ~ 46.63 Α for the NMOST and I D sat ~ 47.6μΑ for the PMOST at 27C operating temperature. As an example of i? 0N and R 0FF selection, if one sets i? 0N = 500Ω and R 0FF = 2ΚΩ, then based on Design Rule- (1) R D ~ 24ΚΩ. Also this ensures about 0.24V drop across i? 0N to satisfy Design Rule-(2). A higher R 0FF , e.g. R 0FF = 80ΚΩ, ensures better power performance.

The performance of 3T-4M embodiments of the invention has been compared with CMOS based designs from Mishra et al. (Mishra, S. S., Agrawal, A. K., Nagaria, R. K.: Ά comparative performance analysis of various CMOS design techniques for XOR and XNOR circuits', International Journal on Emerging Technologies, 2010, 1, (1), pp. 1-10). The first two rows of Table III present the performance of 3T-4M XOR and XNOR gates (corresponding to Figs. 4 and 3, respectively, with an additional 2T inverter buffer of Fig. 8 on the XNOR or XOR output), while the last two rows present the performance of the 10T/8T CMOS XOR/XNOR gates of Mishra et al . The latter design is based on a 'weak' 6T XOR gate. The load capacitance was considered to be 1 Femto Farad (fF). The power, in microwatts ( /W), is the average of the total static and dynamic powers. Clearly, both designs according to embodiments of the invention require significantly less power than the CMOS designs, while maintaining consistent performance even at 8GHz. In fact the CMOS designs failed around 4GHz frequencies (the 'Stat' or status column indicating correct operation: pass or fail). In addition, it is noted that the buffered XNOR design embodiment is considerably more power efficient than the buffered XOR design embodiment. This is owing to the use of the NMOST vs PMOST and the way they are connected as shown in Figs. 3 and 4.

TABLE III

Fig. 11 presents the performance of the above 3T-4M buffered XOR gate embodiment at 8GHz in comparison with known designs. The top two signals are the input voltages applied to terminals A and B; the third graph is the output of the 10T CMOS XOR gate of Mishra et al ; the fourth graph is the output of the 6T-2M hybrid memristor-CMOS based XOR designs from Mathew et al. (Mathew, J., Chakraborty, R. S., Sahoo, D. P., Yang, Y., Pradhan, D.K.: Ά novel memristor based physically uncloneable function', ELSEVIER, INTEGRATION, the VLSI journal, 2015 51, pp. 37-45); and the bottom graph is the output of the 3T-4M buffered XOR gate embodiment. Both the comparative example 10T CMOS and 6T-2M XOR gates failed as can be seen by the incorrect logic operation and/or incomplete voltage swings.

The buffered full adder designs in Table II have also been tested at various frequencies. The 10T-12M design from the first row (XOR-XOR architecture) operated correctly at 8GHz and required 63.53 ^W power. This is lower than the power consumed by a single CMOS XOR gate (Table III).

FURTHER VARIANTS

Referring to Fig. 2, it will be seen that memristors M and M 4 form an OR gate with respect to the inputs A, B; the OR result voltage V L1 appearing at output 12 (c.f 'MOR' gate Fig. 6). It will also be seen that memristors Mi and M 3 form an AND gate with respect to the inputs A, B; the AND result voltage V L2 appearing at output 14 (c.f. 'MAND' gate Fig. 7). The pure memristive architecture of Fig. 2 behaves like an XOR gate (Table I). Here, V L1 >= V L2 for the NMOS and PMOS transistors to work properly and provide the XOR and XNOR gate functionality (Figs. 3 and 4 respectively).

It is also possible to reverse the memristor polarities as shown in the circuit 60 in Fig. 12. Now voltage V L i at output 62 is the AND operation on the inputs A, B, and the voltage V L2 at output 64 is the OR operation, i.e. the AND and OR gates are swapped compared to Fig. 2. In this case the circuit behaves like a pure memristive XNOR functionality. However, in this case it is necessary to ensure that V L2 >= V L1 for the transistors T to work and provide the XOR and XNOR functionality, see the circuits of Figs. 13 and 14, respectively. Note that the roles of V L1 and V L2 have reversed in Figs. 13 and 14 compared to Figs. 3 and 4 (c.f. terminals 12, 14 and terminals 64, 62). It will be appreciated that with these changes, the circuit of Fig. 13 is identical to the circuit of Fig. 3, and the circuit of Fig. 14 is identical to the circuit of Fig. 4.

A high performance multifunction logic architecture has been presented, which can be seamlessly integrated with the existing CMOS technology. One embodiment is a design comprising one transistor and four memristors (1T-4M) that requires considerably fewer transistors and memristors compared to existing techniques. The designs embodying the invention are capable of significantly outperforming existing CMOS as well as hybrid CMOS- memristor designs in terms of chip area, power consumption, and reliable performance, especially at high frequencies. In particular, the 1T-4M design realizes multiple functions (XOR/AND or XNOR/OR) in a single cycle, i.e. during the same cycle the input is applied, and can be seamlessly integrated with the existing CMOS technology with the least overhead compared to any existing technique. One advantage of memristors is that it is possible to fabricate memristors in 3D whereas with CMOS only 2D fabrication is possible. This allows memristors to be fabricated along the Z-axis, layered over the X-Y axis of CMOS layout. In addition, the capacitance in CMOS can be a limiting factor which sets a rather poor upper bound on CMOS based systems especially at higher frequencies. These short comings of CMOS based designs are addressed by reducing the number of CMOS transistors in embodiments of the invention. This not only significantly improves the reliability of embodiments at high frequencies, it also enables very low power consumptions and much better chip area utilization. The latter is possible because space is freed up in the CMOS layer, where more CMOS functionality can be incorporated by units which solely depend on the CMOS technology. The proposed embodiments also enable reduced memristor count. Additionally, the multifunctionality feature of the architecture embodying the invention allows highly compact and efficient design of systems, as demonstrated by the highly optimized, low complexity, full adder circuits defined herein.