Sie sind auf Seite 1von 5

6HYHQWK,QWHUQDWLRQDO&RQIHUHQFHRQ,QIRUPDWLRQ6FLHQFHDQG7HFKQRORJ\

9LHWQDP'D1DQJ$SULO

Memristor-based Nonvolatile Synchronous


Flip-Flop Circuits
Jian Zheng, Zhigang Zeng, and Yidong Zhu
School of Automation, Huazhong University of Science and Technology
Key Laboratory of Image Processing and Intelligent Control of Education Ministry of China
Wuhan, P. R. China, 430074
Emails: zhengjian0817@163.com; zgzeng@hust.edu.cn; zyd hust@163.com

Abstract—Flip-flops are basic units for all kinds of sequential 6


logic circuits and complex digital electronics systems, which can 4
6 6 4
be used to store binary data owing to their two stable logic
states 0 and 1. SR flip-flop and D flip-flop are widely employed &3 &3 &
in digital circuits as representative types of basic flip-flops. In 5 5 
4

this paper, logic circuits of nonvolatile synchronous SR flip-flop 4
5
and D flip-flop are proposed, which utilize nanoscale memristors
as the nonvolatile memory elements to store the information with D E

different conductance states. The resistive switching property 6 6


'
of memristors is well-suited for implementing trigger function 4
in flip-flop circuits. Compared with traditional flip-flop ones, ' ' 4
&3
the proposed memristor-based SR flip-flop and D flip-flop have
nonvolatile characteristic, which is suitable for occasions with &3 & 
4

unstable power supply. Meanwhile, the designed circuits provide 4

experimental references for the development of digital circuit 5 5
F G
structures based on the feasibility of tight integration of mem-
ristors with CMOS circuitry.
Fig. 1. (a) A logic circuit of synchronous SR flip-flop. (b) The logic symbol
Keywords—Memristor; SR Flip-flop; D Flip-flop; Nonvolatile of SR flip-flop. (c) A logic circuit of synchronous D flip-flop. (d) The logic
symbol of D flip-flop.
I. I NTRODUCTION
Memristor was theoretically postulated as the fourth fun-
damental electric element along with resistor, inductor and is always the inverse of Q) can be controlled by the change
capacitor by Leon Chua in 1971 [1]. It attracted many re- of states at S and R when the clock pulse (CP ) is high (at
searchers’ attention since the first practical memristor was logic 1). But when the CP input is low (at logic 0), the Q
experimentally found in 2008 by the scientists of Hewlett- and Q̄ are completely isolated from the inputs and retain any
Packard Laboratories (HP Labs) [2]. Benefit from the favorable previous logic state since the two former NAND gates are
performance merits of memristor, such as nonvolatility, fast disabled. A logic circuit of synchronous D flip-flop is shown
switching speed, high-density, low energy dissipation, good- in Fig. 1(c) which is basically a high activated SR flip-flop
scalability, etc [3]. Researchers have applied memristor to with an additional inverter to ensure that the S and R inputs
memory [4], digital logic [5], [6], analog circuits [7], neu- cannot both be high or low at the same time. As the CP is
romorphic systems [8], [9] and so on [10]. low, the states of Q and Q̄ keep the same regardless of the
Flip-flops are the basic units of sequential logic circuits changes at D input. When the CP is high, then whichever
and complex digital electronics systems, which can be used logic state is at D will appear at Q. The logic symbols of D
to store binary data since they have two stable logic states type and SR flip-flop are illustrated in Fig. 1(b) and Fig. 1(d),
of 0 and 1. The traditional flop-flip circuits are composed of respectively.
logic gates, and they can achieve some logic functions such as Nowadays, flip-flops have many different circuit designs
resetting, setting, flipping and holding. Because of its unique and are widely used in digital circuits, such as counters,
logic functions, the flip-flops can deal with the relationship computers, responders, etc. However, under the existing tech-
between input signals and clock frequency, so it is widely nical conditions, the sequential circuits composed of flip-
used in the generation, transformation and storage of digital flops work only in situations where the power supply is
signals. SR flip-flop and D flip-flop are typical representatives stable. If we want to maintain the working status in case
of basic flip-flops that can act as the basis for other types of power failure, the external memory cells are needed to
of flip-flop. A common form of synchronous SR flip-flop is store the states information. It not only makes the circuit
shown in Fig. 1(a). It includes a set terminal (S) and a reset more complicated, but also increases the power consumption
terminal (R), and the logic states of the outputs Q and Q̄ (Q̄ and data processing time. With the emergence of memristor,

‹,((( 
the nonvolatility renders it well-suited for signal storing in I 90

flip-flops. Meanwhile, memristor is a kind of potential device


which combines information processing and storage in itself,
researchers found that the application of memristor in memory
N ȕ
circuits can improve the shortages of circuit complexity and
97
data loss when power off. The HP Labs designed a memristor- 90
 97
based nonvolatile flip-flop circuit by using a memristor to
N ȕ
save the state of the flip-flop when power is interrupted and
read the saved state from memristor when power is restored
[11]. Although this design requires additional control modules
and increases the complexity of the circuit, it provides a new
experimental reference and direction for the development of Fig. 2. The graph of the threshold function f (VM ).
digital circuits and flip-flops. Also, the new flip-flop circuit
structures which are constructed by using memristors can
greatly increase response speed and reduce power consumption ,
[12], [13]. Moreover, integrating memristors and CMOS in 521

circuits could save the significant physical integration area


52))
while increasing the device density since memristor has the 95(6(7
  9
advantages of nanoscale size and CMOS-compatibility. 96(7

II. P ROPOSED M EMRISTOR - BASED F LIP -F LOP C IRCUITS D E

Different from the conventional SR flip-flop and D flip-


Fig. 3. (a) The schematic of memristor. (b) The qualitative current-voltage
flop circuits which consist of several logic gates, the pro- characteristic of the threshold-type switching memristor.
posed nonvolatile synchronous SR flip-flop and D flip-flop,
discussed in this work, are based on the combination of CMOS
and threshold-type voltage-controlled bipolar memristors [14].
This section explains the topologies and operating principles where β is a positive constant characterizing the rate of
of the flip-flops. memristance change when |VM | > VT , VT is the threshold
voltage of memristor, θ(·) is the step function.
A. Memristor Model
The threshold function f (VM ) is a piecewise function
In this work, we use the threshold-type memristor of which which is shown in Fig. 2. Only when the applied voltage is
memristance can be changed abruptly when applied voltages larger than the positive threshold or smaller than the negative
exceed thresholds, this device exhibits two distinctive resis- threshold, the state of memristance will change, otherwise
tance states that one is high resistance state (HRS) ROFF and the memristor state will hold the same. β can control the
the other is low resistance state (LRS) RON , which can be rate of memristance change, the larger β meant the greater
used to store binary data. A model of a voltage-controlled influence on the memristance. If the applied voltage exceeds
memristive system with voltage threshold is developed in the threshold value, the state of the memristor will switch
reference [14]. In this model, the memristance M (t) acts as quickly between RON and ROFF when β is large enough.
the internal state variable, the device state is defined by the
The schematic of memristor is shown in Fig. 3(a), bottom
following formulas:
terminal is denoted by the black thick line. The memris-
I = M (t)−1 · VM , (1) tance will decrease when the forward bias voltage is applied
across memristor, and it will increase when the memristor
dM (t) is reversely-biased. In Fig. 3(b), we show the qualitative
= f (VM ) · W (M (t), VM ), (2)
dt current-voltage characteristic of the threshold-type switching
where I is the current through the memristor and VM is the memristor. When the applied voltage is lager than the positive
voltage applied to the memristor, f (·) is a function for describ- threshold VSET , the memristance switches to RON . Then, when
ing the device voltage threshold property, W (·) is a window the applied voltage is smaller than the negative threshold
function that can limit the memristance to [RON , ROFF ]. The VRESET , the memristance returns to ROFF . If the applied
threshold function f (·) and window function W (·) are defined voltage in between VRESET and VSET the memristance will
as remain unchanged. Therefore, the two distinctive resistance
states of memristor can represent logic 0 and logic 1. The
f (VM ) = β · (VM − 0.5[|VM + VT | − |VM − VT |]), (3) binary data can be written to the memristor through a writing
voltage, and the data stored in the memristor can also be read
W (M (t), VM ) = θ(VM ) · θ(ROFF − M (t)) + θ(M (t) − RON ), by a small reading voltage, so that the states will not be lost
(4) even if the power is off.


9VV logic 0 (logic 1), because of the mutual influence between the
6 &3
two inverters, the outputs of Inv1 and Inv2 are logic 1 (logic
3
,QY 0) and logic 0 (logic 1), respectively. So the next state Qn+1
0 0
(Qn+1 is the state of the flip-flop after the CP arrives) is logic
0( 0 (logic 1), the same as the output of Inv2. Meanwhile, the
,QY ,QY
9'' 0
4 memristance changes to ROFF (RON ) since negative (positive)
0
5/ 
voltage applied to ME. When CP changes from logic 1 to
4
,QY &3 logic 0, the output state of Q still remains unchanged.
5 When the S input goes to logic 0 and the R input goes to
logic 1, M 1 turns off and M 2 turns on, the VDD is connected
Fig. 4. Proposed memristor-based nonvolatile synchronous SR flip-flop to the output Q through Inv2, Inv3 and Inv4. Due to the
circuit.
high level of VDD , regardless of the present state Qn is logic
0 or logic 1, the Qn+1 is always logic 0. Because the outputs
B. SR Flip-Flop Circuit Architecture and Operations of Inv1 and Inv2 are logic 1 and logic 0, respectively, so
the memristance switchs to ROFF in the case of applying a
As shown in Fig. 4, we proposed a memristor-based non-
negative voltage, the output state of Q can still maintain logic
volatile synchronous SR flip-flop circuit. It consists of a
0 in CP=0. Similarly, when the S input goes to logic 1 and the
threshold-type memristor (ME) connected in series to a pull-
R input goes to logic 0, M 1 turns on and M 2 turns off, VDD
down resistor (RL ), two pairs of NMOS transistors (M 1,
is directly connected to the output Q through Inv3 and Inv4,
M 2, M 3, M 4), a PMOS transistor (P 1) and four inverters
therefore, the Qn+1 is set to logic 1. Because the outputs of
(Inv1, Inv2, Inv3, Inv4). The set voltage is applied to S
Inv1 and Inv2 are logic 0 and logic 1, so the memristance
and reset voltage is applied to R. The CP controls the switch
changes to RON , the output state of Q can hold logic 1 in
states of M 3, M 4 and P 1 and different transistor states can
CP=0. When the S input goes to logic 1 and the R input goes
form different equivalent circuit structures to achieve different
to logic 1, both M 1 and M 2 turn on so that the outputs of
trigger functions of SR flip-flop. Compared with traditional SR
Inv1 and Inv2 cannot be determined, this makes the Qn+1
flip-flop circuit, the new circuit structure is not only simpler,
of flip-flop uncertain.
but also has the nonvolatility.
The truth table and state diagram of proposed SR flip-flop
When CP is at low level, then M 3 and M 4 turn off while
are shown in Table I and Fig. 5. 0 and 1 represent states of
P 1 turns on. As a result, the input pathways of circuit are cut
logic 0 and logic 1, × represents any logic state. In summary,
off so that the initial applied voltages of S and R have no
when CP = 0, the next state Qn+1 remains on hold. When
effect on the state of output Q. The output VOUT of voltage
CP = 1, if S = R = 0, Qn+1 remains on hold, too. If R
divider across ME and RL is defined by formulas as follows:
= 1 and S = 0, Qn+1 is reset to logic 0. By contrast, if S
VOUT = [RL /(RL + RME )] · VSS , (5) = 1 and R = 0, Qn+1 is set to logic 1. If R = 1 and S =
1, Qn+1 cannot be determined. The characteristic equation
0 < VSS ≤ VSET , (6) and constraint condition of SR flip-flop are described by the
following expressions:
RON ≤ RME ≤ ROFF , (7)
Qn+1 = S + RQn , (9)
RON  RL  ROFF , (8)
SR = 0. (10)
where RME represents the memristance of ME, VSS is an
external positive voltage which is smaller than the threshold
voltage VSET . Because the partial voltage on the memristor C. D Flip-Flop Circuit Architecture and Operations
is VME = [RME /(RL + RME )] · VSS , which is less than The proposed memristor-based D flip-flop circuit is illustrat-
VSET , so the state of ME is not changed and the logic ed in Fig. 6, which is very different from tranditional circuit ar-
state of output Q is directly related to the memristance in
the previous CP . If the memristance in the previous CP is
ROFF , then VOUT = [RL /(RL + ROFF )] · VSS ≈ 0, the Q is TABLE I
T HE T RUTH TABLE OF SR F LIP -F LOP C IRCUIT
logic 0. If the memristance in the previous CP is RON , then
VOUT = [RL /(RL + RON )] · VSS ≈ VSS , the Q is logic 1. CP S R Qn Qn+1 Characteristic
When CP is at high level, then M 3 and M 4 turn on while 0 × × × Qn Hold the state
0 0
P 1 turns off. Since S and R both have two input states of 0
1 1
Hold the state
0
logic 0 and logic 1, so four cases need to be discussed. When 1
0 0
Reset to logic 0
the S input goes to logic 0 and the R input goes to logic 1 0
1
0 1
0, M 1 and M 2 turn off, hence the state of ME will not be 0
1 1
Set to logic 1
1
affected by external voltages VSS and VDD . If the present state 0 ×
1 State of uncertainty
Qn (Qn is the state of the flip-flop before the CP arrives) is 1 ×


6WDWHRIXQFHUWDLQW\ ' 

6 5  6 5 
'    ' 
6  6 î
5 î
  5 
' 
6 5  6 5 
Fig. 7. The state diagram of D flip-flop circuit (CP = 1).
6WDWHRIXQFHUWDLQW\

Fig. 5. The state diagram of SR flip-flop circuit (CP = 1).

&3 9VV

3
,QY
'
0 0
0(
,QY ,QY
4

5/ 
4

Fig. 8. The simulated transient waveforms of CP , VS , VR and VQ in the


Fig. 6. Proposed memristor-based nonvolatile synchronous D flip-flop circuit. proposed SR flip-flop circuit.

chitectures. The components of the circuit include a threshold- III. S IMULATION R ESULTS
type memristor (ME), a resistor (RL ), NMOS transistors (M 1, As analyzed previously in Section II, the logical operations
M 2), a PMOS transistor (P 1) and inverters (Inv1, Inv2, of SR flip-flop and D flip-flop are clear. In this section, the
Inv3). Its operation principles and circuit structure are similar proposed circuits have been simulated in SPICE simulation
to SR flip-flop presented in Section II-B. When the CP is at environment and the figures of the simulation results have been
logic 0, the M 1 and M 2 turn off while P 1 turns on, so changes plotted in MATLAB. The behaviors of the memristor device
at the D input make no difference to the Q and Q̄. Similar to [14] were described for RON = 1kΩ, ROFF = 100kΩ, VSET =
the SR flip-flop, the Q will remain unchanged. When the CP 3.5V and VRESET = -3.5V.
is at logic 1, then P 1 turns off while M 1 and M 2 turn on. If The variables of the hybrid CMOS-memristor SR flip-flop
the D input goes to logic 0 (logic 1), the Q is logic 0 (logic circuit used for simulations are as follows: RL = 10kΩ, VDD =
1) since the output terminal of Q is connected to the input 5V, VSS = 3V. Fig. 8 shows the simulated transient waveforms
terminal of D. Also, the input of Inv2 is logic 0 (logic 1) of CP , VS , VR and VQ , where VS , VR represent the input
and the output of Inv1 is logic 1 (logic 0), causing RME to voltages of S and R while VQ is the output voltage of Q. As
be switched to ROFF (RON ) that the Q sets to logic 0 (logic expected, the Q changes to a new state only in the case of
1) when the CP changes from high to low. CP = 1, when the VS and VR change states during the high
The truth table and state diagram of proposed D flip-flop CP period, the results are in accordance with the contents of
are shown in Table II and Fig. 7. In summary, when CP = 0, Table I.
the Qn+1 remains on hold. When CP = 1, if D = 0, Qn+1 is For the proposed D flip-flop circuit designed with the
set to logic 0. Alternatively, if D = 1, Qn+1 is set to logic 1. parameters of RL = 10kΩ and VSS = 3V, Fig. 9 exhibits the
The characteristic equation of D flip-flop is: simulated transient waveforms of CP , VD and corresponding
output VQ , where VD is the input voltage of D. When CP =
Qn+1 = D. (11) 0, the outputs Q and Q̄ remain the same as the initial states.
When CP = 1, the state of Q is determined by VD , that is to
say, if D = 0, then Q = 0 while Q = 1 in the case of D =
TABLE II 1. Thus, the simulation results and the theoretical analysis are
T HE T RUTH TABLE OF D F LIP -F LOP C IRCUIT
anastomose.
CP D Qn Qn+1 Characteristic
0 × × Qn Hold the state IV. C ONCLUSION
0 0
0
1 0
Set to logic 0 Memristor-based nonvolatile synchronous SR flip-flop and
1
1
0 1
Set to logic 1
D flip-flop circuits have been proposed in this work, where the
1 1 threshold-type memrsitor has two distinctive resistance states
to store the information of logic 0 or logic 1. We have analyzed


R EFERENCES
[1] L. O. Chua, “Memristor: The missing circuit element,” IEEE Trans.
Circuit Theory, vol. 18, no. 5, pp. 507–519, 1971.
[2] D. B. Strukov, G. S. Snider, D. R. Stewart, and R. S. Williams, “The
missing memristor found,” Nature, vol. 453, pp. 80–83, 2008.
[3] Y. V. Pershin and M. Di Ventra, “Memory effects in complex materials
and nanoscale systems,” Adv. Phys., vol. 60, no. 2, pp. 145–227, 2011.
[4] Y. Ho, G. M. Huang, and P. Li, “Nonvolatile memristor memory:
Device characteristics and design implications,” in Proceedings of the
IEEE International Conference on Computer-Aided Design, 2009, pp.
485–490.
[5] E. Linn, R. Rosezin, S. Tappertzhofen, U. Bottger, and R. Waser,
“Beyond von Neumann-logic operations in passive crossbar arrays
Fig. 9. The simulated transient waveforms of CP , VD and VQ in the proposed
alongside memory operations,” Nanotechnology, vol. 23, no. 30, pp.
D flip-flop circuit.
305205, 2012.
[6] G. S. Rose, J. Rajendran, H. Manem, R. Karri, and R. E. Pino,
“Leveraging memristive systems in the construction of digital logic
the circuit structures and operating principles of the flip-flops circuits,” Proc. IEEE, vol. 100, no. 6, pp. 2033–2049, 2012.
in details. Through analysis and simulations, we can find that [7] Y. V. Pershin and M. Di Ventra, “Practical approach to programmable
analog circuits with memristors,” IEEE Trans. Circuits Syst. I. Reg.
the effectiveness of the proposed SR flip-flop and D flip-flop Papers, vol. 57, no. 8, pp. 1857–1864, 2010.
are verified. Because memristor has the favorable performance [8] M. Prezioso, F. Merrikh Bayat, B. D. Hoskins, G. C. Adam, K.
merits of nonvolatility, nano size and CMOS-compatibility, K. Likharev, and D. B. Strukov, “Training and operation of an integrat-
ed neuromorphic network based on metal-oxide memristors,” Nature,
the proposed circuits can not only realize the traditional flip- vol. 521, pp. 61–64, 2015.
flop functions with more simple circuit structures and smaller [9] D. Kuzum, S. Yu, and H. S. P. Wong, “Synaptic electronics: Materials,
devices and applications,” Nanotechnology, vol. 24, no. 38, pp. 382001,
physical integration areas, but also applicable to computing 2013.
systems powered by highly erratic intermittent power sources [10] D. Sacchetto, P. Gaillardon, M. Zervas, S. Carrara, G. De Micheli,
since the memristor state could be saved in a signal cycle. and Y. Leblebici, “Applications of multi-terminal memristive devices:
A review,” IEEE Circ. Syst. Mag., vol. 13, no. 2, pp. 23–41, 2013.
Meanwhile, the proposed circuits will provide experimental [11] W. Robinett, M. Pickett, J. Borghetti, Q. Xia, G. S. Snider, G. Medeiros
references for the development of flip-flop circuits and new Ribeiro, et al., “A memristor-based nonvolatile latch circuit,” Nanotech-
digital circuit structures based on the feasibility of tight nology, vol. 21, no. 23, pp. 235203, 2010.
[12] Q. Xia, W. Robinett, M. W. Cumbie, N. Banerjee, T. J. Cardinali,
integration of memristors with CMOS circuitry. J. J. Yang, et al., “Memristor-CMOS hybrid integrated circuits for
reconfigurable logic,” Nano Lett., vol. 9, no. 10, pp. 3640–3645, 2009.
ACKNOWLEDGMENT [13] C. M. Jung, K. H. Jo, E. S. Lee, H. M. Vo, and K. S. Min, “Zero-sleep-
The work was supported by the Natural Science Foundation leakage flip-flop circuit with conditionalstoring memristor retention
latch,” IEEE Trans. Nanotechnol., vol. 11, no. 2, pp. 360–366, 2012.
of China under Grant 61673188, the National Key Research [14] D. Biolek, Y. V. Pershin, and M. Di Ventra, “Reliable SPICE simu-
and Development Program of China under Grant 2016YF- lations of memristors, memcapacitors and meminductors,” Radioengi-
B0800402, the Science and Technology Support Program of neering, vol. 22, no. 4, pp. 945, 2013.
Hubei Province under Grant 2015BHE013.



Das könnte Ihnen auch gefallen