verilog module notes
verilog module notes
03 (2020),2825- 2837
Research Article
ABSTRACT
In today's VLSI design, static or leakage power consumption is a crucial metric due to component
shrinkage. This research proposes and compares a 10-transistor 1-bit complete circuit to alternatives that
employ 20 and 14 transistors.
Microwind 3.1, a CAD program, was utilized for every circuit simulation.
Reductor layout for feature size The 90nm technology has been applied to determine the values of certain
parameters.
The energy efficiency of the suggested 10-transistor complete subtractor is higher than that of its
competitors.
I. INTRODUCTION (performance, power, and cost) are a balancing
1.1 INTRODUCTION TO VLSI: act in most other areas of engineering as well.
Very large scale integration is frequently However, when transistor size drops, power
abbreviated to VLSI. With the advent of very consumption reduces, space occupied reduces,
large-scale integration (VLSI) technology, the performance increases, and the cost to
electronic sector has experienced unprecedented manufacture decreases.
expansion over the past two decades. In Electronic circuits throughout the first half of the
addition, the intelligence of these applications, 20th century are bulky, power-intensive, cost-
or the processing power they demand, is the sole prohibitive, and unreliable since they rely on
driving force behind the explosive growth of the vacuum tubes. In 1947, at Bell Labs, John
sector. For video and cellular communication, Bardeen and Walter Brattain created the first
low bit rate is now cutting edge since it gives working point contact transistor. Bell Labs
customers a certain degree of processing power introduced the technology to the public, but it
and portability. was a military secret at the time. Transistor.
In 1958, Jack Kilby of Texas Instruments Because it acts as an amplifier and transfers
created the first integrated circuit flip-flop out of resistance between terminals, scientists dubbed
just two transistors. More than two billion it the transistor.
transistors are included in Intel's Itanium An electrical signal can be amplified and
processor, and more than four billion transistors transferred between the input and output
are present in the 16 GB of Flash memory. Over terminals of a transistor, a semiconductor
the next 50 years, the integrated circuit industry device. There is no vacuum, no glass tube, and
is expected to increase at a rate of 53% every no filament. All of its elements are chilly and
year. There hasn't been any innovation that saw solid.
such rapid expansion for so long. Consistent
reductions in transistor count and size, as well as
advancements in processing technology, enable
this phenomenal expansion. The 3p's
2825
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
2826
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
2827
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
slightly on a cold night) and is now gone the expense of greater physical capacitance or
forever. Energy changes are so ubiquitous in our higher circuit activity. Unfortunately, there is a
daily lives that we usually have no idea they are trade-off in speed as we decrease the supply
happening. Most of the time, they happen voltage, with delays becoming increasingly
without anyone noticing. severe as VDD gets closer to the threshold
Batteries eventually die and must be recharged voltage VT of the devices. Because of this, VDD
or replaced. Designers of consumer electronics is typically only effective between roughly 2-3
are always looking for ways to improve their VT. The below equation shows that the strategy
products, whether it's through new features, incurs a cost in the form of a reduction in
smaller form factors, or longer battery life. The switching speed.
constant need to lessen reliance on fossil fuels
and cut down on greenhouse gas emissions
compels us to seek for low power solutions for II. POWER ANALYSIS IN CMOS
all electronic difficulties in applications that are CIRCUITS
permanently plugged into an electrical outlet. 2.1. INTRODUCTION
About 150 watts is the upper limit for high- Digital CMOS circuits' power dissipation can be
performance chips before liquid cooling or other modelled as:
expensive heat sinks are required. The electricity
needs of American data centers and servers
totaled 61 billion kWh in 2006 [EPA07]. This is Where Pavg is the average power dissipation, P
equivalent to the production of 15 power plants, dynamic is the power dissipation caused by the
would cost around $4.5 billion, and would use switching of transistors, P short circuit is the
1.5% of the total energy utilized in the United power dissipation caused by a short circuit
States. Whereas the size of a chip used to be a between the power supply and ground, P leakage
limiting factor in its capabilities, today it is is the power dissipation caused by leakage
typically power consumption. High-performance currents, and P static is the power dissipation
design now automatically means energy- caused by static electricity.
efficient design. 2.1.1 DYNAMIC POWER DISSIPATION
1.4 Power Optimization Methods Charging and discharging capacitances in the
Below, we will go over how minimizing voltage, circuit generate the dynamic power dissipation P
capacitance, and switching activity can help save dynamic. As illustrated in Figure 2.1, we will
power. use a CMOS inverter supplying power to a load
1.4.1 Voltage capacitor CL to demonstrate how dynamic
Reducing voltage, which has a quadratic power dissipation is calculated. The output
relationship to power, is the most efficient way capacitor is the sum of the parasitic capacitances
to cut down on energy use. A reduction of the of the Nmos and Pmos transistors (gate-to-bulk
supply voltage by a factor of two results in a and source- and drain-diffusion to bulk), the
reduction of the power consumption by a factor inverter cell's internal and external wiring, and
of four without the need of any special circuits the circuits driven by the inverter.
or technologies. This reduction in power
consumption is not localized to any one chip's
sub-circuit or block, but rather permeates the
entire layout. These considerations explain why
engineers so frequently opt for lower voltage at
2828
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
2829
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
value '0', or vice versa. A CMOS inverter's A paper proposing a reversible logic gate was
response to a short circuit is seen in Figure 1.2. presented in 2012 by Parminder Kaur[et al.
Specifically, the Nmos transistor of the inverter Many studies highlight reversible logic gates as
circuit conducts if the input voltage rises beyond the newest area of study. In this paper, the
the threshold voltage, Vthn, and the Pmos author pursues a fault-tolerant complete adder.
transistor conducts until the input voltage The design may function independently as a full
reaches the value of (Vdd - |Vthp|). That's why adding and subtracting unit. The inputs and
there's a window of time when both transistors outputs both have the same parity, as this is a
are active. As the output voltage drops, the reversible adder cell that preserves parity. Any
Nmos transistor is discharging the capacitance desired Boolean function can be synthesized
CL. The Pmos transistor can conduct because with the help of the suggested parity-preserving
the drain-to-source voltage drop is no longer reversible adder. It makes it easy to spot any
zero. When the input voltage transition is problem with the circuit at the principal outputs
complete, the Pmos is turned off, ending the if it only impacts a single signal. The suggested
short-circuit current. In the case of a solution is more effective than existing
symmetrical inverter with identical rise and fall alternatives while also requiring less hardware
periods, the output waveform begins to climb as complexity because to its reduced gate count,
both MOSFET transistors are ON due to the garbage outputs, and constant inputs.
short-circuit current component originating from Prashanth[et al.] published the reversible logic
the falling edge of the input signal. gate in 2013. Low-cost CMOS design has
Total power consumption is calculated by recently benefited from the development of
averaging the short-circuit current component of reversible logic gates. Quantum computing,
the rising edge of the input signal with the nanotechnology, and optical commuting are just
equivalent current component of the falling a few of the many uses for reversible logic gates.
edge. An effective fault-tolerant carry skip
III. LITERATURE REVIEW adder/subtractor is proposed here. This
With the proliferation of battery-powered mobile document also includes the designs for a
devices like smartphones, PDAs, and laptops, complete adder/subtractor and a parallel
manufacturers are under pressure to create VLSI adder/subtractor, which are prerequisites for
and ultra-LSI designs with better power delay creating a carry skip adder/subtractor. In terms
characteristics. One of the most fundamental of gate count, constant input, garbage output,
building elements of all these circuit and quantum cost, all of the designs in this study
applications is the full adder/subtractor, are effective. The proposed design is an all-in-
therefore studying it has been a primary focus of one adder and subtractor that performs as either
researchers for many years. To construct 1-bit function depending on the control logic input.
complete adder cells, many different logic The design of a Carry skip adder/subtractor
models were explored, each with their own requires knowledge of both the Full
benefits and drawbacks. Generally speaking, the adder/subtractor and the Parallel
reported designs can be broken down into two adder/subtractor.
groups: 1) static styles, and 2) dynamic styles. In A work on the Reversible Logic Gate was
comparison to their dynamic counterparts, static presented in 2014 by Dondapati Naresh[et al]. In
logic designs are typically more secure, easier to the very-large-scale-integration (VLSI) realm,
implement, and less demanding of power, at the reversible logic gates are crucial. These days, it's
expense of a larger on-chip footprint. used for a wide variety of tasks, including
2830
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
quantum computing, optical computing, cellular boost computational speed. Quantum efficiency
automata and digital signal processing on is enhanced by the comparator layout that makes
quantum dots, low-power CMOS architecture, use of the half subtraction technique. The entire
and nanotechnology. In this study, we suggest a subtraction method is used in the comparator
fault-tolerant carry skip adder/subtractor that design, which successfully decreases the number
employs reversible logic gates that preserve of reversible gates and eliminates garbage
parity. The suggested architecture can function output.
as either a carry skip adder or a carry skip IV. SUBTRACTOR CIRCUITS AND
subtracter, depending on the control logic input. EXISTING SYSTEMS
When ctrl is set to zero, the design functions as a 4.1 SUBTRACTOR
parallel adder, and when it's set to one, it One of the four elementary operations in binary,
functions as a parallel subtractor, according to subtraction is the primary function of a
the control logic input. subtractor, a digital circuit. Subtractors are used
S. Mounika[et al.] published a study advocating extensively in many computer and other device
for reversible logic as a promising new area for processors, and not just for arithmetic
low-power computing in 2015. It will be useful computations. This includes areas where it is
in numerous fields, including computers (both necessary to calculate addresses, table indexes,
quantum and classical), nanotechnology, optical and similar operations. Moreover, it can be an
computing, and others. A fault-tolerant carry- Attenuator in various situations.
skip adder and subtractor is proposed here. This Most subtractors work with binary integers, but
document also includes the designs for full and they can be built for other binary code
parallel adders and subtractors, which are representations like excess-3 or grey code or
prerequisites for creating a carry skip even binary-coded decimal. Two's complement
adder/subtractor. In terms of gate count, constant or ones' complement is frequently used to
input, garbage output, and quantum cost, all of indicate negative integers when subtracting two
the designs in this study are effective. positive values. Modifying an adder into an
Subramanian Saravanan[et al.] published an adder-subtractor is often seen as somewhat
article in 2016 describing Optical information important due to the simplicity with which
processing, low-power CMOS design, DNA computations can be conducted. A more
computing, etc. are just a few of the many complicated subtractor is needed for other
potential new areas where reversible logic is signed number representations.
being put to use. Comparators are crucial in Inputs to the circuit device can range from two
industrial automation as they separate bad to three, depending on the nature of the
patterns from good ones. These comparators application or the desired outcome of the task at
have been developed in the past, albeit with a hand. If we have two inputs, we can use a Half-
higher computational cost and number of Subtractor, and if we have three, we can use a
reversible gates. Each of these comparators Full-Subtractor.
utilizes a form of "propagation" to examine the When performing subtraction between two bits,
data. The comparators' performance will suffer a complete subtractor takes into account a third
as a result of this. To address this issue, the bit, called a borrow bit, from another circuit.
authors of this study present a (Thapliyal Therefore, it accepts input from three separate
Ranganathan) TR gate-based efficient bits. Two bits, difference and borrow, are
comparator that makes use of a complete produced as a result. Everywhere we go, we
subtraction and a half subtraction approach to encounter various forms of digital media,
2831
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
2832
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
subtraction operation into an addition operation accordance with the input bit variation make up
that can be implemented in machines using the rest. Ten transistors, five PMOS and five
complete adders. Now, in a direct subtraction NMOS, make up the borrow section, which is
method using logic circuits, each subtrahend bit analogous to the carry section in a standard 1-bit
of the number is subtracted from its full adder. Comparing the truth tables of a one-
corresponding significant minuhend bit to bit adder and a one-bit subtractor reveals that
generate a separate bit. A 1 is "borrowed" from their respective outputs sum and difference are
the next most significant position if the identical, while the adder's output carry differs
minuhend bit is less than the subtrahend bit. in four of the eight possible results.
Simply put, the Full-Subtractor performs a Three PMOS transistors (M1, M3, and M5) and
subtraction operation between two bits (a three NMOS transistors (M2, M4, and M6)
minuend and a subtrahend) while also make up the 6T XOR gate, four transistors (M7,
accounting for whether or not a '1' has been M8, M19, and M20) function as two inverters,
borrowed by the preceding adjacent lower and transistors (M9, M10, M13, M14, and M15)
minuend bit. Therefore, a Full-Subtractor takes from the PMOS side and transistors (M11, 12,
in three bits—the two bits to be subtracted and a 16, 17, and 18) from the NMOS side manage the
borrow bit named Bin—at its input. Difference borrow function. When A=1, B=1, and C=1 are
(D) and Borrow (Bo) are the two possible used as inputs, the difference output should be 1
results. The Borrow output bit indicates whether and the borrow output should be 1.
or not the lowest minuend bit requires a '1' to be
"borrowed" from the next available highest
minuend bit.
The equations provide the Boolean expression
for the two output variables.
2833
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
produces the borrow output. Transistors M1, size, weight, and cost. This can be accomplished
M2, M3, and M4 all use the 4T XOR module. by cutting down on the number of transistors
Combining the XOR module's four transistors used in the design of the circuit.
with the XNOR module's two, we get a 6T ONE BIT SUBTRACTOR USING 10
XOR-XNOR module. To create a 2x1 TRANSISTORS
multiplexer, transistors M9 and M10 are used Figure 4.2 presents the logic circuit of a one-bit
here. Bit C is the multiplexer's choose or control complete subtractor design that makes use of
input. However, besides OR and NOR, XOR two XOR gates and one multiplexer. This design
and XNOR are also used to provide inputs to has three inputs, such as A, B, and C, and two
this multiplexer. The difference output of the outputs, which are labelled Difference and
subtractor is the XNOR output if C=1, and the Borrow respectively. The implementation of the
XOR output if C=0. The input combination and transistor level circuit consists of four XOR
the other module, a 6T XOR-XNOR cell and a gates built out of transistors, as well as a two-
multiplexer, generate the borrow output. transistor 2x1 multiplexer. In addition to this, the
Modules M7, M8, M11, M12, M13, and M14 differential outputs are derived from second
are all 6T XOR modules. The XOR CELL based XOR gates and are borrowed from the
feedback inverter is the main component of this multiplexer.
setup.
2834
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
second, we use the fifth through tenth. Microwind 3.1, and several different low-
Multiplexer components M7 and M8 are a pair transistor-count complete subtractor circuits
of transistors. With some tweaks to the were analyzed. Area, Power, and Delay were
connections and the choice of input combination measured and compared to a standard complete
to the multiplexer, the suggested design was subtractor with one bit of precision using the
based on a 10T one-bit full adder. Here, the simulation results.
choose line leading out of the first XOR cell is
the input to the second XOR cell and a
multiplexer. The difference output is the
complement of input bit C if the first XOR
output is at logic 0; otherwise, the difference
output is the same as input bit C only. Borrow
output is input bit C only if the first EX-OR
output is a logical 0. Similarly, if the first output
of an EX-OR gate is logic 1, then only input bit
B will be borrowed at the output. Figure 5.8
shows the timing waveforms for all the possible Fig.13. Microwind circuit area for 20 transistors.
input bit combinations, illustrating the full
operation of the device.
2835
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
Fig.17. Timing and power consumption for a 14- Fig 20: Delay performance investigation of
transistor microwind circuit. various complete subtractor circuits with 1 bit of
precision
2836
Turkish Journal of Computer and Mathematics Education Vol.11 No.03 (2020),2825- 2837
Research Article
VII. CONCLUSION AND FUTURE Circuits and Systems I: Regular Papers, vol.
SCOPE 66, no. 3, pp. 1042-1050, March 2019.
CONCLUSION: 7) Design and analysis of a novel low-power
The findings indicate that the 10T one bit and energy-efficient 18T hybrid full adder
complete subtractor needs less room than its Majid Amini-Valashani, Mehdi Ayat, Sattar
rivals. Mirzakuchaki *Department of Electrical
Even though it uses less power than its Engineering, Iran University of Science and
competitors, the 10T one bit complete subtractor Technology (IUST), Tehran, Iran,
causes more delay than the 14T and 20T models. Microelectronics Journal (2018).
As a result, the 10T one-bit complete subtractor 8) A. Shams, T. Darwish, M. Bayoumi,
decreases delay and consumes a significant Performance analysis of low power 1-Bit
amount of less power and space. CMOS full adder cells, IEEE Trans. Very
FUTURE SCOPE : Large Scale Integr. VLSI Syst. 20 (7) (2002)
It is possible to develop the circuit to produce a 20–29.
powerful multiplier for signal and picture 9) M. Zhang, J. Gu, C.H. Chang, A novel
processing. hybrid pass logic with static CMOS output
Applications that make use of this technology drive full-adder cell, in: Int. Symp. Circuits
are ADCs and DACs. Syst., ISCAS, Bangkok, Thailand, 2003, pp.
To find out how many transistors are in the 317–320.
suggested 10-transistor architecture, 10) S. Goel, A. Kumar, M. Bayoumi, Design of
investigations are presently underway. robust, Energy-Efficient full adders for
REFERENCES Deep-Submicrometer design using Hybrid-
1) Neil Weste and D. Harris, “CMOS VLSI CMOS logic style, IEEE Trans. Very Large
Design: A Circuit and System Perspective,” Scale Integr. VLSI Syst. 14 (12) (2006)
Pearson Addition Wesley, third Edition, 1309–1321.
2005. 11) P. Kumar, R.K. Sharma, An energy efficient
2) Ken Martin, Digital Integrated Circuit logic approach to implement CMOS full
Design, Oxford University Press, New York, adder, J Circuit Syst. Compd. 26 (5) (2017)
2000. 240–260.
3) CMOS Digital Integrated Circuits Analysis
and Design Third Edition2003, By Sung-Mo
Kang, Yusuf Leblebici.
4) Anamika Sharma, Rajesh Mehra “Area
Efficient Layout Design & Analysis of Full
Subtractor” IJSRET EATHD-2015
Conference Proceeding, 14-15 March, 2015.
5) Kamal Jeet Singh, Rajesh Mehra “Design
&Analysis of Full Subtractor using 10T at
45nm Technology” IJETT, Volume 35
Number 9 - May 2016.
6) B. K. Mohanty and P. K. Meher, "Area–
Delay–Energy Efficient VLSI Architecture
for Scalable In-Place Computation of FFT
on Real Data," in IEEE Transactions on
2837