Professional Documents
Culture Documents
AND MULTIPLXER
1. INTRODUCTION:
operations of these circuits are AND, OR, addition, subtraction and multiplication. In
arithmetic circuits, the building block of all digital circuits are Logic gates also full adder
cell is the extensively used in it. Recently in mobile communication and computation,
building low-power systems has emerged as highly in demand because of the fast
growing technology. As these is the era of growing technology and scaling of devices up
to nanometer regime, the Arithmetic and Logic circuits are to be designed with less
power, compact size and propagation delay. In any digital system a processor is an
important part. An ALU is one of the main components of a microprocessor. Basically
ALU is a combinational circuit that performs arithmetic and logical operations on a pair
of n bit operands. The arithmetic logic circuits are to be designed with compact size, less
power and propagation delay. CMOS uses both PMOS and NMOS transistors. CMOS
design gives high power dissipation, and high delay. Cell can be design with less power
consumption, less area and can be faster as compared to CMOS techniques by using GDI
technique cell. In GDI cell using only two transistors allows implementation of a wide
range of complex logic functions.GDI method is suitable for design of fast, low power
circuits, using reduced number of transistors as compared to CMOS, while improving
power characteristics and allowing simple Shannon’s theorem-based design by using
small cell library. The aim of this work is to examine a typically in order to explain and
interpret the GDI technique and compared with CMOS technique. This paper
demonstrates the concept of GDI technique for design of ALU. In this paper ALU is
designed by using GDI technique. Vaijayanti Panse et.al [1] He proposed the work
“Minimization of Transistors Count for 2:1 MUX using GDI Technique” .GDI technique
is used to reduce the number of transistors compared to conventional CMOS design. The
designs are implemented using 90nm cmos process in Microwind3.1v and DSCH3 and
their respective simulation results. Biswarup Mukherjee et.al [2] He proposed work
“Design & Study of a Low Power High Speed Full Adder Using GDI Multiplexer”. He
proposed a new method for implementing a low power full adder by means of a set of
Gate Diffusion Input (GDI) cell based multiplexers. Simulated outcome using state- of-
art simulation tool shows finer behavioral performance of the projected method over
general CMOS based full adder. Here conventional FA & proposed 12-T full adder
circuits are analyzed in standard simulator using 250 nm technologies. Amanpreet Kaur,
[3] he proposed work “Comparative Analysis of GDI based D Flip Flop Circuits using
90nm and 180nm Technology “. He proposed D flip flop design topologies has been
developed and analyzed. The evaluation is carried out by tanner tool with 180 nm & 90
Arithmetic Logic Unit The heart of every computer is an Arithmetic Logic Unit
(ALU). This is the part of the computer which performs arithmetic operations on
numbers, e.g. addition, subtraction, etc. In this lab you will use the Verilog language to
implement an ALU having 10 functions. Use of the case structure will make this job easy.
The ALU that you will build (see Figure 1) will perform 10 functions on 8-bit inputs (see
Table 1). Please make sure you use the same variable name as the ones used in this lab.
Don’t make your own. The ALU will generate an 8-bit result (result), a one bit carry (C),
and a one bit zero-bit (Z). To select which of the 10 functions to implement you will use
ALU CTL as the selection lines. ALU is a fundamental building block of a central
processing unit (CPU) in any computing system; reversible arithmetic unit has a high
power optimization on the offer. By using suitable control logic to one of the input
variables of parallel adder, various arithmetic operations can be realized.
The inputs to an ALU are the data to be operated on, called operands, and a code
indicating the operation to be performed; the ALU's output is the result of the performed
operation. In many designs, the ALU also has status inputs or outputs, or both, which
1.1.1 Signals:
An ALU has a variety of input and output nets, which are the electrical conductors used
to convey digital signals between the ALU and external circuitry. When an ALU is
operating, external circuits apply signals to the ALU inputs and, in response, the ALU
produces and conveys signals to external circuitry via its outputs.
1.1.2 Data:
A basic ALU has three parallel data buses consisting of two input operands (A and B)
and a result output (Y). Each data bus is a group of signals that conveys one binary
integer number. Typically, the A, B and Y bus widths (the number of signals comprising
each bus) are identical and match the native word size of the external circuitry.
1.1.3 Opcode:
The opcode input is a parallel bus that conveys to the ALU an operation selection code,
which is an enumerated value that specifies the desired arithmetic or logic operation to
be performed by the ALU. The opcode size (its bus width) determines the maximum
number of different operations the ALU can perform; for example, a four-bit opcode can
specify up to sixteen different ALU operations. Generally, an ALU opcode is not the
same as a machine language opcode, though in some cases it may be directly encoded as
a bit field within a machine language opcode.
1.1.4 Status:
Outputs:
The status outputs are various individual signals that convey supplemental information
about the result of the current ALU operation. General-purpose ALUs commonly have
status signals such as:
• Carry-out, which conveys the carry resulting from an addition operation, the
borrow resulting from a subtraction operation, or the overflow bit resulting from a
binary shift operation.
• Zero, which indicates all bits of Y are logic zero.
• Negative, which indicates the result of an arithmetic operation is negative.
• Overflow, which indicates the result of an arithmetic operation has exceeded the
numeric range of Y.
• Parity, which indicates whether an even or odd number of bits in Y are logic one.
Inputs:
The status inputs allow additional information to be made available to the ALU
when performing an operation. Typically, this is a single "carry-in" bit that is the stored
carry-out from a previous ALU operation.
An ALU is a combinational logic circuit, meaning that its outputs will change
asynchronously in response to input changes. In normal operation, stable signals are
applied to all of the ALU inputs and, when enough time (known as the "propagation
delay") has passed for the signals to propagate through the ALU circuitry, the result of
the ALU operation appears at the ALU outputs. The external circuitry connected to the
ALU is responsible for ensuring the stability of ALU input signals throughout the
operation, and for allowing sufficient time for the signals to propagate through the ALU
before sampling the ALU result.
For example, a CPU begins an ALU addition operation by routing operands from
their sources (which are usually registers) to the ALU's operand inputs, while the control
unit simultaneously applies a value to the ALU's opcode input, configuring it to perform
addition. At the same time, the CPU also routes the ALU result output to a destination
register that will receive the sum. The ALU's input signals, which are held stable until
the next clock, are allowed to propagate through the ALU and to the destination register
while the CPU waits for the next clock. When the next clock arrives, the destination
register stores the ALU result and, since the ALU operation has completed, the ALU
inputs may be set up for the next ALU operation.
1.1.6 Functions:
A number of basic arithmetic and bitwise logic functions are commonly supported by
ALUs. Basic, general purpose ALUs typically include these operations in their
repertoires
Verilog
Parameters
parameter num = 8;
Operators
?:Construct
assign y = sel?a:b;
Concatenation
Comparison Operators
assign y = a>b?a:b;
Operator Description
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
== Equality
=== Equality including x and z
!= Inequality
!== Inequality including x and z
Logical Operators
Operator Description
! Logical negation
&& Logical AND
|| Logical OR
A number of basic arithmetic and bitwise logic functions are commonly
supported by ALUs. Basic, general purpose ALUs typically include these operations in
their repertoires
Operator Description
+ Addition
– Subtraction
* Multiplication
/ Division (truncates any fractional part)
% equality
Operator Description
- Change the sign of the operand
Bitwise Operators
Operator Description
~ Bitwise negation
& Bitwise AND
| Bitwise OR
~& Bitwise NAND
~| Bitwise NOR
~^ or ^~ (equivalent)
Shift Operators
Operator Description
<< Left shift
>> Right shift
• Left operand is shifted by the number of bit positions given by the right operand
2.GATE-DIFFUSIO N I NP UT (GDI ):
The GDI method is based on the use of a simple cell as shown in Fig. 1. At first
glance, the basic cellreminds one of the standard CMOS inverter, but there are some
important differences.1) The GDI cell contains three inputs: G(common gate input of
nMOS and pMOS), P(input to the source/drain of pMOS), and N (input to the
source/drain of nMOS).2) Bulks of both nMOS and pMOS are connected to N orP
(respectively), so it can bear bitrarily biased at contrast with a CMOS inverter. Most of
the designed circuits were based on theF1 and F2 functions. The reasons for this are
asfollows.1) Both F1 and F2 are complete logic families (allows realization of any
possible two-input logic function).2) F1 is the only GDI function that can be realized in a
standard p-well CMOS process, because the bulk of any nMOS is constantly and equally
biased.3) When N input is driven at high logic level and P input is at low logic level, the
diodes between NMOS and PMOS bulks to Out are directly polarized and there is ashort
between N and P, resulting in static power dissipation and V ou t ~0.5V DD .
Without a swing drop from the previous stages, a GDI cell functions as an
inverter buffer and recovers the voltage swing. Although this feature allows a self-swing
restoration in certain cases, in this paper the worst case is assumed and additional
circuitry is used for swing restoration in the implemented circuits.
The performance of a digital circuit is judged by its speed in producing output
when an input is given to it. The most common technology for designing digital circuits
is the CMOS technology. After the development of CMOS logic, there was increasing
need to optimize circuit in terms of speed. One technique thought of was by using Pass
Transistor Technology (PTL) which makes use of lesser number of gates to realize an
operation. The Transmission Gate (TG) is one of them which is typically a combination
of NMOS and PMOS transistors connected in parallel. The GDI cell represents another
form of pass transistor technology which looks similar to CMOS but differs in the supply
provided to the input terminals. The main advantages of PTL over conventional CMOS
design are as follows1) Lesser number of transistors results in low power dissipation and
lesser delay. 2) Lesser number of transistors so smaller area and lesser interconnect
effects. However, PTL technologies also suffers from two main problems such as
reduced circuit speed at low power operations and greater static power dissipation. The
paper presents a design technique that is the GDI technique that can be used to design
fast, low power circuits using only a few transistors. II. Gate Diffusion Input The GDI
cell is similar to a CMOS inverter structure. In a CMOS inverter the source of the PMOS
is connected to VDD and the source of NMOS is grounded. But in a GDI cell this might
not necessarily occur. There are some important differences between the two. The three
inputs in GDI are namely1) G- common inputs to the gate of NMOS and PMOS 2) N-
input to the source/drain of NMOS 3) P- input to the source/drain of PMOS Bulks of
both NMOS and PMOS are connected to N or P (respectively), that is it can be
arbitrarily biased unlike in CMOS inverter. Moreover, the most important difference
between CMOS and GDI is that in GDI N, P and G terminals could be given a supply
‘VDD’ or can be grounded or can be supplied with input signal depending upon the
circuit to be designed and hence effectively minimizing the number of transistors used in
case of most logic circuits (eg. AND, OR, XOR, MUX, etc). As the allotment of supply
and ground to PMOS and NMOS is not fixed in case of GDI, therefore, problem of low
voltage swing arises in case of GDI which is a drawback and hence finds difficulty in
case of implementation of analog circuits. III. Operational analysis The most common
problem with PTL technique is its low voltage swing. An extra buffer circuitry may be
used additionally to eliminate the problem of low swing and improve drivability. The
problem of low swing can be understood with the help of a random function.
desired operation can be performed based on the selection line S0, S1, S2 code; Table II
summarizes the truth table of the proposed ALU.
The 4x1 multiplexer at the input responsible for the B input based on the values
of S0 and S1 selection lines it selects from logic 1, B, ܤAnd logic 0 to perform the
Decrement, Addition, Subtraction and the Increment operations respectively, S2 chooses
between the arithmetic and the logic operations.
[1] A. Morgenshtein, I. Shwartz, and A. Fish, “Gate Diffusion Input (GDI) logic in
standard CMOS Nanoscale process,” 2010 IEEE 26th Convention of Electrical and
Electronics Engineers in Israel, 2010.
In this paper CMOS compatible Gate Diffusion Input (GDI) design technique is
proposed. The GDI method enables the implementation of a wide range of complex logic
functions using only two transistors. This method is suitable for the design of low-power
logic gates, with a much smaller area than Static CMOS and existing PTL techniques. As
opposite to our originally proposed GDI logic, the modified GDI logic is fully
compatible for implementation in a standard CMOS process. Simulations of basic GDI
gates under process and temperature corners in 40nm CMOS process are shown and
compared to similar CMOS gates. We show that while having the same delay, GDI gates
achieve leakage and active power reduction of up to 70% and 50%, respectively.
[4].M. Shoba, R. Nakkeeran, "GDI based full adders for energy efficient arithmetic
applications", Engineering Science and Technology, an International Journal, vol.
19, no. 1, pp. 485–496, Mar. 2016.
performance of the proposed designs is compared with the other full adder designs,
namely CMOS, CPL, hybrid and GDI through SPICE simulations using 45 nm
technology models. Simulation results reveal that proposed designs have lower energy
consumption among all the conventional designs taken for comparison.
[6].G. Sree Reddy, K. V. Koteswara Rao,“32-Bit Arithmetic and Logic Unit Design
With Optimized Area and Less Power Consumption By Using GDI Technique”
International Journal of Research In Computer Applications and Robotics, Vol.3
Issue.4, pp. 51-66, April 2015.
The paper presents to design of 32-bit Arithmetic and Logic Unit by taking the
advantage of concept called Gate Diffusion Input Technique (GDI). Arithmetic and
Logic Unit is the important block to design the embedded and microprocessors. The
Arithmetic Unit will do the arithmetic operations, as ADDITION and
SUBSTRACTION. The Logic unit will do the logic operations, as AND, OR, XOR and
XNOR by using the concept GDI technique. The simulation results were taken using the
Digital Schematic tool in 120nm technology. The optimized Area and Power is
calculated by using Micro Wind tool in 120 nm technology. The simulation results tells
that the design is more efficient compared with the CMOS logic, Pass transistor logic
and transmission gate logic with less area and power consumption.
3.EXISTING METHOD:
we use a lot of portable electronic devices; these devices basically are low power
high speed VLSI circuits works simultaneously. One of these circuits is the Arithmetic
logic unit (ALU) which considered an essential component. In CMOS design it takes
more time and more power consumption. Main concept of GDI is that gate of PMOS and
NMOS is diffused. In these days in digital circuits design, for a digital circuit designer’s
a high speed, high throughput and small silicon area and also low- power consumption in
digital circuit is most essential things for a designers. GDI is such a technique that we
can use for design of low power digital circuits. And it is also a novel design method of a
low power digital circuit. In GDI cell using only two transistors allows implementation
of a wide range of complex logic functions. In GDI by using only two transistor (PMOS
AND NMOS) many function such as AND, OR, XOR and XNOR can be
implemented.GDI method is suitable for designing of fast, low power circuits, using
reduced number of transistor as compared to CMOS techniques and also improving
power characteristics. As compared to CMOS, fast, low power circuits can be designed
bu using gdi technique.This approach leads to reduction in power consumption,
propagation delay and area of digital circuits. while having low complexity of logic
design. An important feature of GDI cell is that the source of the PMOS in a GDI cell is
not connected to VDD and the source of the NMOS is not connected to GND. Source
terminal of Pmos is acting as one input, and Source of Nmos is acting as another input.
Therefore GDI cell gives two extra input pins for use which makes the GDI design more
flexible than CMOS design.
ALU can perform various logic operations like NOT, AND, OR, NAND, NOR,
XOR, XNOR etc. For these operations a special unit is made called as Logical Unit. This
Logic Unit performs all logic operations asked to perform. A MUX operated by select
lines, for which particular logic operation to perform, is used inside this logic block.
4.PROPOSED METHOD:
The 4x1 multiplexer at the input responsible for the B input based on the values
of S0 and S1 selection lines it selects from logic 1, B, ܤAnd logic 0 to perform the
Decrement, Addition, Subtraction and the Increment operations respectively, S2 chooses
between the arithmetic and the logic operations.
To realize the 4-Bit ALU four stages were used as shown in Fig. 6. While the
carry input of ALU0 connected to selection line S1 to obtain logic 1 which needed for
subtraction and increment operations, however the other values don’t affect the results of
the logic operations. The proposed 4-Bit ALU circuits were designed using 65nm TSMC
CMOS process, the size of PMOS is triple that of the NMOS transistor size to achieve
the best power and delay performance. The simulations were done using the SPECTRE
based Cadence Virtuoso simulator with a power supply of 1V. Using A=1100, B=0101
as tset inputs.
Among these designs the proposed ALU design outperforms in terms of power
consumption and transistor count. In respect of power consumption the proposed ALU
operates at least values. Compared with the other designs the Transistor count is also
reduced.
Fig.4.2 shows the waveform of the proposed ALU, The results of the proposed
design compared with the 4-Bit ALU designs in [5], [6], [7] are shown in Table III.
S2 S1 S0 Operations
0 0 0 OR
0 0 1 XOR
0 1 0 XNOR
0 1 1 AND
1 0 0 DECREMENT
1 0 1 ADD
1 1 0 SUB
1 1 1 INCREMENT
File Menu
Edit Menu
Insert Menu
View Menu
Simulate Menu
Symbol Library
6.2 MICROWIND
MICROWIND WINDOW:
DESIGN RULES:
5.3 EXAMPLES:
I- NMOS transistor
III-Inverter
EXAMPLE: NMOS
EXAMPLE: PMOS
EXAMPLE: INVERTER
–Well
6. RESULTS:
6.1 RESULT:
7.1 CONCLUSION:
This work presents a 4-Bit ALU designed in DSCH and Microwind CMOS
process . Simulation results showed an advantage of the proposed ALU design in terms
of power consumption and transistor count, while maintaining Full-Swing Operation.
The proposed design consists of 192 transistors and operates under 1V supply voltage.
Power consumption in CMOS circuit is classified in two categorize: static power
dissipation and dynamic power dissipation. In today’s CMOS circuit’s static power
dissipation is negligible thus not considered as compared to dynamic power dissipation.
Dynamic Power dissipation in a CMOS circuit is given by P = CLf VDD2. The power
supply is directly related to dynamic power. The numbers of power supply to ground
connections are reduced in GDI implementation which reduces the dynamic power
consumption. This work presents a 4-bit ALU designed in250nm technology for low
power and minimum area with GDI technique. Various topologies of multiplexer and full
adder implementation is studied and compared. The 2x1multiplexer, 4x1 multiplexer, 1-
bit full adder with 10- transistors designed using GDI technique is chosen for lowering
power consumption and minimum possible area. Power dissipation, propagation delay
and the number of transistors of ALU were compared using CMOS, n MOSPTL and
GDI techniques. GDI technique proved to have best result in terms of performance
characteristics among all the design techniques.
In future, Arithmetic based sub systems will consists of Shannon based adder
cell, high performance low power full adder, high speed counter using GDI technique
and Vedic multiplier designs. They can be used in the implementation of finite impulse
response filter design for DSP which are advantageous for low power applications. ASIC
design for low power digital filter with low latency and power gating can be carried out.
These arithmetic sub systems can be used in the implementation of arithmetic and logic
units and multiply and accumulate units for DSP processor which improves performance
of the system in different level of abstraction. The GDI based counter designs can be
improved by using clock swing techniques in flip- flops.
8.BIBILOGRAPHY
APPENDEX A:
REFERENCES:
[1]. R. Shalem, E. John, and L.K.John, “A novel low-power energy recovery full adder
cell,” in Proc. Great Lakes Symp.VLSI,Feb. 1999, pp.380–383.
[2]. A.Sharma, R Singh and R. Mehra, “ Low Power TG Full Adder Design Using
CMOS Nano Technology,”
[4]. Saradindu Panda, N. Mohan Kumar, C.K. Sarkar., “Transistor Count Optimization of
Conventional CMOS Full Adder &Optimization of Power and Delay of New
Implementation of 18Transistor Full Adder by Dual Threshold Node Design with
Submicron Channel Length" in Computers and Devices for Communication, 2009.
CODEC 2009. 4th International Conference on pp: I – 4
[6]. T. Esther Rani, M. Asha Rani, Dr. Rameshwarrao, “AREA OPTIMIZED LOW
POWER ARITHMETIC AND LOGIC UNIT” 978-1-4244-8679-3/11/$26.00 ©2011
IEEE.
[7]. Manish Kumar, Md. Anwar Hussain, and L.L.K. Singh,” Design of a Low Power
High Speed ALU in 45nm Using GDI Technique and Its Performance Comparison, CNC
2011, CCIS 142, pp. 458–463, 2011.
[8]. Morgenshtein, A., Fish, A., Wagner, I.A.: Gate-Diffusion Input (GDI) – A
Technique for Low Power Design of Digital Circuits: Analysis and Characterization. In:
ISCAS 2002, USA (May2002).
APPENDIX B
HT.NO :15RJ1A0445
Email ID:javidisadgunreddy@gmail.com
PH.NO :8142444846
HT.NO :15RJ1A0460
Email ID:koyyadalaxman8@gmail.com
PH.NO :9121464809
HT.NO :15RJ1A0459
Email ID:kotagiriaravind4@gmail.com
PH.NO :9951585947