Novel parallel inputs shift registers with set/reset terminals in QCA nanotechnology Authors: Mohammad Gholami, Maryam Movahedi, Zaman Amirzadeh Published: 2024 ABSTRACT This paper was focused on logic gates, D-latch, parallel-parallel shift-registers, and parallel-series shift registers, which are used as basic circuits in numerous circuits as well as computational and comparative units. To design proposed shift registers, D-latch which is the vital gate, is designed carefully for minimum size, decreasing number of cells and good performance for delay. The proposed level-sensitive parallel-in parallel-out (PIPO) shift registers with reset terminal and with both set and reset terminals (single-layer and multi-layer), edge-sensitive PIPO shift registers with reset and set/reset abilities (single-layer and multi-layer), and the parallel-in serial-out (PISO) shift registers were designed using the proposed D-latches. Simulations show that the proposed level-sensitive PIPO shift-register set and reset terminals has 145 QCA cells, 0.13 μm2 occupied area, and delay of about 1.25 cycles of QCA clock. In addition, the proposed edge-sensitive PIPO shift-register circuit with set-and-reset pins has 163 QCA cells, 0.17 μm2 occupied area, and delay of about 1.25 cycles of QCA clocks. All designs and simulation results were made in the QCADesigner software. Introduction The complementary metal oxide semiconductor (CMOS) is nowadays utilized to implement transistors in the very large-scale integration (VLSI) systems [1]. Reducing the dimensions of the transistor seems to be essential due to the remarkable speed in increasing the number of transistors within the chips. The leakage current and power loss may be known as the consequences due to reducing the size of transistors [2]. The quantum cellular automata (QCA) appear to be a proper alternative to the CMOS among the nano-scale technologies presented because of prominent features such as very high density and fast operating speed in the terahertz frequency range [3]. A shift register is a chain of latches with a common clock pulse. Designing basic circuits such as multiplexers and latches seems a prerequisite to design more complicated circuits in the digital field, for example, counters, linear feedback shift register (LFSRs), etc. [4]. Some designs have been introduced in the past for serial in-serial out shift registers (SISO) in the QCA technology, but each of these designs has had some disadvantages. For example, the design suggested in Ref. [4] has a large energy consumption rate besides having many cells and a large area. The design proposed in Ref. [5] has somehow succeeded to reduce the number of cells and the area; however, its power consumption rate is still high. Also, the proposed design in Ref. [6] has been much improved in comparison with other suggested designs since it had managed to reduce the number of cells and the area compared to the previous works; but still, this improvement has been achieved with using high area and high-power consumption rate. Moreover, these studies belong to the SISO shift registers. There are only a few papers which work on PISO or PIPO shift registers. In Ref. [7] a PIPO shift register is designed which has fewer number of used cells, but to use the outputs in more complex circuits more cells are needed. In addition, the set or reset terminals are not applied in this design. Therefore, adding set or reset terminals and using them in more complex circuits needs more cells. The mentioned works prove that we still need to design PIPO or PISO shift registers with set or reset terminals. Thus, a new design for PIPO and PISO shift registers in the QCA will be provided in this paper. The proposed design will have good performance in the number of cells, area occupation, delay, and energy consumption. Finally, the novelties of this paper can be categorized into the following sections:•A new PIPO shift register (both level and edge sensitive) in QCA technology with reset terminal is designed.•A new PIPO shift register (both level and edge sensitive) in QCA technology with both set/reset terminals is designed (single-layer and multilayer).•A new edge-sensitive PISO shift register in QCA technology is designed. •A new PIPO shift register (both level and edge sensitive) in QCA technology with reset terminal is designed. A new PIPO shift register (both level and edge sensitive) in QCA technology with reset terminal is designed. •A new PIPO shift register (both level and edge sensitive) in QCA technology with both set/reset terminals is designed (single-layer and multilayer). A new PIPO shift register (both level and edge sensitive) in QCA technology with both set/reset terminals is designed (single-layer and multilayer). •A new edge-sensitive PISO shift register in QCA technology is designed. A new edge-sensitive PISO shift register in QCA technology is designed. The content will be presented in this paper as follows. The second section will cover the basic concepts and the process of making quantum cells in QCA technology followed by examining the clocking performance in this technology. The third section will be focused on providing the proposed area-sensitive and edge-sensitive PIPO circuits with reset and set/reset features. Also, discusses the proposed PISO shift-register circuits. The fourth section the results related to the simulations and their energy dissipation will be presented, which demonstrate the accuracy of the designed circuits. Basic concepts in the QCA QCA technology is a newfound technology that appears to be the best alternative to CMOS technology [8]. The QCA cell consists of four dots or holes that are located next to each other as a square. These cells also have two additional electrons, which can move freely between these dots through embedded tunnels [9]. According to Coulomb's law, stable states are established when the electrons are arranged diagonally. Hence, two stable and general arrangements occur that are introduced as cell polarizations (P = -1 and P = +1). The logical values of zero and one are assigned to them respectively in calculations [10]. The general shape of the cell and the concept of polarization are depicted in Fig. (1a).Fig1Schematics and polarization of QCA a) normal cells, b) 45-degree rotated cells [11].Fig 1Schematics and polarization of QCA a) normal cells, b) 45-degree rotated cells [11]. In QCA technology, a 45-degree rotated cell refers to a specific configuration of QCA cells where the cells are oriented at a 45-degree angle to the horizontal and vertical axes. This orientation is chosen strategically to optimize the performance of the QCA circuit in terms of signal propagation, energy consumption, and overall efficiency. By rotating the cells at a 45-degree angle, it is possible to achieve better alignment for signal transmission and manipulation within the QCA circuit. This orientation can help reduce signal delays, improve signal integrity, and enhance the overall functionality of the circuit. The 45-degree rotated cell configuration is commonly used in QCA design to overcome certain limitations and challenges associated with traditional horizontal or vertical cell orientations. It allows for more efficient information processing and communication within the QCA circuit, making it a valuable technique in advancing QCA technology. This structure is shown in Fig. (1b) A wire is formed by placing the basic cells next to each other. The transmission of information within the circuit is done with the help of this wire. If the polarization of each of these cells is changed by another cell, as expected, this new polarization is transferred to the adjacent cells due to the repulsion between electrons [12]. The inverter or NOT gate is another gate used in logic circuits. This gate is employed to reverse the signal or polarization of a cell in QCA technology. Aimed at obtaining the inverse of the input signal in the output cell, we only need to place the cells diagonally above or below the desired cell [13]. This is illustrated in Fig. (2).Fig. 2Quantum-dot cellular automata (QCA) inverter gate.Fig. 2 Quantum-dot cellular automata (QCA) inverter gate. The majority gate is also another basic and important gate in the QCA. The structure of this gate consists of three inputs and one output. Any value (binary value of zero or one) with the highest frequency (number) among the three inputs is chosen as the output. For example, if the binary value of input A is zero and the binary values of inputs B and C are one, the output would be the binary state of one [14]. The structure of this gate is depicted in Fig. (3). The equation of the majority function with three inputs is shown in (1).(1)Majority(A.B.C)=A.B+A.C+B.CIn addition, “AND” and “OR” gates can be made using the majority gate. Hence, if a constant value of −1 (logical zero) is given to one of the inputs and a desired value to the other two inputs, then, the AND value of the inputs would be obtained in the output as illustrated in Fig. (4). Likewise, if we apply a fixed value of +1 (logical one) to one of the inputs and give arbitrary values to the other two inputs, then, the OR value of the inputs will be obtained in the output [15], which is shown in Fig. (4).Fig. 3QCA majority gate.Fig. 3Fig. 4AND OR gate arrangements in QCA.Fig. 4 QCA majority gate. AND OR gate arrangements in QCA. The clocks control the data flow or the movement of electrons in the cell in the QCA circuits [16]. Synchronization is another task of the clock. In fact, in the controlling process, if the data reaches a part of the circuit that must be combined with several other inputs to generate the desired output, if other inputs reach that part of the circuit later, it prevents the dissemination of information in that part until the arrival of other inputs [17]. Hence, the existence of the clock creates synchronization in different parts of the circuit. Each clock includes 4 phases: Switch, Hold, Release, and Relax. These phases are shown in Fig. (5) [18].Fig. 5QCA clocking.Fig. 5 QCA clocking. Proposed PIPO and PISO shift registers A parallel shift register using D-latches was designed to provide an efficient way to store and parallel load data in a digital circuit. Here are some reasons why this design choice was made:•Parallel Loading: D-latches in a parallel shift register allow for multiple bits of data to be loaded simultaneously into the register. This is advantageous when dealing with parallel data inputs, such as data from multiple sensors or inputs that need to be processed concurrently.•Data Retention: D-latches are level-sensitive devices that retain their output based on the input D signal at a specific clock edge. This ensures that the data stored in each stage of the shift register is stable and can be accessed reliably.•Synchronous Operation: By using D-latches in a shift register design, synchronous operation can be achieved, where the data is transferred from one stage to the next only when a clock signal is applied. This helps in controlling the timing and synchronization of data movement within the register.•Modularity and Scalability: Using D-latches allows for a modular design of the parallel shift register, where each stage can be easily replicated to increase the storage capacity. This scalability makes it adaptable to various data processing requirements.•Ease of Implementation: D-latches are relatively simple devices compared to other types of flip-flops, making them easier to implement in the circuit design. This simplicity can lead to lower power consumption and a more straightforward layout design. •Parallel Loading: D-latches in a parallel shift register allow for multiple bits of data to be loaded simultaneously into the register. This is advantageous when dealing with parallel data inputs, such as data from multiple sensors or inputs that need to be processed concurrently. Parallel Loading: D-latches in a parallel shift register allow for multiple bits of data to be loaded simultaneously into the register. This is advantageous when dealing with parallel data inputs, such as data from multiple sensors or inputs that need to be processed concurrently. •Data Retention: D-latches are level-sensitive devices that retain their output based on the input D signal at a specific clock edge. This ensures that the data stored in each stage of the shift register is stable and can be accessed reliably. Data Retention: D-latches are level-sensitive devices that retain their output based on the input D signal at a specific clock edge. This ensures that the data stored in each stage of the shift register is stable and can be accessed reliably. •Synchronous Operation: By using D-latches in a shift register design, synchronous operation can be achieved, where the data is transferred from one stage to the next only when a clock signal is applied. This helps in controlling the timing and synchronization of data movement within the register. Synchronous Operation: By using D-latches in a shift register design, synchronous operation can be achieved, where the data is transferred from one stage to the next only when a clock signal is applied. This helps in controlling the timing and synchronization of data movement within the register. •Modularity and Scalability: Using D-latches allows for a modular design of the parallel shift register, where each stage can be easily replicated to increase the storage capacity. This scalability makes it adaptable to various data processing requirements. Modularity and Scalability: Using D-latches allows for a modular design of the parallel shift register, where each stage can be easily replicated to increase the storage capacity. This scalability makes it adaptable to various data processing requirements. •Ease of Implementation: D-latches are relatively simple devices compared to other types of flip-flops, making them easier to implement in the circuit design. This simplicity can lead to lower power consumption and a more straightforward layout design. Ease of Implementation: D-latches are relatively simple devices compared to other types of flip-flops, making them easier to implement in the circuit design. This simplicity can lead to lower power consumption and a more straightforward layout design. Overall, a parallel shift register using D-latches provides a combination of features such as parallel loading, data retention, synchronous operation, modularity, scalability, and ease of implementation, making it a suitable choice for applications that require efficient and reliable storage and processing of parallel data streams. In this section proposed designs for shift registers will be introduced. All designs are listed in two categories: 1- Level Sensitive PIPO Shift Registers, 2. Edge Sensitive PIPO Shift Registers. The proposed level sensitive PIPO shift registers with reset terminal and set and reset terminals (single layer and multi-layer) The D-latch is the main block of the proposed PIPO shift register circuit. In this paper, the appropriate D-latch in terms of the number of cells, delay, occupied area, and power consumption was needed to be initially designed aimed at designing the proposed circuit. The PIPO shift register circuit was then designed with a minimum number of cells and delay using this D-latch [19]. In this section we will talk about proposed level sensitive shift registers with reset terminal and also with set/reset terminals. In digital circuits, the set and reset functions are commonly used in devices called flip-flops or latches. These functions allow for the initialization or changing of the state of the flip-flop. Set (S): When the set input is activated, the flip-flop is forced into a specific state, often the '1′ state. This overrides any previous state and sets the output accordingly. Reset (R): Conversely, when the reset input is triggered, the flip-flop is forced into the opposite state, typically '0'. This action also overrides the previous state. These functionalities are essential in digital systems for tasks such as initializing a memory element, synchronizing signals, or creating sequential logic circuits. By controlling the state of the flip-flop using set and reset inputs, designers can ensure specific behaviors and functionalities in the circuit based on timing, logic conditions, or external inputs. Due the importance of set and reset abilities, in this paper the proposed shift register will have these capabilities. The proposed PIPO shift register with the reset ability consists of a set of D-latches with a common clock pulse input (Fig. (6a)). The data is simultaneously applied to the input of the latches and the activation of the clock pulse input depends on the type of sensitivity of the D-latch. The reset input is shared in this circuit and the data is transferred from the input to the outputs in parallel. The block diagram of this circuit is illustrated in Fig. (6a). Fig. (6b) shows the proposed level-sensitive parallel in-parallel out shift register circuit with a reset base in the QCA software.Fig. 6(a) Block diagram of proposed PIPO shift register with reset terminal; (b) The proposed level-sensitive PIPO shift-register circuit with the reset terminal in the QCA software.Fig. 6 (a) Block diagram of proposed PIPO shift register with reset terminal; (b) The proposed level-sensitive PIPO shift-register circuit with the reset terminal in the QCA software. Table-1 shows the truth table of the level-sensitive PIPO shift register circuit with reset input. This table is established under the condition that CLK is in logical ‘1’ state, otherwise the outputs have their previous value.Table-1Truth Table of 3-stage PIPO shift register with reset terminals.Table-1InputsOutputsRD0D1D2OUT0OUT1OUT210000001001001101001010110111100100110110111101101111111100000010010011010010101101111001001101101111011011111110xxx000 Table-1Truth Table of 3-stage PIPO shift register with reset terminals.Table-1InputsOutputsRD0D1D2OUT0OUT1OUT210000001001001101001010110111100100110110111101101111111100000010010011010010101101111001001101101111011011111110xxx000 Truth Table of 3-stage PIPO shift register with reset terminals. The CLK inputs of all latches are connected in this scheme and the reset input is shared in this circuit. The number of used cells in this circuit, its occupied area, and the delay are equal to 123, 0.13 μm2, and 1.25 clock cycles, respectively. Fig. (7a) and Fig. (7b) show the block diagram and the proposed PIPO shift register circuit with a set and reset terminals (single layer). This circuit is a 3-bit shift register built by using three D-latches. The clock inputs of all latches are connected. The reset input is shared in this circuit, but each latch has a distinct set input. The number of used cells, the occupied area, and the delay are 145, 0.13 μm2, and 1.25 clock cycles, respectively. In traditional design some of the inputs and outputs are placed inside the circuit after connecting the CLK and R paths. To solve this problem, similar cells with different phases are easily crossed in the output section using a 180-degree phase difference between the cells at the junction, and hence, all the outputs are made accessible outside the circuit. The 90° and 45° cells are utilized to transfer the inputs to the outside of the circuit in the input section due to the identical phase of the CLK path with the inputs D0, D1, and D2.Fig. 7(a) Block diagram of the proposed level-sensitive PIPO shift-register set and reset terminals; (b) QCA layout of proposed design in single layer.Fig. 7 (a) Block diagram of the proposed level-sensitive PIPO shift-register set and reset terminals; (b) QCA layout of proposed design in single layer. To have a more optimized design for area of proposed PIPO shift register, block diagram of Fig. (8) is used. This is a 3-bit shift register circuit made of three D-latches. To minimize the area, this block diagram is designed in multilayer method in QCA technology. The advantages of multilayer method in comparison to single layer circuit are the use of lower cells with higher stability and lower occupied area; however, such circuits are more difficult to build. Fig.s (9 (a)), (9 (b)), and (9 (c)) show the layers of the PIPO shift register circuit with a set and reset terminals (multi-layer), and Fig. (10) displays the general layout design. The number of used cells in this design, its occupied area, and the delay are 131, 0.09 μm2, and 1 clock cycle, respectively. The clock pulse inputs of all latches are interconnected. The set and reset inputs are similar for all the latches.Fig. 8The proposed level-sensitive PIPO shift-register block diagram with set and reset terminals (multi-layer).Fig. 8Fig. 9Layout of proposed multi-layer PIPO shift register with set and reset abilities (a) The first layer, (b) The second layer, (c) The third layer.Fig. 9Fig. 10Layout of the proposed level-sensitive PIPO shift register with set and reset terminals (multi-layer).Fig. 10 The proposed level-sensitive PIPO shift-register block diagram with set and reset terminals (multi-layer). Layout of proposed multi-layer PIPO shift register with set and reset abilities (a) The first layer, (b) The second layer, (c) The third layer. Layout of the proposed level-sensitive PIPO shift register with set and reset terminals (multi-layer). Table-2 shows the truth table of the edge-sensitive PIPO shift register circuit with set and reset inputs. All of these values are for the edge of the clock and otherwise the outputs will remain constant.Table-2Truth table of 3-stage PIPO shift register with set and reset terminals.Table-2InputsOutputsRSD0D1D2OUT0OUT1OUT21000000010001001100100101001101110100100101011011011011010111111100000001000100110010010100110111010010010101101101101101011111100xxx00001xxx00011xxx111 Table-2Truth table of 3-stage PIPO shift register with set and reset terminals.Table-2InputsOutputsRSD0D1D2OUT0OUT1OUT21000000010001001100100101001101110100100101011011011011010111111100000001000100110010010100110111010010010101101101101101011111100xxx00001xxx00011xxx111 Truth table of 3-stage PIPO shift register with set and reset terminals. The proposed edge-sensitive PIPO shift register with reset terminal and set and reset terminals (single layer and multi-layer) In this section we will talk about proposed edge-sensitive PIPO shift registers with reset terminals and also with set/reset terminals. The D-latch has been used as the main block in the provided designs of the proposed shift registers. Flip-flops can be utilized for building an edge-sensitive shift register. Therefore, the final circuit will consist of three D-latches and three edge detection converters. The use of several edge detection converters for each D-latch increases the number of cells and dimensions in the ultimate design. Thus, only one edge-detection converter was used on the main clock input to prevent this problem. Then, the output signal enters from the converter to all the latches and finally goes to the output of the circuit. Fig. (11) shows the proposed parallel in-parallel out edge-sensitive shift register circuit with the reset terminal. The reset input is shared in this circuit. The number of cells used in this circuit, the occupied area of this design, and the delay are 141, 0.17 μm2, and 1.25 clock cycles, respectively.Fig. 11The proposed edge-sensitive PIPO shift-register circuit with reset pin in the QCA.Fig. 11 The proposed edge-sensitive PIPO shift-register circuit with reset pin in the QCA. Fig. (12) illustrates the design of the proposed PIPO shift register circuit with a set-and-reset (single-layer) terminals. This is a 3-bit shift register design, in which three D-latches and an edge converter have been used. The clock pulse is shared in this design; in other words, the CLK inputs of all latches are interconnected. The reset input is shared in this circuit, but each latch has a distinct set. It should be noted that the circuit is designed on a single layer. The number of used cells in this design, its occupied area, and the delay are 163, 0.17 μm2, and 1.25 clock cycles, respectively. The reset inputs of all latches are connected and named by R. Similar cells with different phases are easily crossed in the output section using a 180-degree phase difference between the cells at the junction, and hence, all the outputs are made accessible outside the circuit. The 90° and 45° cells are utilized to transfer the inputs to the outside of the circuit in the input section due to the identical phase of the CLK path with the inputs D0, D1, and D2.Fig. 12The proposed edge-sensitive PIPO shift-register circuit with set-and-reset base (single layer) in the QCA.Fig. 12 The proposed edge-sensitive PIPO shift-register circuit with set-and-reset base (single layer) in the QCA. This is a 3-bit shift register circuit made by three D-latches and an edge detection converter in the main CLK input. It should be noted that it is a multilayer circuit. Fig. (13) displays the general circuit of the edge-sensitive PIPO shift register with a set-and-reset terminals (multi-layer) in the QCA. The number of cells used in this design, its occupied area, and the delay are 155, 0.13 μm2, and 1.25 clock cycles, respectively. The clock pulse input is shared in this circuit; in other words, the CLK inputs of all latches are interconnected. The set and reset inputs are shared in this circuit. The multi-layer designs lack power simulation since the QCAPro software does not have the feature of simulating the multi-layer power.Fig. 13The proposed edge-sensitive PIPO shift-register circuit with set-and-reset base (multi-layer) in the QCA.Fig. 13 The proposed edge-sensitive PIPO shift-register circuit with set-and-reset base (multi-layer) in the QCA. The design of the proposed PISO shift-register circuit in the QCA The data can be stored in parallel in the flip-flops and received in serial from the output using the PISO shift register with the help of a control line (S) and a clock (CLK) input. The block diagram of the 3-bit PISO shift register is shown in Fig. (14). The input of each flip-flop is connected to the output of a 2:1 multiplexer in this design, and the output of each flip-flop is entered into the input of the multiplexer of the next layer. The control inputs of all multiplexers are connected and are denoted by the letter S. If the control inputs (S=1) are activated, the pins (In (0,1,2) are considered as the circuit inputs and the values within these pins are stored in parallel in the flip-flops as the clock pulse arrives. As the control input is disabled (S=0), the output of each flip-flop is connected to the input of the next layer from the zero-input path of the multiplexer, and the stored data is shifted to the next layer and received serially from the OUT output with each clock pulse. The S input can be used as the serial input of the circuit in the state (S=0).Fig. 14The proposed PISO shift-register block diagram.Fig. 14 The proposed PISO shift-register block diagram. Fig. (15d) illustrates the general scheme of the proposed PISO shift-register circuit implemented in the QCA technology. Figs. (15a), (15 b), and (15c) are the layers of this circuit, respectively. The proposed multiplexer presented in Ref. [20] is used in this design, and the proposed D-latches with reset capability form the memory blocks of the circuit. This design is implemented in three layers with a size of 0.3 μm2, 1.75 clock cycle delay, and 257 cells. An edge detection converter is used in the clock pulse inputs of the flip-flops to add sensitivity to the CLK input edge.Fig. 15(a) The first layer of the PISO shift register circuit, (b) The second layer of the PISO shift register circuit, (c) The third layer of the PISO shift register circuit, (d) The general PISO shift register circuit.Fig. 15 (a) The first layer of the PISO shift register circuit, (b) The second layer of the PISO shift register circuit, (c) The third layer of the PISO shift register circuit, (d) The general PISO shift register circuit. Simulation and results In this section, the simulations of the proposed circuits are performed using the QCADesigner tool in Coherence Vector engine mode and these simulations show the accuracy of the circuit's performance. The parameters applied simulations are presented in Table-3.Table-3Coherence vector parameters.Table-3ParameterValueCell size18∗18 nm2Dot diameter5 nmCentre-to-centre distance20 nmTemperature1.000000 KRelaxation time1.000000e-015 sTime Step1.000000e-016 sTotal Simulation Time7.000000e-011 sClock High9.800000e-022 JClock Low3.800000e-023 JClock Shift0.000000e+000Clock Amplitude Factor2.000000Radius of Effect80.000000 nmRelative Permittivity12.900000Layer Separation11.500000 nm Table-3Coherence vector parameters.Table-3ParameterValueCell size18∗18 nm2Dot diameter5 nmCentre-to-centre distance20 nmTemperature1.000000 KRelaxation time1.000000e-015 sTime Step1.000000e-016 sTotal Simulation Time7.000000e-011 sClock High9.800000e-022 JClock Low3.800000e-023 JClock Shift0.000000e+000Clock Amplitude Factor2.000000Radius of Effect80.000000 nmRelative Permittivity12.900000Layer Separation11.500000 nm Coherence vector parameters. Fig. (16) shows the simulation result of the proposed level-sensitive PIPO shift register circuit with the reset terminal. The inputs’ values are transferred to the output when the CLK is activated and the reset value is equal to 1, and if the CLK is deactivated and the reset is equal to 0, the output value would be equal to 0. It should be noted that the reset input of proposed design is low active.Fig. 16simulation result of the proposed level-sensitive PIPO shift register with reset terminal.Fig. 16 simulation result of the proposed level-sensitive PIPO shift register with reset terminal. Figs. (17) illustrate the simulation result of the proposed PIPO shift register with a set and reset terminal in a single layer method, respectively. In this simulation, the set pin act as an active 1 while the reset terminal works as an active zero.Fig. 17simulation result of the proposed level-sensitive PIPO shift register with a set and reset pins (single layer).Fig. 17 simulation result of the proposed level-sensitive PIPO shift register with a set and reset pins (single layer). Fig. (18) illustrates the simulation result of this design. If CLK is active and the reset value and the set value are equal to 1 and 0, respectively, then any input value is transferred to the output. If the set value is equal to 1, then, all outputs will become equal to 1 regardless of the CLK state. If the reset value is equal to 0, then, all outputs will become equal to 0 regardless of the CLK state. All of these can be seen in this Fig.Fig. (18)Simulation result of the proposed multi-layer level-sensitive PIPO shift registers with a set and-reset terminals.Fig. (18) Simulation result of the proposed multi-layer level-sensitive PIPO shift registers with a set and-reset terminals. Fig. (19) shows the simulation result of the proposed PIPO shift register circuit with the reset base. In this simulation, if the reset value is equal to 1 and in the case the CLK is active, then any input value is transferred to the output. If the reset value is equal to 0, then, all outputs will become equal to 0 regardless of the clock state.Fig. 19simulation result of the proposed edge-sensitive PIPO shift registers with reset base.Fig. 19 simulation result of the proposed edge-sensitive PIPO shift registers with reset base. Figs. (20) illustrate the simulation result of the proposed PIPO shift registers with set-and-reset (single-layer) terminals, respectively, which function is the same as other designs. It can be seen that when the reset input is activated, outputs will be zero (see Fig. 21).Fig. 20simulation result of the proposed edge-sensitive PIPO shift registers with a set-and-reset terminals (single layer).Fig. 20 simulation result of the proposed edge-sensitive PIPO shift registers with a set-and-reset terminals (single layer). Fig. (21) illustrates the simulation result of the edge-sensitive PIPO shift registers circuit with a set-and-reset (multi-layer) terminals. The correct performance of design can be easily checked by these waveforms. It should be noted that in this Fig., the positive edge of the clock is important to transfer the data.Fig. 21simulation result of the proposed edge-sensitive PIPO shift registers with a set-and-reset terminals (multi-layer).Fig. 21 simulation result of the proposed edge-sensitive PIPO shift registers with a set-and-reset terminals (multi-layer). Fig. (22) illustrates the result of the PISO shift register simulation. In this simulation, every time the control pin is activated (SELECT = 1), the values in the inputs In (0,1,2) are loaded into the circuits in parallel, and as the control input is disabled, the data is received serially from the output.Fig. 22simulation result of the PISO shift register.Fig. 22 simulation result of the PISO shift register. The QCAPro tool is used to analyze the power of QCA circuits. The proposed structures have been evaluated at three different levels of tunneling energy (0.5 EK, 1.0 EK, 1.5 EK) at 2.0 K. The results obtained are presented in 3. Fig. 23, Fig. 24, Fig. 25, Fig. 26 shows the energy diagram in the case of 0.5 EK for the proposed scheme in Figs. 6, 7, 11 and 12 Respectively. Cells with high loss are marked with dark color.Fig. 23The power dissipation map of the proposed level-sensitive PIPO shift-register set and reset terminals.Fig. 23Fig. 24The power dissipation map of proposed level-sensitive PIPO shift-register circuit with set and reset terminals (single layer topology).Fig. 24Fig. 25The energy diagram of proposed edge-sensitive PIPO shift-register circuit with reset pin.Fig. 25Fig. 26The power dissipation map of proposed edge-sensitive PIPO circuit with set-and-reset pins (single layer).Fig. 26 The power dissipation map of the proposed level-sensitive PIPO shift-register set and reset terminals. The power dissipation map of proposed level-sensitive PIPO shift-register circuit with set and reset terminals (single layer topology). The energy diagram of proposed edge-sensitive PIPO shift-register circuit with reset pin. The power dissipation map of proposed edge-sensitive PIPO circuit with set-and-reset pins (single layer). Table-4 provides the details of the level-sensitive and edge-sensitive PIPO shift register designs as well as the details of the PISO shift register designs in comparison to related works. It should be noted that in previous designs, we cannot find any PIPO or PISO shift register with set or reset abilities. Therefore, we compare our work with some related designs which don't have set/reset abilities. It means that in this paper for the first time PIPO and PISO shift registers with set or reset abilities are designed. It should be noted that in this table, in Ref. [21] a multilayer 3-bits PIPO shift register is designed. Our designs are 4-bits and have both reset and set abilities which cannot be seen in Refs. [21,22]. In addition [22] has SIPO topology which is differ from SIPO and PIPO topologies of our design.Table-4proposed shift register with previously related designs in QCA technology.Table-4CircuitCell count (# Cells)# bitsArea (μm2)Latency (10−12s)CostSet abilityReset abilityTypeStructure[21]12030.120.759NONOPIPOcoplanar[22]8130.3839NONOPIPOmultilayer[23]13440.15230NONOPIPOcoplanar[24]18640.191.2525NONOPIPOcoplanar[25]8040.330.7510NONOSIPOmultilayerProposed Design (Fig. 6)12340.131.255NOYESPIPOcoplanarProposed Design (Fig. 7)14540.131.253.33YESYESPIPOcoplanarProposed Design (Fig. 10)13140.0913YESYESPIPOmultilayerProposed Design (Fig. 11)14140.171.256.25NOYESPIPOcoplanarProposed Design (Fig. 12)16340.171.254.16YESYESPIPOcoplanarProposed Design (Fig. 13)15540.131.254.58YESYESPIPOmultilayerProposed Design (Fig. 15)25740.31.7522.75N0N0PISOmultilayer Table-4proposed shift register with previously related designs in QCA technology.Table-4CircuitCell count (# Cells)# bitsArea (μm2)Latency (10−12s)CostSet abilityReset abilityTypeStructure[21]12030.120.759NONOPIPOcoplanar[22]8130.3839NONOPIPOmultilayer[23]13440.15230NONOPIPOcoplanar[24]18640.191.2525NONOPIPOcoplanar[25]8040.330.7510NONOSIPOmultilayerProposed Design (Fig. 6)12340.131.255NOYESPIPOcoplanarProposed Design (Fig. 7)14540.131.253.33YESYESPIPOcoplanarProposed Design (Fig. 10)13140.0913YESYESPIPOmultilayerProposed Design (Fig. 11)14140.171.256.25NOYESPIPOcoplanarProposed Design (Fig. 12)16340.171.254.16YESYESPIPOcoplanarProposed Design (Fig. 13)15540.131.254.58YESYESPIPOmultilayerProposed Design (Fig. 15)25740.31.7522.75N0N0PISOmultilayer proposed shift register with previously related designs in QCA technology. Also, in Table 4, the cost of each circuit is calculated using the following formula, where the coefficients of M, L, and P are equal to 1:(2)CostQCA=(MK+I+CL)×TP/A M = The number of Majority gate. I= The number of Inverter. C= Cross over. T = Latency. A = Ability; if without Set and Reset A=1; if with Reset A=2; if with Set and Reset A=3. Table-5 shows the energy consumption rates of the proposed circuits.Table-5Leakage and switching energy dissipation comparison.Table-5Proposed DesignsAverage Leakage energy dissipation (meV)Average Switching energy dissipation (meV)0.5 EK1.0 EK1.5 EK0.5 EK1.0 EK1.5 EKFig. 657.96171.14301.64185.89156.44130.73Fig. 774.17209.94362.36148.14124.24103.79Fig. 1165.26193.30342.43162.01138.88117.96Fig. 1283.07234.96406.59116.9498.5782.70 Table-5Leakage and switching energy dissipation comparison.Table-5Proposed DesignsAverage Leakage energy dissipation (meV)Average Switching energy dissipation (meV)0.5 EK1.0 EK1.5 EK0.5 EK1.0 EK1.5 EKFig. 657.96171.14301.64185.89156.44130.73Fig. 774.17209.94362.36148.14124.24103.79Fig. 1165.26193.30342.43162.01138.88117.96Fig. 1283.07234.96406.59116.9498.5782.70 Leakage and switching energy dissipation comparison. Conclusions The core goal of this paper was to design circuits with the minimum cell number, lower delay, and lower size with high and proper efficiency in comparison with other available designs. To this end, D-latches and flip-flops were first provided as the main blocks with lower cells, dimensions, and delay than the existing designs. Then, different shift registers with different functions were designed using these presented blocks. Using optimized blocks and the path of wires using a 180-degree phase difference led the proposed circuits to perform at a suitable level in terms of dimensions, delay, and the number of cells. The desired designs can be used in the implementation of complex circuits such as DLL and universal shift registers. CRediT authorship contribution statement Mohammad Gholami: Writing – review & editing, Validation, Supervision, Software, Resources, Investigation, Data curation, Conceptualization. Maryam Movahedi: Writing – original draft, Software, Resources, Methodology, Investigation, Conceptualization. Zaman Amirzadeh: Writing – original draft, Software, Resources, Methodology, Investigation, Conceptualization. Ethics approval and consent to participate Not applicable. Consent for publication Not applicable. Availability of data and materials The data that supports the findings of this study are available from the corresponding author upon reasonable request. Funding Not applicable. Declaration of competing interest Not applicable.