You are on page 1of 5

972 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS—II: EXPRESS BRIEFS, VOL. 61, NO.

12, DECEMBER 2014

Boolean Logic Operations and Computing


Circuits Based on Memristors
Georgios Papandroulidakis, Ioannis Vourkas, Student Member, IEEE,
Nikolaos Vasileiadis, and Georgios Ch. Sirakoulis, Member, IEEE

Abstract—This brief contributes to the design of computa- Memristors could be arbitrarily programmed to theoretically all
tional and reconfigurable structures that exploit unique threshold- intermediate conducting states. However, a given memristance
dependent switching response of single memristors and their precision requires biasing with very precise amplitude and du-
compositions. A new logic circuit design paradigm, which assumes
parallel processing of input signals, is proposed, along with a ration and, thus, is strongly dependent on device variations [8].
methodology for the construction of robust programmable com- This brief addresses novel computational methods and struc-
posite memristive switches of variable precision. This methodology tures that exploit the threshold-dependent resistance switching
is applied to the design of memristive computing circuits. A SPICE behavior of memristors and their compositions. The presented
simulation-based validation of the proposed circuits and systems is applications include Boolean logic operations and pro-
provided.
grammable memristive switches. The fundamental dynamics
Index Terms—Boolean logic, memristive computing, memristive of all primitive memristive structures are described. Then, a
systems, memristor, programmable analog circuits. novel memristive logic family that uses the total conductance
I. I NTRODUCTION of memristive ensembles for several Boolean operations is
proposed. Moreover, a methodology for the construction of
I T was not until 2008 that Chua’s theory of the fourth fun-
damental circuit component, which he called a memristor
(concatenation of “memory resistor”), was successfully linked
robust fine-resolution programmable memristive switches is
presented. This new methodology makes unnecessary the need
for high-precision tuning of single devices. Finally, the pro-
to its first modern practical implementation by HP Laboratories
posed memristive switches are used in a memristive closed-loop
[1]. A memristor (here used to describe both an ideal memristor
analog computing circuit that is able to generate scalable output
and a generalized memristive system [2]) is a two-terminal
voltage levels in a stepwise manner.
passive nonvolatile resistance switching device, which is quite
promising to advance the electronic circuits and systems state-
of-the-art due to its many favorable properties [3]. Most exper- II. S WITCHING DYNAMICS OF M EMRISTORS
imentally realizable memristors demonstrate a threshold-type AND M EMRISTIVE C IRCUIT C OMPOSITIONS
response; they comply with a set of usually asymmetric voltage
Fig. 1 presents the qualitative current–voltage (I−V ) charac-
thresholds for SET and RESET operations, meaning that there
teristics of memristors with opposite polarities and their serial/
is a negligible change induced to their memory resistance
parallel combination under ac applied voltage. We consider
(memristance) if the magnitude of the applied voltage remains
a memristor to be forward/reversely polarized (FPM/RPM)
below these thresholds [4].
when the voltage is applied to the top/bottom terminal with
A memristor opens new pathways for the exploration of
the bottom/top terminal being grounded; the bottom terminal
advanced circuit architectures where computing and storing are
is denoted by the black thick line. For the employed devices,
performed on the same devices [5]. Related work on logic cir-
we assume asymmetric thresholds and the following initial
cuit design with memristors has so far focused on stateful logic
states: {RPM, FPM} = {ON, OFF}. Memristors with opposite
[6], [7]. However, its major disadvantage is the necessity to
polarities generally demonstrate reversed behavior to the ap-
perform lengthy sequences of imply/false operations in order to
plied signals. According to Fig. 1(a), when a positive voltage
synthesize a given Boolean function. Moreover, programmable
applied to an FPM reaches its “set threshold” (VS,1 ), the device
resistors are currently required for various circuit applica-
switches to its low resistive state (ON state). Then, an ohmic
tions in order to facilitate adaptation to particular conditions.
behavior is observed until a “reset threshold” (VR,1 ) is reached
and the device returns to the high resistive state (OFF state). The
Manuscript received April 30, 2014; revised July 10, 2014 and August 24, I−V graph of an RPM shown in Fig. 1(b) is symmetric to that
2014; accepted September 3, 2014. Date of publication September 11, 2014;
date of current version December 1, 2014. This work was supported in part of an FPM and has the opposite voltage thresholds.
by a scholarship from the BODOSSAKI Foundation, Greece. This brief was Fig. 1(c) illustrates the composite I−V response of two
recommended by Associate Editor R. W. Newcomb. reciprocal memristors connected in parallel. When a positive
The authors are with the Department of Electrical and Computer Engi-
neering, Democritus University of Thrace (DUTh), 67100 Xanthi, Greece applied voltage reaches the “reset threshold” of the RPM
(e-mail: georpapa17@ee.duth.gr; ivourkas@ee.duth.gr; nikovasi@ee.duth.gr; (VR,2 ), its state is changed and the total current drops. Next,
gsirak@ee.duth.gr). when the voltage exceeds the “set threshold” (VS,1 ) of the FPM,
Color versions of one or more of the figures in this brief are available online
at http://ieeexplore.ieee.org. it switches to the ON state and the total current rises again.
Digital Object Identifier 10.1109/TCSII.2014.2357351 Afterward, the composite device exhibits an ohmic behavior

1549-7747 © 2014 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
PAPANDROULIDAKIS et al.: BOOLEAN LOGIC OPERATIONS AND COMPUTING CIRCUITS BASED ON MEMRISTORS 973

Fig. 1. Qualitative current–voltage (I−V ) characteristics of individual mem-


ristors with opposite polarities and their serial/parallel combination. Fig. 2. General concept for the construction of two-input memristive logic
gates. (a)–(c) Qualitative I−V characteristics corresponding to FPMs or RPMs
unless a negative voltage is applied. This behavior is opposite and their series/parallel combination. (d) Circuit implementing any of the six
to that of the anti-serially connected memristors presented in provided logic operations with two variables.
Fig. 1(d). However, here, the voltage thresholds (denoted by
Vth,1 −Vth,4 ) cannot be formerly known exactly because the As shown in Fig. 2(a), an FPM will switch from a low con-
connected devices here form a voltage divider; the voltage ductance L to a high conductance H if any of the applied inputs
drop over each element depends on the total applied voltage, is logic “1” (or both), i.e., it exceeds VS,1 . Likewise, when
on the internal states of the devices, and on their particular employing two FPMs in series, the composite memductance
switching characteristics. In both connection types, a negative will rise from a low value L to a high value H  only when both
applied voltage will in turn reset the memristors to the given inputs are logic “1,” so that the aggregate input voltage exceeds
initial states. An outstanding feature that appears for both the the cumulative threshold 2 × VS,1 . Therefore, memductance in
series and the parallel connection of reciprocal memristors is these two cases is defined by the following equations, which
the perfectly symmetric I−V curve, which resembles a trun- describe OR and AND logic operations as functions of the
cated Ohm’s law; current is piecewise linear with the voltage. aggregate applied voltage:
However, if the devices are all placed with the same polarity,
OR: G(V
 IN,SUM = VIN,1 + VIN,2 )
their overall behavior resembles that of a memristor of the same
H, VIN,SUM > VS,1
polarity but with complex switching properties [9]. = (1)
L, otherwise
AND : G(VIN,SUM = VIN,1 + VIN,2 )
III. T HRESHOLD -BASED S WITCHING B EHAVIOR  
H ,VIN,SUM > 2 × VS,1
E NABLES B OOLEAN L OGIC O PERATIONS = . (2)
L , otherwise
Here, we present a memristive logic family which uses the
total memory conductance (memductance) of the employed When employing an RPM or two RPMs in series, as shown
devices for the computation of Boolean AND, OR, NAND, NOR, in Fig. 2(b), under similar working principles, the circuit im-
XOR, and XNOR operations. Fig. 2 summarizes the general plements a NOR and a NAND logic gate, respectively. Unlike
concept for the construction of two-input memristive logic in Fig. 2(a), it is threshold VR,1 and 2 × VR,1 that now define
gates. According to Fig. 2(d), the aggregate input voltage is memristance switching. OR and NOR gates with more inputs can
applied to a memristive ensemble, which can be any of the six be implemented by adding more than two signals in the applied
provided options, each implementing a particular logic opera- sum; this number is practically limited by the maximum voltage
tion. All necessary input combinations of the aggregated input a device can tolerate without being damaged. For AND and
signals could be generated either by using appropriate switches NAND operations, an additional memristor has to be included
or via a summing amplifier. The qualitative I−V graphs in for each additional input signal to accordingly increase the
Fig. 2(a)–(c) show why memductance is inherently suitable to cumulative threshold.
be the state variable for Boolean logic operations. In all cases, As shown in Fig. 2(c), when using two reciprocal devices
the input voltages consist in 0 V for logic “0,” whereas logic in series or in parallel, the circuit implements XOR and XNOR
“1” corresponds to a voltage value that must lie between the logic operations, respectively. In the series connection, the
first (lower) and the second (higher) of the defined thresholds. composite memductance rises from a low level L to a high level
974 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS—II: EXPRESS BRIEFS, VOL. 61, NO. 12, DECEMBER 2014

been used before to efficiently simulate complex behavior of


anti-serial memristors. Its low complexity operation makes it
suitable for the larger memristive circuits of this work. In-
put signals VIN,A−D were set to 0 and 1.8 V to represent
logic “0” and “1,” respectively. The parameters of the model
were set as follows: {a, b, c, m, fo , Lo , VSET , VRESET } =
{103 , 0, 0.1, 82, 310, 5, 1 V, −1 V}, and the resistance ratio was
ROFF /RON ≈ 102 with ROFF ≈ 200 kΩ and RON ≈ 2 kΩ.
Given the above memristance range, our simulations showed
that loads of up to 10 kΩ guarantee the expected behavior,
whereas for larger loads, the memristors fail to completely
switch their states. In Fig. 3(c), we used a resistor RL = 1 kΩ.
The computational result depends on the initial state of the
memristors; hence, occasionally resetting the gates by applying
a negative voltage that exceeds a specific threshold (generally
shown in Fig. 2 as VRESET ) is required. However, in Fig. 3(c),
we avoid resetting pulses by presenting separately VOUT for all
combinations of VIN,C−D while holding VIN,A−B to particular
values. The memory property of the memristor ensures that the
results of previous computations are maintained in the states
of the employed devices. However, all presented gates lack
signal restoration since they are built out of passive elements
only. Output voltage levels degrade, and thus, these logic gates
Fig. 3. Cascaded memristive logic gates. (a) Schematic of a typical sum- cannot be cascaded for many stages without any signal ampli-
of-products logic function. (b) Its memristive implementation. (c) Simulation
results using SPICE. fication. Therefore, a CMOS inverter/buffer is necessary for
signal inversion/amplification. Compared with the sequential
H  if any of the applied inputs is logic “1,” i.e., exceeds Vth,1 . nature of IMPLY logic [6], the presented approach assumes par-
However, if both inputs are logic “1,” then together they exceed allel processing of input signals. Moreover, it utilizes threshold-
Vth,2 , and the composite memductance collapses to level L . In type switching for Boolean logic operations, unlike “threshold
the same fashion, the equivalent memductance of the parallel logic,” which implements ratioed logic by continuously con-
configuration collapses from level H  to L if only one input is trolling the memory state of memristors [12], [13]. Although
logic “1,” i.e., > VR,2 , but rises again to H  if both inputs are our approach has a number of characteristics in common with
logic “1”; thus, together they exceed VS,1 . The memductance in [14], it provides a much richer set of Boolean operations and is
these two cases is defined by compatible with threshold-type switching, which characterizes
XOR:G(VIN,SUM = VIN,1 + VIN,2 ) most experimental memristive devices.
H  , Vth,1 < VIN,SUM < Vth,2
= (3)
L , otherwise IV. P ROGRAMMABLE F INE -R ESOLUTION C OMPOSITE
XNOR : G(VIN,SUM = VIN,1 + VIN,2 ) M EMRISTIVE S TRUCTURES AND A PPLICATIONS
 
H , VR,2 < VIN,SUM < VS,1
= . (4) When n identical memristors of the same polarity are con-
L , otherwise
nected in parallel, the overall conductance (memductance)
Regarding the composite conductance levels of the memris- range is n × [GON , GOFF ], where [GON , GOFF ] corresponds
tive ensembles, assuming {L, H} = {GON , GOFF }, then for the to a single memristor. In other words, increasing the number
parallel/serial compositions, it is {L , H  } = {(1/2) × GON , of memristors in a parallel group increases the conductance of
(1/2)×GOFF } and {L , H  } = {2 × GON , 2 × GOFF }. Over- this group. Connecting n such parallel groups (each having n
all, the more expanded the thresholds for each configuration are, memristors) in series increases the cumulative voltage threshold
the easier it becomes to avoid potential overlap due to variation. n times while maintaining the range of the total memduc-
Having |VRESET | > |VSET |(|VRESET | < |VSET |) is preferable tance of the branch equal to (1/n) × (n × [GON , GOFF ]) =
for the anti-series (anti-parallel) memristors [10]. Circuit output [GON , GOFF ].
VOUT is read using a series load resistor whose value should Based on this property, Fig. 4 shows how memristive fine-
be small so as not to impede the successful switching of the resolution multistate switches (MSS) of variable precision can
employed memristor(s) due to the voltage drop on its terminals. be constructed. Hereafter, for representation purposes, we use
This is more crucial when logic gates are cascaded. Fig. 3(a) the particular symbol shown in Fig. 4(a) to define a group of
shows a typical sum-of-products digital circuit, and Fig. 3(b) x parallel devices. Assuming a number of circuit branches in
presents its corresponding memristive implementation. parallel [see Fig. 4(b)], if all the devices are in high memris-
We simulated the aforementioned circuit using the Cadence tance ROFF , the total memductance becomes very low; possible
PSPICE simulation environment by employing a model of ROFF variation will negligibly affect this state, which is here
a voltage-controlled memristor [11]. The selected model had roughly approximated by the memductance of the first branch
PAPANDROULIDAKIS et al.: BOOLEAN LOGIC OPERATIONS AND COMPUTING CIRCUITS BASED ON MEMRISTORS 975

circuits, making unnecessary the high-precision tuning of single


memristors.
Hybrid systems that integrate conventional technologies and
memristors are considered promising for analog computing
applications. In this context, here, we employ fine-resolution
MSS to create a pulse-controlled stepwise signal generator. The
proposed closed-loop circuit combines memristive computation
with memristive feedback. As shown in Fig. 5(a), the circuit
consists of two identical parts placed reciprocally so that one’s
output becomes input to the other; the only difference lies in
the type of CMOS transistors used in corresponding symmetric
positions. In the used MSS, we have replaced the first memristor
with a resistor whose resistance is equal to RON so that the
initial composite memductance is initially GON . Each MSS
receives either a small voltage VLOW or a high programming
voltage of variable amplitude, which is internally produced dur-
ing circuit operation; there is only one common external input,
i.e., step. The current flowing through each MSS is driven to
a current-to-voltage converter (I/V ), and their corresponding
output voltages Out1 and Out2 are subsequently driven to a
summing amplifier [see Fig. 5(b)], which produces the circuit
Fig. 4. (a) and (b) General methodology for the construction of memristive output. Fig. 5(c) shows qualitatively the expected behavior of
MSS. (c) I−V and (d) I−t characteristics for a five-state simulated MSS under
a 8-V 0.2-Hz sinusoidal signal, particularly shown in (d). the circuit when the two symmetric parts operate alternately as
described below.
(G1,OFF ) for simplicity. Moving to any of the higher conduct- Initially, (k = 0) step is “0”; thus, VLOW is applied to the
ing states is achieved by applying a voltage that exceeds the left MSS (MSS1 ), and I/V1 produces Out1(k = 0) ≈ GAIN ×
aggregate threshold of any of the successive vertical branches. VLOW × GON . The Out1 voltage is also fed to the MSS on
The distinct conducting states and their approximate overall the right (MSS2 ) so that the memristors of its second branch
memductance are given by (M2 ) are forced to change their state. At the same time,
⎧G the input of I/V2 is grounded so Out2 is zero. Therefore,
⎪ 1,OFF +G2,OFF +· · ·+Gn,OFF ≈ GOFF , k=0

⎪G1,ON +G2,OFF +· · ·+Gn,OFF ≈ GON , the circuit output is Out(0) = Out1(0) + Out2(0) = Out1(0).

⎨ k =1
k G 1,ON +G 2,ON +· · ·+G n,OFF ≈ 2×G ON , k =2 Next, when step becomes “1,” VLOW is applied to MSS2 ,
GEQ =

⎪ .. .. and I/V2 gives Out2(k = 1) ≈ GAIN × VLOW × 2 × GON =

⎪ . .
⎩ 2 × Out1(0). Out2 is fed to the MSS1 after summing a negative
G1,ON +G2,ON +· · ·+Gn,ON ≈ n×GON , k = n. DC voltage VSHIFT whose value is equal to GAIN × VLOW ×
(5) GON . This way, each time step is “1,” the feedback voltage
According to (5), every subsequent step increases the com- applied to MSS1 is the same with the one which was previously
posite memductance by a constant amount equal to GON (this applied to MSS2 . Hence, the memristors of branch M2 of MSS1
does not include the first step from k = 0 to k = 1). Fig. 4(c) now change their state. Afterwards, step returns to “0” and I/V1
and (d) shows the I−V and I−t characteristics of a five- gives Out1(k = 1) ≈ GAIN × 2 × VLOW × GON = Out2(1),
state memristive switch comprising four branches, under ac i.e., the output is maintained when step returns to “0.” Out1 now
applied voltage. Simulation was conducted in SPICE with forces the memristors of branch M3 of MSS2 to change their
the model parameters set as given previously in Section III. state. In the same fashion, setting step = ‘1’ increases the cir-
Voltage thresholds of all memristors are {VRESET , VSET } = cuit output by a constant amount (given as v0 ) which is equal to
{−1.5, 1.5} V. The simulated MSS exhibits up to five different the initial output of the circuit. Returning step to “0” keeps the
and stable conducting states, distinguished with red dashed output unaffected and enables receipt of feedback. Computation
lines in Fig. 4(c), whereas a high-enough negative voltage takes place on the right part (MSS2 ), whereas the state of the
resets the switch to its initial state (k = 0). Assuming a high system is kept on the left part (MSS1 ) of the proposed circuit.
ROFF /RON ratio (here ≈ 102 ), possible RON variation will not The total number of distinct output levels depends on the
affect significantly the overall memristance of the MSS. In fact, MSS. Values for VLOW and for the external GAIN of I/V are se-
owing to the robust nature of the proposed MSS approach, any lected according to the switching thresholds of memristors. The
device mismatch (e.g., failure to completely switch to RON ) circuit was simulated in SPICE, and the parameters of the mem-
can be located by tracing the total current increment after ristor model were set as given in Section III. We set {VRESET ,
each switching event during operation. Moreover, by keeping VSET } = {−2, 2} V, VLOW = 4 V, GAIN = 4 kΩ, and R = 1 kΩ
only the branches that provide a binary weighted sequence [see Fig. 5(b)]. The MSS comprised three branches; therefore,
of successive memductances (i.e., where the ith branch gives in the simulation results of Fig. 5(d), we reach step k = 3 and
a conductance of 2i × GON ), the proposed switches could thus observe three different output voltage levels. Resetting the
find application in n-bit memristive digital-to-analog converter circuit could be easily done by resetting the state of the MSS.
976 IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS—II: EXPRESS BRIEFS, VOL. 61, NO. 12, DECEMBER 2014

Fig. 5. (a) Application of the proposed MSS in a pulse-controlled stepwise signal generator. (b) Equivalent circuit of a summing block. (c) Expected theoretical
behavior of the circuit. (d) SPICE simulation-based validation of the circuit when using the three-state MSS.

V. C ONCLUSION [6] S. Kvatinsky et al., “Memristor-based material implication (IMPLY)


logic: Design principles and methodologies,” IEEE Trans. VLSI Syst,
In this brief, novel circuit design approaches that utilize the vol. 22, no. 10, pp. 2054–2066, 2014.
rich threshold-based composite response of memristive ensem- [7] S. Shin, K. Kim, and S.-M. Kang, “Reconfigurable stateful NOR gate for
large-scale logic-array integrations,” IEEE Trans. Circuits Syst. II, Exp.
bles were presented. Target applications included Boolean logic Briefs, vol. 58, no. 7, pp. 442–446, Jul. 2011.
operations able of processing all inputs in parallel rather than [8] F. Alibart, L. Gao, B. D. Hoskins, and D. B. Strukov, “High precision
sequentially, as well as robust fine-resolution memristive MSS, tuning of state for memristive devices by adaptable variation-tolerant
algorithm,” Nanotechnology, vol. 23, no. 7, pp. 1–7, Feb. 2012.
which may find many applications in adaptive/programmable
[9] R. K. Budhathoki, M. P. Sah, S. P. Adhikari, H. Kim, and L. Chua, “Com-
circuits. All presented circuits were simulated in SPICE. posite behavior of multiple memristor circuits,” IEEE Trans. Circuits Syst.
I, Reg. Papers, vol. 60, no. 10, pp. 2688–2700, Oct. 2013.
[10] I. Vourkas and G. C. Sirakoulis, “Nano-crossbar memories comprising
parallel/serial complementary memristive switches,” BioNanoSci., vol. 4,
R EFERENCES no. 2, pp. 166–179, Jun. 2014.
[1] D. B. Strukov, G. S. Snider, D. R. Stewart, and R. S. Williams, “The miss- [11] I. Vourkas, A. Batsos, and G. C. Sirakoulis, “SPICE modeling of nonlinear
ing memristor found,” Nature, vol. 453, no. 7191, pp. 80–83, May 2008. memristive behavior,” Int. J. Circ. Theor. Appl., DOI: 10.1002/cta.1957.
[2] L. O. Chua and S. M. Kang, “Memristive devices and systems,” Proc. [12] J. Rajendran, H. Manem, R. Karri, and G. S. Rose, “Memristor based
IEEE, vol. 64, no. 2, pp. 209–223, Feb. 1976. programmable threshold logic array,” in Proc. IEEE/ACM Int. Symp.
[3] International Technology Roadmap for Semiconductors, 2014. [Online]. NANOARCH, Anaheim, CA, USA, Jun. 17–18, 2010, pp. 5–10.
Available: http://www.itrs.net [13] G. Ligang, F. Alibart, and D. B. Strukov, “Programmable CMOS/
[4] M. D. Pickett et al., “Switching dynamics in titanium dioxide memristive memristor threshold logic,” IEEE Trans. Nanotechnol., vol. 12, no. 2,
devices,” J. Appl. Phys., vol. 106, no. 7, p. 074508, Oct. 2009. pp. 115–119, Mar. 2013.
[5] M. Di Ventra and Y. V. Pershin, “The parallel approach,” Nature Phys., [14] S. Kvatinsky et al., “MRL—Memristor ratioed logic,” in Proc. 13th Int.
no. 9, pp. 200–202, Apr. 2013. Workshop CNNA, Turin, Italy, Aug. 29–31, 2012, pp. 1–6.

You might also like