Cmos Report
Cmos Report
By
K L University E.C.E 1
K L UNIVERSITY
DEPARTMENT OF ELECTRONICS AND COMMUNICATION
ENGINEERING
CERTIFICATE
This is to certify that this project based lab report entitled Design of 2-BIT ALU
using CMOS logic with a Decoder is the bonafide work carried out by Ch
Aditya (150040169), Ch Naveen Kumar (150040176) and Ch Lakshmi Sushma
(150040178) in partial fulfilment of the requirement for the award of degree in
Bachelor of Technology in Electronics and Communication Engineering during
the academic year 2016-2017.
K L University E.C.E 2
ACKNOWLEDGMENT
We would like to place on record the deep sense of gratitude to Dr. L S S Reddy, the honourable
Vice Chancellor, K L University for providing the necessary facilities to carry the concluded project
based work.
We express our gratitude to Dr. A S C S Sastry, HOD, for providing us with adequate facilities, ways
and means by which we are able to complete this project based work.
Our sincere thanks to Mr. V. Narasimha Nayak in the Lab for their outstanding support throughout
the project for the successful completion of the work.
Last but not the least, we thank all Teaching and Non-Teaching Staff of our department and
especially our classmates and my friends for their support in the completion of our project based
work.
We express our sincere thanks to our parents for providing us with all the facilities, care and love
throughout the years
Place: K L University
Date: 11-04-2017
1 Ch Aditya 150040169
K L University E.C.E 3
INDEX
1. Abstract 5
2. Chapter 1: Introduction 6
3. 1.1 IC Technologies 8
5. 2.1 ALU 10
7. 2.3 Decoder 11
9. 2.6 Circuit 13
14. References 21
K L University E.C.E 4
ABSTRACT
Main purpose of this report is to analysis Design and Implementation of 2 Bit ALU
Using Logic Unit. Here ALU is an arithmetic logic unit use as multi-operation, combinational-
logic digital function. This 2-bit ALU has been designed based on 2 arithmetic operations and 2
logic operations. Analysis focus on reduce the time delay so this 2-bit ALU by using the latest
version of Dsch and micro wind software where the full-adder is also designed by logic gate. In
computing, an Arithmetic Logic Unit (ALU) is a digital circuit that performs arithmetic and
logical operations. The ALU is a fundamental building block of the central processing unit
(CPU) of a computer, and even the simplest microprocessors contain one for purposes such as
maintaining timers. The two function select inputs S 1 and S 0 Specify particular arithmetic or
logic operation to be granted.
K L University E.C.E 5
CHAPTER-1
INTRODUCTION:
In this project we aim at designing and implementing the layout of a 2-BIT ALU using the
transistor level circuit and stick diagram. We implement the circuit using DSCH2 and Micro
wind software in a system. DSCH2 software is used to implement the transistor level circuit in
CMos logic.
Micro wind software is used to implement the layout of the circuit minimum possible area. The
circuit that we are implementing here is a 2-BIT ALU with four different arithmetic and logic
operations as: logic XOR, logic AND, logic OR and Arithmetic bitwise addition on two 2-BIT
input values. A 2-BIT output is generated with a carry.
The ALU (Arithmetic and logic unit) is a very widely used logic device in modern day
technology. CMOS (Complementary metal oxide semiconductor) technology is the most
widely used technology in circuit designing. It provides low power dissipation. This technology
is used in designing microprocessors, microcontrollers, static RAM, etc... Two important
characteristics of CMOS devices are high noise immunity and low static power consumption.
CMOS technology uses both nMOS and pMos transistors.
The first integrated circuits hitting the markets in the seventies had a few 100 transistors
integrated in bipolar technology. Even though the principles were well known, MOS arrived in
the markets several years later. One of the reasons behind this was the inherent instability of the
MOS transistors due to the presence of minute amounts of alkali elements in the gate dielectric.
This caused the threshold voltage of the transistor to shift during the operation. However, soon
the problems of high power consumption by bipolar circuits became dominant. Even in the case
of all transistors being OFF, the sum of the leakage current in bipolar transistors is fairly
large. To provide a solution for the problem of power consumption, MOS technology
eventually made
its way. Dimensions of MOS devices can be scaled down more easily than other transistor
types.
K L University E.C.E 7
1.1. IC TECHNOLOGIES
Silicon IC technologies can be primarily classified under three types:
1. Bipolar
Bipolar transistors have npn or pnp silicon structure. In these transistors, small current into very
thin base layer controls large currents between emitter and collector. Base currents limit
integration density of bipolar devices.
Bi-CMOS has made it possible to combine CMOS transistors and bipolar devices in a single
process at a reasonable cost to achieve the high-density integration of MOS logic with the
current-driving capabilities of bipolar transistors.
K L University E.C.E 8
SOFTWARE USED
1.2.1 DSCh2 Software:
DSCH program is a logic editor and simulator.
DSCH is used to validate the architecture of the logic circuit before the microelectronics design
is started.
It also features the symbols, models and assembly support for 8051 and 16F84 controllers.
Designers can create logic circuits for interacting with these controllers and verify software
programs using DSCH.
Micro wind integrates traditionally separated front-end and back-end chip design ito an
integrated flow, accelerating the design cycle and reducing design complex.
Yellow P diffusion
Dark blue Metal 2
Green N diffusion
Black Contact cuts
K L University E.C.E 9
CHAPTER-2
DESCRIPTION OF PROJECT:
2.1 Arithmetic Logic Unit
An Arithmetic and logic unit (ALU) is a digital logic circuit used to perform arithmetic and
logic operations. It represents the fundamental building block of the Central Processing Unit
(CPU). The inputs to the ALU are the data to be operated on are called operands. The ALus
output is the result of the performed operation. In many designs, the ALU also exchanges
additional information with a status register, which relates to the result of the current of
previous operations.
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 has passed for the signals to propagate through the ALU
circuitry, the
result of the ALU operation appears at the ALU output.
K L University E.C.E 10
2.3 Decoder:
In digital electronics, a binary decoder is a combinational logic circuit that converts a binary
integer value to an associated pattern of output bits. They are used in a wide variety of
applications, including data demultiplexing, seven segment displays, and memory address
decoding.
There are several types of binary decoders, but in all cases a decoder is an electronic circuit
with multiple input and multiple output signals, which converts every unique combination of
input states to a specific combination of output states. In addition to integer data inputs, some
decoders also have one or more "enable" inputs. When the enable input is negated (disabled),
all decoder outputs are forced to their inactive states.
Depending on its function, a binary decoder will convert binary information from n input
signals to as many as 2n unique output signals. Some decoders have less than 2n output lines; in
such cases, at least one output pattern will be repeated for different input values.
K L University E.C.E 11
2.4 CMOS Technology:
Complementary metal oxide semiconductor is a technology for constructing integrated circuits.
CMOS technology is used in microprocessors, microcontrollers, static RAM, and other digital
logic circuits. CMOS technology is also used for several analog circuits such as image sensors,
data converters and highly integrated transceivers for many types of communication. CMOS
was patented by FRAN WANLASS in 1963.
The typical design style in CMOS is complementary and symmetrical pairs of p-type and n-
type metal oxide semiconductor field effective transistors (MOSFETs) for logic functions.
Two important characteristics of CMOS devices are high noise immunity and low static power
consumption. Since one transistor of the pair is always off, the series combination draws
significant power only momentarily during switching between on and off states.
S1 S2 O/P
0 0 A&B
0 1 A^|B
1 0 A+B
1 1 A-B
K L University E.C.E 12
2.6 CIRCUIT:
Figure 2.5
CHAPTER-3
K L University E.C.E 13
DESIGN CHAPTER-3
RULES
3.1. STICK DIAGRAM
RULES:
Stick diagrams are a means of capturing topography and layer information using simple
diagrams. Stick diagrams convey layer information through color codes (or monochrome
encoding). These act as an interface between symbolic circuit and the actual layout.
Stick diagram
notations:
Meta
1----
Poly
------
n-diffusion------
p-diffusion-------
R
u
le
1
:
When two or more sticks of the same type cross or touch each other that represents
electrical
c
o
nt
a
ct
.
R
u
le
2
:
When two or more sticks of different type cross or touch each other there is no
electrical
contact. (If electrical contact is needed we have to show the connection
explicitly).
K L University E.C.E 14
Rule 3:
When a poly crosses diffusion it represents a transistor. If a contact is shown then it is not
a transistor.
Rule 4:
In CMOS a demarcation line is drawn to avoid touching of p-diff with n-diff. All pMOS must
lie on one side of the line and all nMOS will have to be on the other side.
K L University E.C.E 15
3.2. DESIGN RULES OF LAYOUTS:
LAMDA BASED RULES (n-MOS and CMOS)
K L University E.C.E 16
K L University E.C.E 17
CHAPTER-4
RESULTS
K L University E.C.E 18
CHAPTER-5
5.1 ADVANTAGES:
5.2 DISADVANTAGES:
K L University E.C.E 19
CHAPTER-6
APPLICATIONS, CONCLUSION & FUTURE SCOPE
APPLICATIONS:
The arithmetic/logic unit (ALU) contains the electronic circuitry that executes all arithmetic
logical
The arithmetic/logic unit can perform four kinds of arithmetic operations, or mathematical
calculations: addition, subtraction, multiplication, and division. As its name implies, the
arithmetic/logic unit also performs logical operations. A logical operation is usually a
comparison. The unit can compare numbers, letters, or special characters. The computer can
then take action based on the result of the comparison. This is a very important capability. It is
by comparing that a computer is able to tell, for instance, whether there are unfilled seats on
airplanes, whether charge- card customers have exceeded their credit limits, and whether one
candidate for Congress has more votes than another.
CONCLUSION:
In this project, we have successfully designed a 2-BIT ALU and implemented its corresponding
CMOS transistor level circuit. We also designed the stick diagram for 2-BIT ALU using the
CMOS transistor level circuit. We have learned how to use DSCH2 software to implement
CMOS logic and how to design stick diagrams for different logic circuits.
FUTURE SCOPE:
We implemented 2-bit ALU, but we want to work on 8-bit ALU, later on we will try to work on
32-bit or 64-bit as much we can. Our purpose is to reduce the delay time. To make the circuit
complex free and less expensive. To implement the circuit by applying latest version of the
renowned software. Minimizing the logic gate as much its possible.
K L University E.C.E 20
REFERENCES:
http://electronics.stackexchange.com/questions/26404/what-so-great-about-cmos
https://en.wikipedia.org/wiki/CMOS
http://www.microwind.net/dsch.php
http://study.com/academy/lesson/arithmetic-logic-unit-alu-definition-designfunction.html
K L University E.C.E 21