A Carry Lookahead Adder Based On Hybrid CMOS-Memristor Logic Circuit
A Carry Lookahead Adder Based On Hybrid CMOS-Memristor Logic Circuit
A Carry Lookahead Adder Based On Hybrid CMOS-Memristor Logic Circuit
ABSTRACT Memristor-based digital logic circuits open new pathways for exploring advanced com-
puting architectures, which provide a promising alternative to conventional IC technology. In several
memristor-based logic design methods, the memristor ratioed logic (MRL) is compatible with traditional
CMOS technology. Two kinds of carry-lookahead adders (CLA) based on the hybrid CMOS-memristor
structure are proposed, within which one is based on MRL logic, and the other is an improved one that is
implemented by MRL universal gate (MRLUG). The proposed CLAs are verified by theoretical analyses
and simulations, showing that the proposed design method requires fewer memristors and CMOSs than the
IMP-based or CMOS-based CLAs, which means smaller circuit size and lower power consumption.
2169-3536 2019 IEEE. Translations and content mining are permitted for academic research only.
VOLUME 7, 2019 Personal use is also permitted, but republication/redistribution requires IEEE permission. 43691
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
G. Liu et al.: CLA Based on Hybrid CMOS-Memristor Logic Circuit
where v(t) and i(t) are the voltage and current across the mem-
ristor; x ∈[0,1]is the internal state variable of the memristor;
a1 , a2 and b are constants greater than zero. The internal state
variable satisfies:
dx
FIGURE 2. Logic AND gate realization using MAGIC. = g(v)f (x) (2)
dt
where g(v) gives different thresholds for memristor, and it is
resistance ROFF and low resistance RON are considered as given by
logical ‘‘0’’ and logical ‘‘1’’, respectively. The input and
v(t)
Ap (e − e ),
Vp v(t) > Vp
output of the logic gate are the memristances. Compared
with the method of IMP logic circuit, the MAGIC circuit is g(v) = −An (e −v(t) − eVn ), v(t) < Vn (3)
0, −Vn ≤ v(t) ≤ Vp
simpler and more stable. Different Boolean logic operations
can be realized through the series-parallel arrangement of the
When the internal variable respectively reaches the bound-
memristor.
aries xp and xn of the memristor, there will be a boundary
MAGIC-based logic gate includes two sequential stages.
effect described in [20]. In order to make the memristor
The first stage is to initialize the output memristor to the
switch smoothly at the boundaries, the function f (x) of Eq. (2)
specified memristance. The second stage is to apply voltage
is given by
V0 at the gateway. If the voltage (or current) across the
output memristor exceeds the threshold voltage (or current),
(
e−αp (x−xp ) ωp (x, xp ), x ≥ xp
the logic state of the output memristor will change, otherwise f (x) = (4)
1, x < xp
the state of the memristor will remain unchanged. Thereby (
the logic operation can be obtained correctly. e−αn (x+xn −1) ωn (x, xn ), x ≤ 1 − xn
Whether it is IMP logic or MAGIC, the logic gates require f (x) = (5)
1, x > 1 − xn
a series of sequences to operate the logic function, and the
state variables are all defined by the memristanc values. They where ωp and ωn are two window functions, which are
are incompatible with the traditional CMOS-based circuits, defined as
and the extra conversion circuits are needed for converting xp − x
the memristances to the voltage levels. This implies that the ωp (x, xp ) = +1 (6)
1 − xp
complexity of the circuits is increased. x
The memristor ratioed logic (MRL) gate design method ωn (x, xn ) = (7)
1 − xn
suggests that any logic function can be achieved by using
memristor and traditional CMOS buffers [14]. The logic Fig. 3 is the i-v characteristic curve of the memristor.
states are voltage levels, which are compatible with current The memristor contains different threshold voltages, and the
CMOS technologies. There are several computational build- voltages of different polarities correspond to the different
ing blocks have been proposed in the last few years, such as threshold voltages. When the applied voltage exceeds the
multiplier [15], ripple carry adder [16], full adder [17] and positive threshold voltage, the memristance will transfer from
oscillator [18]. the HRS (High Resistance State) to the LRS (Low Resistance
This paper proposes a carry-lookahead adder (CLA) based State). Similarly, when the applied voltage exceeds the neg-
on MRL, and then an improved carry-lookahead adder is put ative threshold voltage, it will change the memristance from
forward. A performance comparison between the improved the LRS to the HRS.
TABLE 2. Comparisons of the proposed CLA with the one reported in [22].
of the CMOS is 180 nm. In the logic circuit of the MRL [9] M. Teimoori, A. Ahmadi, S. Alirezaee, and M. Ahmadi, ‘‘A novel hybrid
design, a MOSFET can completely accommodate multiple CMOS-memristor logic circuit using Memristor Ratioed Logic,’’ in Proc.
IEEE Can. Conf. Elect. Comput. Eng., Mar. 2016, pp. 1–4.
memristors in technology, so the chip area overhead of the [10] M. Teimoory, A. Amirsoleimani, A. Ahmadi, and M. Ahmadi, ‘‘A hybrid
MRL-based circuit is quite smaller than that of CMOS-based memristor-CMOS multiplier design based on memristive universal logic
circuit. The number of memristors and CMOSs used in the gates,’’ in Proc. IEEE 60th Int. Midwest Symp. Circuits Syst., Aug. 2017,
pp. 1422–1425.
improved CLA is further reduced than the MRL-based CLA, [11] J. K. Eshraghian et al., ‘‘Maximization of crossbar array memory using
so the chip area of the improved CLA is the smallest com- fundamental memristor theory,’’ IEEE Trans. Circuits Syst., II, Exp. Briefs,
pared with the other two CLAs, as shown in Table 2. vol. 64, no. 12, pp. 1402–1406, Dec. 2017.
[12] J. Borghetti, G. S. Snider, P. J. Kuekes, J. J. Yang, D. R. Stewart, and
R. S. Williams, ‘‘‘Memristive’ switches enable ‘stateful’ logic opera-
VI. CONCLUSION tions via material implication,’’ Nature, vol. 464, no. 7290, pp. 873–876,
This paper proposes two 4-bit carry-lookahead adders based Apr. 2010.
[13] S. Kvatinsky et al., ‘‘MAGIC—Memristor-aided logic,’’ IEEE Trans. Cir-
on MRL logic, which is compatible with the traditional cuits Syst., II, Exp. Briefs, vol. 61, no. 11, pp. 895–899, Nov. 2014.
CMOS technology. On this basis, an improved CLA is [14] S. Kvatinsky, N. Wald, G. Satat, A. Kolodny, U. C. Weiser, and
designed by using ULGs, which decreases the number of the E. G. Friedman, ‘‘MRL—Memristor ratioed logic,’’ in Proc. 13th Int.
Workshop Cellular Nanosc. Netw. Appl., Oct. 2012, vol. 8456, no. 24,
memristors and CMOSs significantly, and reduces the power pp. 1–6.
consumption and the chip area. LTSPICE is used to simulate [15] A. Kanapyanov and O. Krestinskaya. (May 2018). ‘‘Analog multiplier
the designed circuits, and the results are consistent with the design with CMOS-memristor circuits.’’ [Online]. Available: https://
arxiv.org/abs/1805.07680
expectation. Furthermore, the design can be extended to a [16] P. L. Thangkhiew, R. Gharpinde, P. V. Chowdhary, K. Datta, and
multi-bit carry-lookahead adder. I. Sengupta, ‘‘Area efficient implementation of ripple carry adder using
memristor crossbar arrays,’’ in Proc. 11th Int. Design Test Symp. (IDT),
Dec. 2016, pp. 142–147.
REFERENCES [17] A. Karimi and A. Rezai, ‘‘Novel design for a memristor-based full adder
[1] A. Karimi, A. Rezai, and M. M. Hajhashemkhani, ‘‘A novel design using a new IMPLY logic approach,’’ J. Comput. Electron., vol. 17, no. 3,
for ultra-low power pulse-triggered D-Flip-Flop with optimized leakage pp. 1303–1314, 2018.
power,’’ Integration, vol. 60, pp. 160–166, Jan. 2018. [18] H. Bao, N. Wang, H. Wu, Z. Song, and B. Bao, ‘‘Bi-stability in an improved
[2] H. Rashidi, A. Rezai, and S. Soltany, ‘‘High-performance multiplexer memristor-based third-order Wien-bridge oscillator,’’ IETE Tech. Rev.,
architecture for quantum-dot cellular automata,’’ J. Comput. Electron., vol. 36, no. 2, pp. 109–116, Jan. 2018.
vol. 15, no. 3, pp. 968–981, Sep. 2016. [19] C. Yakopcic, T. M. Taha, G. Subramanyam, R. E. Pino, and S. Rogers,
[3] I. Vourkas and G. C. Sirakoulis, ‘‘Emerging memristor-based logic circuit ‘‘A memristor device model,’’ IEEE Electron Device Lett., vol. 32, no. 10,
design approaches: A review,’’ IEEE Circuits Syst. Mag., vol. 16, no. 3, pp. 1436–1438, Oct. 2011.
pp. 15–30, 3rd Quart., 2016. [20] Z. Biolek, D. Biolek, and V. Biolkova, ‘‘SPICE model of memristor with
[4] L. O. Chua, ‘‘Memristor-the missing circuit element,’’ IEEE Trans. Circuit nonlinear dopant drift,’’ Radioengineering, vol. 18, no. 2, pp. 210–214,
Theory, vol. 18, no. 5, pp. 507–519, Sep. 1971. Jun. 2009.
[5] D. B. Strukov, G. S. Snider, D. R. Stewart, and R. S. Williams, [21] B. Parhami, Computer Arithmetic: Algorithms and Hardware Designs,
‘‘The missing memristor found,’’ Nature, vol. 453, pp. 80–83, May 2008. 2nd ed. 2010.
[6] Y. V. Pershin and M. Di Ventra, ‘‘Practical approach to programmable [22] A. H. Shaltoot and A. H. Madian, ‘‘Memristor based carry lookahead
analog circuits with memristors,’’ IEEE Trans. Circuits Syst. I, Reg. Papers, adder architectures,’’ in Proc. IEEE 55th Int. Midwest Symp. Circuits Syst.,
vol. 57, no. 8, pp. 1857–1864, Aug. 2010. Sep. Aug. 2012, pp. 298–301.
[7] M. Hu, H. Li, Y. Chen, Q. Wu, G. S. Rose, and R. W. Linderman, ‘‘Mem-
ristor crossbar-based neuromorphic computing system: A case study,’’
IEEE Trans. Neural Netw. Learn. Syst., vol. 25, no. 10, pp. 1864–1878,
Oct. 2014.
[8] Y. Zhang, X. Wang, and E. G. Friedman, ‘‘Memristor-based circuit design Authors’ photographs and biographies not available at the time of
for multilayer neural networks,’’ IEEE Trans. Circuits Syst. I, Reg. Papers, publication.
vol. 65, no. 2, pp. 677–686, Feb. 2018.