Design of Code Converters Using Qca
Design of Code Converters Using Qca
A PROJECT REPORT
Submitted by
E.JEEVAKARUNYA -921618106025
A.MONISHA -921618106045
P.T.SUGIRTHA KALAIVANI -921618106074
M.SNEKA -921618106085
BATCHLER OF ENGINEERING
in
ELECTRONICS AND COMMUNICATION ENGINEERING
DINDIGUL-624 005
JUNE 2022
i
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
Mr.R.SANKARANARAYANAN,M.E., Mr.V.RAJESH,M.E.,
HEAD OF THE DEPARTMENT, SUPERVISOR,
ASSISTANT PROFESSOR/ECE, ASSISTANT PROFESSOR/ECE,
Department of Electronics and Department of Electronics and
Communication Engineering, Communication Engineering,
SBM College of SBM College of
Engineering and Technology, Engineering and Technology,
Dindigul-624005. Dindigul-624005.
ii
ACKNOWLEDGEMENT
We are grateful to our Almighty for His divine blessing and for our well-being
which was necessary to accomplish this project work successfully. We would also like to
thank our Parents for their support and encouragement.
We also take this opportunity to thank all the Teaching and Non-teaching faculty
members of Department of Electronics and Communication Engineering for their constant
support
iii
ABSTRACT
Quantum dot Cellular Automata (QCA) is a new direction in creating logic circuits
based on nano technology. It is a promising alternative to CMOS technology with many
appealing features such as high speed, low power consumption and higher switching
frequency than transistor based technology. The code converters are the basic unit for
altering of data to perform arithmetic processes. In this work ,a novel configurable XOR
gate based binary to gray and 4-bitbinary to gray code converter, with a minimum number
of cells, has been proposed. The simulations are completed using QCA Designer.
iv
TABLE OF CONTENTS
CHAPTER PAGE
TITLE
NO NO
ABSTRACT iv
LIST OF FIGURES viii
LIST OF TABLES ix
LIST OF ABBREVIATIONS x
1 INTRODUCTION 1
1.1 Background of QCA 1
1.2 Clocking in QCA 3
1.3 Basic QCA elements and gates 5
1.3.1 Non inverter gate or binary wire 5
1.3.2 Inverter gate 7
1.3.3 QCA majority voter 8
2 LITERATURE SURVEY 13
3 EXISTING SYSTEM 17
v
4 PROPOSED SYSTEM 20
6 CONCLUSION 37
REFERENCES 38
vi
LIST OF FIGURES
PAGE
CHAPTER FIGURE
TITLE NO
NO NO
vii
5 5.1 Quantum Dot 25
viii
LIST OF TABLES
ix
LIST OF ABBREVIATIONS
x
CHAPTER-1
INTRODUCTION
A QCA cell is composed of four points with one electron each in two of
the four points occupying diametrically opposite locations. The question that
arises in this case is why do electrons occupy quantum dots of opposite or
diagonal corner To answer this question, it is enough to have an idea about the
principle of the repulsion of Coulomb, which is less effective with respect to the
2
electrons when they are in adjacent quantum dots. The points are coupled to one
another by tunnel junctions.
Thus, the internal effect of the cell highlights two configurations possible;
each one will be used to represent a binary state “0” or “1.” A topology of QCA
is a paving of cells QCA. The interaction between the cells makes it possible to
transmit information which gives the possibility of replacing physical
interconnection of the devices. The information (logic 0 or logic 1) can
propagate from input to the output of the QCA cell only by taking advantage of
the force of repulsion as shown in Figure 2.
3
Figure 1.3.Four phases of QCA clock zones.
Based on the position of the potential barrier, the arrays of QCA cells in
each phase have different polarizations. There are four phases, and every phase
has its own polarizations as shown in Table 1.
From Table 1, during the “Switch” phase of the clock, the QCA cell
begins without polarization and switches to polarized state while the potential
barrier has been raised from low to high. In the “‘Hold” phase, the polarization
state is preserved as the preceding phase and the potential barrier is high. From
the “‘Release” phase, the potential barrier is lowered and the cells become un
polarized. In “Relax” phase, the potential barrier remains lowered and the cells
4
keep at non polarized state. This phase, the cells are ready to switch again. This
way information is propagated in QCA circuits by keeping the ground-state
polarization all the time. Figure 4 illustrates the polarizations and inter dot
barriers of the QCA cells in each of the QCA clock zones.
The great advantage of cell QCA is that all the close cells are aligned on a
specific polarization, which depends on the input cell or the driver cell. Hence,
by arranging the cells side-by-side according to the type “0” or “1” applied to
the input cell, any logic can be transferred. Consequently, this gate can play the
role of a wire or binary interconnection or non inverter gate as shown
5
in Figure 5(a). The layout of each cell given by binary wire is represented
in Figure 5(b).
Figure 1.5 Binary wire, (a) representation, (b) QCA layout, and (c) simulation
results.
6
1.3.2. Inverter gate
Figure 1.6 Inverter gate, (a) representation, (b) QCA layout, and (c) simulation
results.
7
According to Figure 1.6(c), the simulation results of the inverter gate are
presented. One waveform with one frequency is applied to the input (In), one
waveform for the clock 0 (Clk 0), and one waveform for the inverter gate
outputs (Out).
From simulation results of the output pulses inverter gate (Out) given
by Figure 1.6(c), the expression of the inverter gate can be deduced as
expressed in Eq. (2):
Out=In¯¯¯¯.Clk¯¯¯¯¯¯ 0 (2)
In QCA circuits, the majority voter (MV) plays an important role for
logic gates. It is only composed of five cells: three input cell, one output cell,
and a center cell, which is the decision-making cell. These cells are arranged
like a cross with three inputs (a, b, and c) and one output (Out). This gate is
based on the majority logic value given at its input as shown in Figure 1.7(a).
The layout of each cell given by MV is represented in Figure 1.7(b).
8
Figure 1.7Majority voter (MV) gate, (a) QCA representation, (b) QCA layout,
and (c) simulation results.
From the majority voter gate, depending on the input fixed to 0 or 1, other
logical gates can be deduced such as AND/OR gates.
9
On the one hand, when one of the inputs of MV is fixed to 1, the logical
function of OR gate is obtained and can be expressed in Eq. (4):
Out=a+bwhenc=1 (4)
Figure 1.8.OR gate, (a) QCA representation, (b) QCA layout, and (c) simulation
results.
Out=(a+b).Clk¯¯¯¯¯¯ 0 (5)
10
On the other hand, when one of the inputs of MV is fixed to 0, the logical
function of AND gate is obtained (Figure 1.9) and can be expressed in Eq. (6):
Figure 1.9.AND gate, (a) QCA representation, (b) QCA layout, and (c)
simulation results.
Figure 1.9 shows the representation, QCA layout, and simulation of AND
gate. According to Figure 1.9(c), the simulation results of the AND gate are
presented. When there are two waveforms, with one frequency is applied to the
inputs (a and b), one waveform given for the clock 0 (Clk 0), and one waveform
for the AND gate outputs (Out).
11
From simulation results of the output pulses AND gate (yellow) given
by Figure 1.9(c), the expression of the inverter gate can be deduced as
expressed in Eq. (7):
12
CHAPTER-2
LITERATURE SURVEY
[3] Design and analysis of odd- and even-parity generators and checkers
using Quantum-dot Cellular Automata (QCA)
Ahmad et al (2015) presented novel 3-bit odd- and even-parity generators
and checkers using QCA nanotechnology. The proposed techniques can be used
to detect and check errors during information communication (message word).
The parity generators and checkers have been designed based on QCA-
XOR/XNOR gates. The circuits present a simple design using homogenous
13
layer of cells and effective technique to find errors in data transmission
systems.
[4] QCA Designer: A simulation and Design Layout Tool for QCA based
Nano Domain Computing Architectures
Aralikatti et al (2020) presented a QCA designer is a simulation with
layout development tool for QCA, it is the notable Nano-technology
replacement to current CMOS IC technology and it provides the ability to
manufacture even denser integrated circuits, which can consume low power and
operate at high frequencies. Later a little attention is given to design rules for
better QCA digital circuit design using this tool. In QCA technology, the signal
transmission happens due to electrostatic interaction among the placed electrons
in QCA cell, as opposed to flowing to the electrons in a QCA wire, so
crossovers available in designs is discussed.
[5] Synthesis of reversible universal QCA gate structure for energy efficient
digital design
Sen et al (2011) investigated a novel approach to synthesis a reversible
universal QCA logic gate (RUG) structure with the target to reduce the garbage
outputs as well as the logic gates of a design. This design addresses the
fundamental issues of realizing reversible gates in nanotechnology and also its
reliability and performance trade-off. The experimental designs establish that
the RUG can ensure an energy saving, cost effective realization of QCA logic
circuits that may not be possible with the conventional reversible logic gates.
14
[7] A Simple Synthesis Process for Combinational QCA Circuits:
QSynthesizer
Dhare et al (2019) presented a simple but novel synthesis method for
combinational QCA circuit "QSynthesizer". The authors do neither claim an
optimized method of synthesis nor a very high level of research in the field of
QCA synthesis tool development. Still, this paper definitely contains a frugal
innovation for synthesizing QCA circuit in absence of rarely available, low cost
QCA synthesizers. The proposed synthesis method comprises logic reduction
algorithm implemented in C++, Perl scripts and widely used synthesis tools like
Leonardo Spectrum for digital design. The results on Microelectronics Centre of
North Carolina (MCNC) benchmark circuits using proposed QSynthesizer show
the effectiveness of the proposed method.
15
[9] A New Robust Design of Dual-Rail Checker in QCA Technology,
Capable of Testing of Digital Electronics Circuit
Kumar et al (2019) devoted to the robust architecture of dual-rail checker
using the co-planar technique in QCA Designer tool. These designs are of
concern to modern testing approach. These circuits are also included a modern
approach for physical implementation such as Quantum-Dot cellular automata.
The main concern of this article is on the synthesis of nano computing testing
circuit in QCA. The interest of this article is not only synthesis aspects it covers
the physical implementation aspect also. Dual-rail checker is an inherent
module of the testing digital logic circuit. High device density happens to be an
important factor in the synthesis of the Dual-rail checker. The article proposed a
robust architecture of Dual-rail checker using QCA Technology, which
consumes a less number of quantum cell and latency.
16
CHAPTER-3
EXISTINIG SYSTEM
18
Figure 3.1existing layout of exiting
The above figure is designed based on XOR gate, the qca layout is
shown. The code converters circuit are performed using this layout have been
designed using QCA Designer 2.0.3. in this layout, it consists of three fixed
input which is indicated in the orange colour qca cell. This design and
simulation of a QCA binary to gray code converter circuits has been presented.
The operation of these converters has been analyzed using QCA designer bi-
stable vector simulation. The designs are efficient where it contains less number
of cells, use minimum clock phases and have significantly minimum wire length
which causes to trouble-free operation at higher temperature.
19
CHAPTER-4
PROPOSED SYSTEM
(4.1)
20
designs are built with 5-input majority gates and 3- input majority gate. In
addition, two 3-input XOR design.
21
4.4 Physical Verification
The physical verification of the novel logic gate is offered in this section.
The proposed design possesses 8 driver cells. In order to proof the output of the
novel structure under XOR/XNOR logic gate, generous radius of effect should
be considered in an account. In order to get the most accurate result, we
consider that the output cell is affected by all other cells in this letter.
In order to calculate the kink energy of any cell, the electrostatic energies
of different electrons in every cell are calculated when the state of the 13th cell
is unpolarized during the input (a, b, e1, e2) = (1, 1, -1, 1), which only two types
of outcomes are possible (i.g. ‘1’ and ‘0’). Table 1 gives the calculated results
by using Eq. (4.2-4.3). The electrostatic energy between two different electrons
can be obtained through equation (4.2). The total electrostatic energy UT can be
obtained from Eq. (4.3).
(4.2)
(4.3)
The simulation results of XOR logic function are seen from front half in
Fig (i.e. enable inputs (e1e2) is ‘01’ in binary) that when a = 0, b = 0, the
output will be f = 0. When a = 0, b = 1, the output will be f = 1. Thus, all the
values of output bit f are in accordance with inputs a and b. This result satisfies
the theoretical values of XOR gate, which indicates the accuracy of the design.
In this work , a novel configurable XOR gate based binary to gray and
4-bit binary to gray code converter, with a minimum number of cells, has been
proposed. The simulations are completed using QCA DesignerThe wide variety
of codes to represent discrete elements of information, lead them, being used by
different digital systems. However, in some cases, the need to connect the
output of one digital system to the input of another digital system
arises..Between these two systems, the conversion circuit must be inserted if
each uses different codes for the same information. Therefore a code converter
is a circuit that makes both systems compatible even though each uses different
codes. Without a doubt, the effectiveness of code converters was proven by the
National Security Agency(NSA), since they utilized them while creating and
breaking codes. Code converters can be very helpful for protecting sensitive
data from spies. Code converters are also useful for enhancing tractability and
portability of the data. Code converters have also found applications in
communication and algorithm generation. Binary to gray code converter shown
in Table 1 is one of the most important converters used in digital systems
23
Table 4.4 Binary to Gray code converter
24
CHAPTER-5
ELEMENTS OF QCA
Quantum dot cellular automata emerged as a new paradigm, beyond
current switches to encode binary information.
5.1.1 Quantum Dot
26
QCA circuits use clock signals for transmission of signals and clock
signals control the QCA circuits. It has four different phases. The four different
phases are switch, hold, release and relax. Due to the tunnel barrier between the
dots the clock signal stops tunnelling and at the same time allowing the
electrons to tunnel in the other clock phase shows the clocking scheme when an
individual cell is affected with clock signal.
27
The cell begins computing during the high-to-low state and holds the
value during the low state. The cell is released when the clock is in the low-to-
high state and inactive during the high state. This allows information to be
pumped through the circuit as a result of the successive latching and unlatching
in cells attached to different clock cycles. These four clocking zones named as
clock zone 0, clock zone 1, clock zone 2, clock zone 3; are implemented in
QCA Designer tool. Each cell can be independently attached to any one of the
four clocking zones.
5.1.4 QCA Wire
A series of QCA cells act like a wire. Adjacent QCA cells interact in an
attempt to settle to a ground state determined by the current state of the inputs.
Columbic forces will cause adjacent cells to interact. The state of the cells will
always tend to the lowest energy. Transmitting information through a “wire” is
done by forcing the polarization of a cell at one end. The polarization of the
input cell is propagated down the wire. Any cells along the wire that are anti-
polarized transmit the information.
28
circulating memory model. The memory loop is divided into four consecutive
clocking zones each latching in succession.
29
Fig.5.6 QCA Memory Loop in a large layout
Two ways have been proposed to solve wire crossing conflicts: in plane
crossing and multi- layer crossing. By observing the ‘in plane crossing’, it
should be noticed that the vertical wire has all the cells rotated by 45 degrees,
relative to the cells in the horizontal wire. With such organization there is no
interference, as two cells with a 45 degree rotation relative to each other have
no energy associated to their polarizations. But a problem may arise from the
increase in distance between the cells of the horizontal wire, right in the
32
crossing point, since the energy is lower than with the normal spacing, and
transmission error may occur. The cells can be rotated easily using an option
‘Rotate’ in the QCA Designer tool.
The coplanar crossing of two wires is achieved by physically passing one
wire over the other with an insulator placed between them. Such a non-planar
crossing would also work for two QCA wires, but the cellular nature of such
wires allows us to cross them using an entirely coplanar arrangement of cells. In
this example, the horizontal line is transmitting a ‘one’ and the vertical line is
transmitting a ‘zero’. In order to cross the lines, the horizontal wire must be
converted from standard cells to translated cells. The signal on the horizontal
line is transmitted through cells undisturbed using this technique.
33
Fig.5.12.Multi-layer crossing
5.4.Software Tool
During the initial analysing of the state of the art in QCA, the need for
automatic layout generation tools was needed, and as a consequence a software
tool is developed to generate a QCA layout of a given logic circuit. The
development of such a tool was considered and carried out, and the resulting
tool is named QCA Designer.
QCA designer tool is a rapid Design and Simulation Tool for Quantum-
Dot Cellular Automata to create a design and simulation for Quantum Dot
Cellular Automata (QCA). This tool facilitates rapid design, layout and
simulation of QCA circuits by providing powerful CAD like features available
in more complex circuit design tools.
QCA logic and circuit designers require a rapid and accurate simulation
and design layout tool to determine the functionality of QCA circuits. QCA
Designer gives the designer the ability to quickly layout a QCA design. Two
simulation engines facilitate rapid and accurate simulation.
5.4.1.Key Features
a) Intuitive CAD-like user interface
b) Easy drag-and-drop circuit design
c) Encapsulated PostScript (EPS) printing
d) Support for multiple layers (for signal crossover)
34
5.4.2. Design Engines
A QCAD Designer is a well-known simulation tool used to create QCA
circuits and verifying its functionality. This tool provides two simulation
engines they are bistable engine and coherence vector engine. By performing
simulation, the bistable is more favourable than the coherence vector engine
usually produces the results. Four clocking zones are implemented in QCA
Designer tool and each cell can be independently attached to any one of the four
clocking zones.
The QCA cells are 18-nm wide and 18-nm high; the cells are placed on a
grid with a cell center-to-center distance of 20 nm; there is at least one cell
spacing between adjacent wires; the quantum-dot diameter is 5 nm; the
multilayer wire crossing structure is exploited; a maximum of 16 cascaded cells
and a minimum of two cascaded cells per clock zone are assumed. The bistable
engine is used for simulations with the options shown. QCA Designer is the
“state of the art” QCA layout editor and simulator.
with a default spacing (20 nm) equal to the default cell size (18 nm) plus
the default inter cell spacing (2 nm).
b) Setting clock signal for each QCA cell is required to have synchronous
possible. Although cell in via and crossover structures may look different
in the layout, they are regular QCA cells and no distinction is made
during simulation.
35
d) Cells acting as vertical via interconnections between layers are
e) Importing and exporting layout blocks to files, which allow, for example,
36
CHAPTER-6
CONCLUSION
In this project , we will design and simulate a QCA binary to gray code
converter circuits. The operation of these converters will be analyzed using
QCA designer bi-stable vector simulation. The designs will be
efficient where it will contain less number of cells, use minimum clock phases
and have significantly minimum wire length which causes to trouble-free
operation at higher temperature. The proposed converter will have an advantage
in terms of number of cells and delay from an earlier circuit proposed.
37
REFERENCES
[1] F. Ahmad and G. M. din Bhat, "Design of novel inverter and buffer in
Quantum-dot Cellular Automata (QCA)," 2015 2nd International Conference on
Computing for Sustainable Global Development (INDIACom), New Delhi,
2015, pp. 67-72.
[3] F. Ahmad, P. Z. Ahmad and G. M. din Bhat, "Design and analysis of odd-
and even-parity generators and checkers using Quantum-dot Cellular Automata
(QCA)," 2015 2nd International Conference on Computing for Sustainable
Global Development (INDIACom), New Delhi, 2015, pp. 187-194
[4] S. Aralikatti, "QCA Designer: A simulation and Design Layout Tool for
QCA based Nano Domain Computing Architectures," 2020 Second
International Conference on Inventive Research in Computing Applications
(ICIRCA), Coimbatore, India, 2020, pp. 1042-1046, doi:
10.1109/ICIRCA48905.2020.9183046
38
[7] V. Dhare and U. Mehta, "A Simple Synthesis Process for
Combinational QCA Circuits: QSynthesizer," 2019 32nd International
Conference on VLSI Design and 2019 18th International Conference on
Embedded Systems (VLSID), Delhi, NCR, India, 2019, pp. 498-499, doi:
10.1109/VLSID.2019.00105.
39