Next Article in Journal
An Optimal Network-Aware Scheduling Technique for Distributed Deep Learning in Distributed HPC Platforms
Previous Article in Journal
Multi-Parameter Optimization of Stator Coreless Disc Motor Based on Orthogonal Response Surface Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Memristor-Based D-Flip-Flop Design and Application in Built-In Self-Test

1
Engineering Research Center of Vehicle Display Integrated System, Anhui Polytechnic University, Wuhu 241000, China
2
School of Integrated Circuit, Anhui Polytechnic University, Wuhu 241000, China
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(14), 3019; https://doi.org/10.3390/electronics12143019
Submission received: 11 May 2023 / Revised: 26 June 2023 / Accepted: 5 July 2023 / Published: 10 July 2023

Abstract

:
There are several significant advantages of memristors, such as their nano scale, fast switching speed, power efficiency and compatibility with CMOS technology, as one of the alternatives in the next generation of semiconductor storage devices. D-flip-flops (DFFs) based on the traditional CMOS process have some shortcomings, including a large area, high power, and charge leakage when scaling down. However, memristors offer a new approach to the design of DFFs with improved performance. Two simplified edge-triggered DFFs are proposed to reduce the number of devices via the Memristor-Rationed Logic (MRL) method, which utilizes the characteristic of transmitting signals in the two-stage inversion structure. In addition, two new 4-bit Linear Feedback Shift Registers (LFSRs) are designed and verified using the proposed DFFs. Compared to the partially existing LFSRs, the designed LFSRs reduce the number of devices significantly, decrease the power consumption by 32.7% and 33.3% and shorten the delay time by 34.5% and 30.7% for the NOR and NAND gates, respectively. Finally, the proposed falling-edge-triggered DFF is used to implement the major blocks of the Built-In Self-Test(BIST) circuit, and the simulation results confirm their correctness and feasibility.
Keywords:
memristor; MRL; DFF; register; BIST

1. Introduction

In 1971, Professor Chua predicted the existence of the fourth passive component besides resistance, capacitance and inductance, namely the memristor, which has a unique hysteresis curve in the I–V plane [1]. However, the memristor remained a theoretical concept for many years, until the HP Lab team implemented the first physical memristor using titanium dioxide in 2008 [2]. This proved the feasibility of the memristor and was marked as a significant milestone. Since then, the memristor has received considerable attention from researchers and scientists.
Despite improvements in CMOS technology, the scaling down of devices has become increasingly challenging due to leakage, power increases and circuit reliability reductions, etc. Consequently, energy-efficient and high-speed switching is no longer the main focus. However, the rise of memristors offers a promising approach to improving the performance of computer systems because of their advantages, such as their small size, high density, low power consumption, fast switching speed and even in-memory computing, which can break through the bottleneck of the Von Neumann architecture. In recent years, memristors have been applied in various fields, including chaotic circuits [3,4,5], digital circuits [6,7,8,9,10,11,12] and neural networks [13,14,15]. Several logic operations based on memristors have been proposed so far, such as Memristor-Aided Logic (MAGIC) [16], Material Implication (IMPLY) [17] and Memristor-Ratioed Logic (MRL) [18]. However, the fan-out number of cascade MAGIC is limited by its weak driving ability, because series resistors have a partial voltage determined the memristors’ resistance. Additionally, the logic operation can be destructive for above-threshold voltages. IMPLY needs additional operational steps and has similar limitations. Hence, it is necessary to use active devices such as transistors to power passive components such as memristors and circuits. Herein, hybrid CMOS–memristor logic gates are employed to design subsequent sequential circuits.
Significant efforts have been made to enhance the performance of flip-flops, to obviate the shortcomings of the traditional CMOS technology in terms of chip area and power dissipation. An area-efficient flip-flop triggered by a dual-edge implicit pulse has been successfully developed by researchers using MOSFETs, reducing the power consumption by improving clock gating using a modified particle swarm optimization (MPSO) algorithm and decreasing the delay time via tristate inverters [19]. A flip-flop with an improved display pulse was proposed in ref. [20] to reduce the number of transistors while optimizing the speed and power dissipation compared to the existing display-pulse ones. In 2020, a thin-film complementary flip-flop circuit based on full-oxide thin-film transistors (n-type indium gallium zinc oxide and p-type tin monoxide) was proposed for the first time [21]. To further reduce the chip area, nanotechnology was applied, and a carbon nanotube field-effect transistor (CNFET) was also introduced to replace the traditional CMOS transistors in the design of a dynamic double-edge-triggered DFF, which reduced the power dissipation and delay time [22].
Although parameters such as the power and area of devices are improved as they are scaled down, the traditional CMOS process is unable to maintain Moore’s law. The MRL method is not only compatible with CMOS, but also has area and energy efficiency. Therefore, a linear feedback shift register was reported in ref. [23] using the hybrid CMOS–memristor, which has the characteristics of low power consumption and a fast conversion speed. However, there are more transistors applied in the design of this register.
As integrated circuit (IC) manufacturing process technologies have advanced to the deep sub-micron or even nanometer scale, the complexity and integration of circuit architectures is increasing more significantly. Consequently, the testing of ICs has already become a critical factor in terms of reducing the possibility of product failures and ensuring market competitiveness without full testability. Although automatic test equipment (ATE) can be used to test and analyze ICs, it is a time-consuming and costly process. To deal with this, an automatic on-chip testing methodology with a built-in self-test (BIST) was proposed in ref. [24]. Additionally, a hybrid logic built-in self-test (LBIST) was reported in ref. [25], which has the advantages of reducing the test time and quickly locating faults in the circuit during detection.
Therefore, NOR and NAND gate circuits are designed using the MRL structure, which has been optimized by adopting transistors implemented with a 50 nm BSIM4 model [26]. Based on these two logic gates, two types of DFFs with different trigger modes and structures are proposed. In comparison, there are fewer devices employed in the edge-triggered structure to maintain blocking. Then, new linear feedback shift registers are designed with these DFFS and used in a built-in self-test (BIST) and other aspects. The circuit architecture of the traditional CMOS processes not only occupies a large amount of chip area but also increases the costs. Therefore, nanoscale memristor devices are introduced into the BIST circuit design herein, in order to reduce the area and power consumption and improve the speed, etc., efficiently.

2. Memristor-Based Logic Gates

2.1. Memristor Model

HP Labs fabricated the first physical memristor device using titanium dioxide [2], as shown in Figure 1, where D is the total length, and W 1 and W 2 are the widths of the doped region and the undoped region, respectively. When a forward bias is applied to the device, oxygen vacancies with a positive charge are diffused to the undoped terminal, resulting in an increase in the width of W 1 ; thus, the resistance status of the device becomes low, as R O N [27]. Conversely, the resistance increases with R O F F . Hereby, a SPICE model with a definite hysteresis curve and threshold is proposed, as in Equation (1), for generalized memristor devices [28], where a 1 , a 2 and b are real factors, and I ( t ) and V ( t ) are the current and voltage, respectively.
I ( t ) = a 1 x ( t ) s i n h ( b V ( t ) ) , V ( t ) 0 a 2 x ( t ) s i n h ( b V ( t ) ) , V ( t ) 0
x ( t ) in Formula (2) is written as
d x d t = η g ( V ( t ) ) f ( x ( t ) )
where η determines the positive and negative polarity of the voltage, and g ( V ( t ) ) is expressed as
g ( V ( t ) ) = A p ( e V ( t ) e V p ) , V ( t ) > V p A n ( e ( V ( t ) ) e V n ) , V ( t ) < V n 0 , V n V ( t ) V p
where V p and V n are positive and negative threshold voltages, and A p and A n are adjustable amplitudes. f ( x ) is the following expression, w n and w p are window functions, and x n and x p are state values near the negative and positive ends of the memristor, respectively.
f ( x ) = e p ( x x p ) w p ( x , x p ) , x x p 1 , x x p
f ( x ) = e n ( x + x n 1 ) w n ( x , x n ) , x 1 x n 1 , x > 1 x n
This model is simulated in LTspice, and its hysteresis curve is shown in Figure 2. The parameters of the model defined for the simulation are listed in Table 1.

2.2. Logic Gates Based on Memristor

The performance of logic circuits can be improved efficiently by MRL based on nanoscale memristors. Some logic gates, such as NOR and NAND, have been implemented utilizing MRL [18]. Herein, the inverters in the logic gates are designed using MOS transistors with 50 nm BSIM4 models [26]. Supposing that V h i g h = 1 , V l o w = 0 , as shown in Figure 3a, if A = 1 and B = 0, then the output of memristor V 1 is
V 1 = R O F F R O N + R O F F V h i g h = 1
When V 1 = 1 , PMOS transistor T 2 is cut off and NMOS T 1 is switched on. Therefore, the output of the NOR gate V o u t = 0 . Analogously, when input signals A and B take other values, the corresponding outputs are consistent with the logic truth table of the NOR gate. The working process of the NAND is roughly the same. The simulation results of the logic gates displayed in Figure 4 are in agreement with the corresponding truth table.

3. DFF Design

3.1. Design of Level DFF Circuit

Based on the NOR and NAND gates, two structures of a DFF are designed, as displayed in Figure 5a,b, respectively, where (a) is a low-level flip-flop and (b) is a high-level flip-flop. The simulation results obtained when they are implemented in LTspice are illustrated in Figure 6. The output Qs of these two DFFs vary with the input Ds when the clock input is low and high, respectively, as shown in Figure 6a,b.
The simulation results demonstrate the feasibility of DFFs based on memristors. However, the level-triggered mode may cause the DFF to flip several times during the effective clock signal, leading to a weak anti-interference ability. Therefore, DFFs with an edge-triggered mode are designed below to improve the reliability and anti-interference ability.

3.2. Design of Edge DFF Circuit

Two edge-triggered DFFs with master and slave latches have been designed, as shown in Figure 7. These DFFs are effectively triggered by the falling edge and rising edge of the clock signal, respectively, as illustrated in Figure 8a,b. Table 2 describes the functions of these DFFs (* denotes times other than the falling edge; • indicates times other than the rising edge). These DFFs have also been implemented and simulated in LTspice, and the simulation results are depicted in Figure 8.
The master–slave DFFs above consist of two identical flip-flops; each has a two-stage inversion structure. Therefore, the master flip-flop’s output can be fed back to the input and the constructed NOR memristors can be combined to simplify the structure of the circuit, resulting in more area and energy efficiency. Furthermore, the proposed DFFs maintain the blocking characteristics during maintenance, as shown in Figure 9. The simulation results of these DFFs, illustrated in Figure 10, are consistent with the truth table presented earlier. The improved DFFs have 3 fewer memristors and 10 fewer CMOS transistors than their predecessors. Table 3 shows the parameters for the improved DFFs.
To verify the proposed DFFs’ feasibility, two test circuits are designed by connecting LEDs as loads to their outputs. The circuit and simulation results are shown in Figure 11 and Figure 12, respectively, where (a) and (b) are triggered at the falling edge and the rising edge, respectively.
The simulation results show that the LEDs light up when the outputs of the DFFs are high.

4. Linear Feedback Shift Register Design

Registers are critical components in digital sequential circuits and are in high demand in processors. Although latches are usually used to store bit data, flip-flops entail a large area and power overhead. As very important high-speed storage components, registers temporarily store instructions, data and addresses and are widely applied in various digital systems and microcontrollers. Figure 13 shows the two structures of a 4-bit linear feedback shift register (LFSR) mainly designed via the aforementioned improved DFFs. The driving equation and the state equation of the two 4-bit LFSRs are defined in Equations (7) and (8), respectively. Both of these DFFs have an identical state transition diagram (STD), as shown in Figure 14. Each DFF of the 4-bit LFSR is triggered at each falling edge of clk, as shown in Figure 15a. However, input D does not change immediately due to the transmission delay between the time that the falling edge of clk arrives and the established time of the new state of a DFF. Consequently, the state of the subsequent DFF varies according to the original Q state of the previous DFF. The final result is that all the initial codes in the 4-bit LFSR are shifted one bit to the right at each falling edge of clk. Figure 15b shows that the DFF is triggered at the rising edge of clk. The simulation results of the two 4-bit LFSRs shown in Figure 15 are consistent with the STD in Figure 14.
D 0 = Q 0 Q 3 D i = Q i 1 ( i = 1 , 2 , 3 )
Q 0 * = Q 0 Q 3 Q i * = Q i 1 ( i = 1 , 2 , 3 )
The functionality of the proposed register circuits is verified through LTSpice simulations carried out with the settings listed in Table 4. The comparison results of the partial existing LFSRs and the ones proposed in this work are demonstrated in Table 5, where the power delay product (PDP) effectively demonstrates the characteristics of circuit power consumption and delay. It represents the product of power consumption and the delay time. The smaller the PDP, the better the working performance of the circuit. The two LFSRs reported in refs. [29,30], engineered with the traditional MOS transistors, require an excessive number of devices, resulting in high power consumption and a long delay time. The LFSR reported in ref. [23] is more energy-efficient than the former ones, although it employs 64 memristors and transistors. In contrast, the two LFSRs proposed herein optimize both the number of devices and the power consumption.

5. Application of LFSR in Built-In Self-Test

With the increasing scale and complexity of ICs, the built-in self-test (BIST) has become an indispensable part of circuit and chip design. Direct testing methods rely on automatic test equipment (ATE) to detect the circuit under test (CUT), which can be expensive and time-consuming. Under the BIST test mode, these challenges can be overcome. The architecture block diagram of the traditional BIST scheme is shown in Figure 16 and consists of test pattern generation (TPG), the circuit under test (CUT), an output response analyzer (ORA) and a BIST controller. The TPG comprises an n-bit LFSR (as shown in Figure 17 with Ci = 1, Ci = 0 and Li indicating connection, disconnection and logical operation, respectively) that generates pseudo-random test vectors that are supplied to the CUT. The output signal of the CUT is then received and detected by the ORA module.
Herein, a logic BIST (LBIST) approach is designed for self-testing logic circuits. Specifically, a 16-bit LFSR is implemented to generate a large number of pseudo-random test vectors in each cycle, which are then provided to the CUT module for testing. The TPG is composed of the 16-bit LFSR as displayed in Figure 18. The simulation results of the 16-bit LFSR are depicted in Figure 19.
A simple 4-bit ORA is designed to simulate the process of receiving and checking the output signal of the CUT. The simulation results of this 4-bit ORA are presented in Figure 20. In this figure, V(1), V(2), V(3) and V(4) represent the output results of the CUT, and V(out) is the output of this ORA. It is obvious that the 4-bit ORA is a parity checker, and V(out) is of a high level when the number of “1”s in V(1) to V(4) is odd, and low otherwise.

6. Conclusions

In this paper, the design method for a memristor proportional logic circuit is adopted to realize a register based on a memristor–CMOS hybrid circuit. First, level-triggered DFFs are designed using NAND and NOR gates based on memristors, and two edge-triggered DFFs are implemented while applying the master–slave structure. Then, two simplified edge-triggered DFFs are proposed, utilizing the signals transmitted in the two-stage inversion. Compared to the reported designs, the new edge-triggered DFFs require fewer devices. Two new 4-bit LFSRs are engineered based on these DFFs and verified by simulation. In comparison to the partial existing LFSRs, this work improves the performance of the LFSR by reducing the number of devices significantly, decreasing the power consumption by 32.7% and 33.3% and optimizing the delay time by 34.5% and 30.7% for the NOR- and NAND-gate-based LFSRs, respectively. Finally, the proposed DFF triggered at the falling edge of the clock is applied to realize the main function of the BIST circuit, and a simulation is implemented to verify its correctness and feasibility.

Author Contributions

Conceptualization, G.D.; Formal analysis, T.N.; Investigation, M.H.; Writing—original draft, W.X.; Visualization, D.W.; Supervision, X.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Key Program of the Natural Science Foundation of Anhui Provincial Education Department (KJ2020A0349), the Priming Scientific Research Foundation for the Introduction Talent in Anhui Polytechnic University (2018YQQ008), the Advance Research Program for National Science Foundation in Anhui Polytechnic University (No. Xjky02201904), the Open Research Fund of Anhui Key Laboratory of Detection Technology and Energy Saving Devices, Anhui Polytechnic University (No. DTES2020A05), the National Natural Science Foundation of China (Grant Nos. 50875132, 60573172) and the Excellent Scientific Research and Innovation Teams of Anhui Province (No. 2022AHO10059).

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Chua, L. Memristor-The missing circuit element. IEEE Trans. Circuit Theory 1971, 18, 507–519. [Google Scholar] [CrossRef]
  2. Strukov, D.B.; Snider, G.S.; Stewart, D.R.; Williams, R.S. The missing memristor found. Nature 2008, 453, 80–83. [Google Scholar] [CrossRef] [PubMed]
  3. Guo, Z.; Wen, J.; Mou, J. Dynamic Analysis and DSP Implementation of Memristor Chaotic Systems with Multiple Forms of Hidden Attractors. Mathematics 2023, 11, 24. [Google Scholar] [CrossRef]
  4. Li, K.; Li, R.; Cao, L.; Feng, Y.; Onasanya, B.O. Periodically Intermittent Control of Memristor-Based Hyper-Chaotic Bao-like System. Mathematics 2023, 11, 1264. [Google Scholar] [CrossRef]
  5. Yang, G.; Zhang, X.; Moshayedi, A.J. Implementation of the Simple Hyperchaotic Memristor Circuit with Attractor Evolution and Large-Scale Parameter Permission. Entropy 2023, 25, 203. [Google Scholar] [CrossRef] [PubMed]
  6. Hossam, H.; El-Dessouky, M.; Mostafa, H. Time-based read circuit for multi-bit memristor memories. In Proceedings of the 2018 7th International Conference on Modern Circuits and Systems Technologies (MOCAST), Thessaloniki, Greece, 7–9 May 2018; pp. 1–4. [Google Scholar]
  7. Hossam, H.; Mamdouh, G.; Hussein, H.H.; El-Dessouky, M.; Mostafa, H. A New Read Circuit for Multi-Bit Memristor-Based Memories based on Time to Digital Sensing Circuit. In Proceedings of the 2018 IEEE 61st International Midwest Symposium on Circuits and Systems (MWSCAS), Windsor, ON, Canada, 5–8 August 2018; pp. 1114–1117. [Google Scholar]
  8. Ochs, K.; Solan, E.; Michaelis, D.; Herbrechter, M. Towards Wave Digital Memcomputing with Physical Memristor Models. IEEE Trans. Circuits Syst. Regul. Pap. 2019, 67, 1092–1102. [Google Scholar] [CrossRef]
  9. Pan, N.; Li, L.; Zhang, B. Design of Digital Logic Gate Based on Memristor. In Proceedings of the EMIE 2022, the 2nd International Conference on Electronic Materials and Information Engineering, Hangzhou, China, 15–17 April 2022; pp. 1–8. [Google Scholar]
  10. Hu, J.; Zhou, C. Adder design of three N-bit binary numbers based on hybrid Memristor-NMOS. In Proceedings of the EEI 2022, 4th International Conference on Electronic Engineering and Informatics, Guiyang, China, 24–26 June 2022; pp. 1–4. [Google Scholar]
  11. Mozafari, F.; Sharifi, M.J.; Ahmadi, A.; Ahmadi, M. A Novel Architecture for Memristor-Based Logic. In Proceedings of the 2021 IEEE International Midwest Symposium on Circuits and Systems (MWSCAS), Lansing, MI, USA, 9–11 August 2021; pp. 812–815. [Google Scholar]
  12. Yang, J.; Lee, H.; Jeong, J.H.; Kim, T.; Lee, S.H.; Song, T. Circuit-Level Exploration of Ternary Logic Using Memristors and MOSFETs. IEEE Trans. Circuits Syst. Regul. Pap. 2022, 69, 2022. [Google Scholar] [CrossRef]
  13. Bala, A.; Adeyemo, A.; Yang, X.; Jabir, A. High level abstraction of memristor model for neural network simulation. In Proceedings of the 2016 Sixth International Symposium on Embedded Computing and System Design (ISED), Patna, India, 15–17 December 2016; pp. 318–322. [Google Scholar]
  14. Kim, Y.; SangHak, S.; Kyeong-Sik, M. Shared memristance restoring circuit for memristor-based Cellular Neural Networks. In Proceedings of the 2014 14th International Workshop on Cellular Nanoscale Networks and their Applications (CNNA), Notre Dame, IN, USA, 29–31 July 2014; pp. 1–2. [Google Scholar]
  15. Nguyen, T.V.; An, J.; Oh, S. Training, Programming, and Correction Techniques of Memristor-Crossbar Neural Networks with Non-Ideal Effects such as Defects, Variation, and Parasitic Resistance. In Proceedings of the 2021 IEEE 14th International Conference on ASIC (ASICON), Kunming, China, 26–29 October 2021; pp. 1–4. [Google Scholar]
  16. Kvatinsky, S.; Belousov, D.; Liman, S.; Satat, G.; Wald, N.; Friedman, E.G.; Kolodny, A.; Weiser, U.C. MAGIC—Memristor-Aided Logic. IEEE Trans. Circuits Syst. II Express Briefs 2014, 61, 895–899. [Google Scholar] [CrossRef]
  17. Wang, H.P.; Lin, C.C.; Wu, C.C.; Chen, Y.C.; Wang, C.Y. On Synthesizing Memristor-Based Logic Circuits with Minimal Operational Pulses. IEEE Trans. Very Large Scale Integr. Syst. 2018, 26, 2842–2852. [Google Scholar] [CrossRef]
  18. Kvatinsky, S.; Wald, N.; Satat, G.; Kolodny, A.; Weiser, U.C.; Friedman, E.G. MRL—Memristor Ratioed Logic. In Proceedings of the 2012 13th International Workshop on Cellular Nanoscale Networks and their Applications, Turin, Italy, 29–31 August 2012; pp. 1–6. [Google Scholar]
  19. Indira, P.; Kamaraju, M. Low Power Flip-Flop Design Using Tri-State Inverter Logic. J. Low Power Electron. 2019, 15, 19–26. [Google Scholar] [CrossRef]
  20. Indhumathi, R. and Arunya, R. Design of Universal Shift Register Using Pulse Triggered Flip Flop. Int. J. Eng. Res. Gen. Sci. 2014, 2, 143–146. [Google Scholar]
  21. Yuan, Y.; Yang, J.; Wang, Y.; Hu, Z.; Zhou, L.; Xin, Q.; Song, A. Thin Film Sequential Circuits: Flip-Flops and a Counter Based on p-SnO and n-InGaZnO. IEEE Electron Device Lett. 2021, 42, 62–65. [Google Scholar] [CrossRef]
  22. Murotiya, S.L.; Gupta, A. Performance evaluation of CNTFET based dynamic dual edge triggered register. In Proceedings of the 2013 International Conference on Advanced Electronic Systems (ICAES), Pilani, India, 21–23 September 2013; pp. 180–183. [Google Scholar]
  23. Sasi, A.; Amirsoleimani, A.; Ahmadi, A.; Ahmadi, M. Hybrid memristor-CMOS based linear feedback shift register design. In Proceedings of the 2017 24th IEEE International Conference on Electronics, Circuits and Systems (ICECS), Batumi, Georgia, 5–8 December 2017; pp. 62–65. [Google Scholar]
  24. John, B.; Philip, C.M.; George, A.J. Design and Implementation of Built in Self Test (BIST) forVLSI Circuits using Verilog. Int. J. Eng. Res. Technol. 2018, 3, 1–4. [Google Scholar]
  25. Kumar, P.A.; Anita, J.P. Implementation of Hybrid LBIST Mechanism in Digital Circuits for Test Pattern Generation and Test Time Reduction. In Proceedings of the 2020 5th International Conference on Communication and Electronics Systems (ICCES), Coimbatore, India, 10–12 June 2020. [Google Scholar]
  26. Baker, R.J. CMOS: Circuit Design, Layout, and Simulation; John Wiley & Sons: Hoboken, NJ, USA, 2019. [Google Scholar]
  27. Yang, J.J.; Pickett, M.; Li, X.M.; Daa, O.; Stewart, D.R.; Williams, R.S. Memristive switching mechanism for metal/oxide/metal nanodevices. Nat. Nanotechnol. 2008, 3, 429–433. [Google Scholar] [CrossRef] [PubMed]
  28. Yakopcic, C.; Taha, T.M.; Subramanyam, G.; Pino, R.E. Generalized Memristive Device SPICE Model and its Application in Circuit Design. IEEE Trans.-Comput.-Aided Des. Integr. Circuits Syst. 2013, 32, 2013. [Google Scholar] [CrossRef]
  29. Agarwal, S.; Pandey, N.; Choudhary, B.; Gupta, K. Design of MCML-based LFSR for low power and mixed signal applications. In Proceedings of the 2015 Annual IEEE India Conference (INDICON), New Delhi, India, 17–20 December 2015; pp. 1–6. [Google Scholar]
  30. Tyagi, A.; Pandey, N.; Gupta, K. PFSCL based Linear Feedback Shift Register. In Proceedings of the 2016 International Conference on Computational Techniques in Information and Communication Technologies (ICCTICT), New Delhi, India, 11–13 March 2016; pp. 580–585. [Google Scholar]
Figure 1. Model of HP memristor.
Figure 1. Model of HP memristor.
Electronics 12 03019 g001
Figure 2. I−V hysteresis curve of the memristor model.
Figure 2. I−V hysteresis curve of the memristor model.
Electronics 12 03019 g002
Figure 3. Memristor-based logic circuits: (a) NOR gate, (b) NAND gate.
Figure 3. Memristor-based logic circuits: (a) NOR gate, (b) NAND gate.
Electronics 12 03019 g003
Figure 4. Simulation results of (a) NOR gate, (b) NAND gate.
Figure 4. Simulation results of (a) NOR gate, (b) NAND gate.
Electronics 12 03019 g004
Figure 5. Schematics of DFFs based on (a) NOR (triggered at low level) and (b) NAND gate (triggered at high level).
Figure 5. Schematics of DFFs based on (a) NOR (triggered at low level) and (b) NAND gate (triggered at high level).
Electronics 12 03019 g005
Figure 6. Simulated results of DFFs based on (a) NOR gate and (b) NAND gate.
Figure 6. Simulated results of DFFs based on (a) NOR gate and (b) NAND gate.
Electronics 12 03019 g006
Figure 7. Schematics of master–slave DFFs based on (a) NOR and (b) NAND gate.
Figure 7. Schematics of master–slave DFFs based on (a) NOR and (b) NAND gate.
Electronics 12 03019 g007
Figure 8. Simulation results of master–slave DFFs designed using (a) NOR and (b) NAND gate.
Figure 8. Simulation results of master–slave DFFs designed using (a) NOR and (b) NAND gate.
Electronics 12 03019 g008
Figure 9. Improved DFFs with blocking-maintaining structure based on (a) NOR and (b) NAND gate.
Figure 9. Improved DFFs with blocking-maintaining structure based on (a) NOR and (b) NAND gate.
Electronics 12 03019 g009
Figure 10. Simulation of DFFs with blocking-maintaining structure based on (a) NOR and (b) NAND gate.
Figure 10. Simulation of DFFs with blocking-maintaining structure based on (a) NOR and (b) NAND gate.
Electronics 12 03019 g010
Figure 11. Schematic diagram of DFFs with load triggered at (a) falling edge and (b) rising edge.
Figure 11. Schematic diagram of DFFs with load triggered at (a) falling edge and (b) rising edge.
Electronics 12 03019 g011
Figure 12. Simulationof DFFs’ load based on (a) falling edge and (b) rising edge.
Figure 12. Simulationof DFFs’ load based on (a) falling edge and (b) rising edge.
Electronics 12 03019 g012
Figure 13. Four-bit LFSRs based on (a) NOR gate, (b) NAND gate.
Figure 13. Four-bit LFSRs based on (a) NOR gate, (b) NAND gate.
Electronics 12 03019 g013
Figure 14. STD of the 4-bit LFSR.
Figure 14. STD of the 4-bit LFSR.
Electronics 12 03019 g014
Figure 15. Simulationresults for the 4-bit LFSRs based on (a) NOR gate and (b) NAND gate.
Figure 15. Simulationresults for the 4-bit LFSRs based on (a) NOR gate and (b) NAND gate.
Electronics 12 03019 g015
Figure 16. Traditional BIST architecture.
Figure 16. Traditional BIST architecture.
Electronics 12 03019 g016
Figure 17. Linear feedback shift register (LFSR).
Figure 17. Linear feedback shift register (LFSR).
Electronics 12 03019 g017
Figure 18. The 16-bit LFSR.
Figure 18. The 16-bit LFSR.
Electronics 12 03019 g018
Figure 19. Simulation results of the 16-bit LFSR.
Figure 19. Simulation results of the 16-bit LFSR.
Electronics 12 03019 g019
Figure 20. Simulation results of the LBIST.
Figure 20. Simulation results of the LBIST.
Electronics 12 03019 g020
Table 1. Parameters of the memristor model.
Table 1. Parameters of the memristor model.
Parameter a 1 a 2 b V p V n A p A n x p x n
Value0.120.120.050.160.1530,00030,0000.30.3
Table 2. Master–slave DFF truth table based on NOR and NAND gates.
Table 2. Master–slave DFF truth table based on NOR and NAND gates.
CLKDQ
NOR*0maintain
1
↓ (falling edge)0set 0
1set 1
NAND0maintain
1
↑ (rising edge)0set 0
1set 1
Table 3. Improved parameters of DFFs.
Table 3. Improved parameters of DFFs.
DesignInput Voltage (V)Power ( μ W)Delay (ns)MemristorMOSFET
DFF (NOR)144.720.4971312
DFF (NAND)141.960.5081312
Table 4. Simulation settings.
Table 4. Simulation settings.
TechnologySupply VoltageTimestepTemperatureDefault Integration Method
50 nm1 V (based on NOR/NAND)0.1 μ s27 °Cmodified trap
Table 5. Comparison of different works.
Table 5. Comparison of different works.
DesignRef. [30]Ref. [29]Ref. [23]This Work (NOR)This Work (NAND)
Delay (ns)0.8130.8410.5510.583
Input Voltage (V)1.81.8411
Memristor00645656
MOSFET31881645050
Power ( μ W)936018894.1563.462.8
Power Delay Product ( μ J)7.6090.0790.0350.037
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Dai, G.; Xie, W.; Du, X.; Han, M.; Ni, T.; Wu, D. Memristor-Based D-Flip-Flop Design and Application in Built-In Self-Test. Electronics 2023, 12, 3019. https://doi.org/10.3390/electronics12143019

AMA Style

Dai G, Xie W, Du X, Han M, Ni T, Wu D. Memristor-Based D-Flip-Flop Design and Application in Built-In Self-Test. Electronics. 2023; 12(14):3019. https://doi.org/10.3390/electronics12143019

Chicago/Turabian Style

Dai, Guangzhen, Wenxin Xie, Xingyan Du, Mingjun Han, Tianming Ni, and Daohua Wu. 2023. "Memristor-Based D-Flip-Flop Design and Application in Built-In Self-Test" Electronics 12, no. 14: 3019. https://doi.org/10.3390/electronics12143019

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop