Professional Documents
Culture Documents
CMOS Digital Circuits Lecture One
CMOS Digital Circuits Lecture One
4-BIT ALU
Class 1
DSP Adder
Class 1
UPDOWN
COUNTER
Class 1
Course Aims
Prepare students to be productive members
of an industrial digital circuit design team.
Prepare students for graduate study or carry
out a senior design project in the VLSI field.
Provide an environment where students learn
to think critically.
Provide an environment where students learn
to enjoy the design and learning processes.
Class 1
Course Objectives
To be productive members of an industrial
digital circuit design team students
should be able to:
analyze circuits using both analytical and CAD tools
use a design flow to design a CMOS integrated circuit in a team
environment.
present results orally
interpret a design specification
Class 1
Course Objectives
To be prepared for graduate study in the VLSI area
students should be able to:
derive basic analytical MOS circuit equations
locate information not presented in class in the library
Course Objectives
For students to learn IC design using state
of the art design flows and CAD tools.
If you are good at this type of thing you can
make a very good salary.
It is fun too!
Class 1
IC Design LAB
In ENGR 291/289
50 linux stations running CDS IC50
Accounts will be given when enrollment
stabilizes.
We will need to spend some extra time in lab to
learn the tools.
Once you know the tools, the Homework and
project will be based on the tools.
Class 1
10
11
Class 1
12
Academic Honesty
You are supposed to work on the homework
together.
You are not supped to copy solutions.
This class is based on trust.
Cheating will be reported. You final project
grade will be reduced, and you will be
reported.
Class 1
13
Clock
Distribution:
Skew, fat tree,
H-Tree
Super
Buffer:
When to
use, power
Schmitt
Trigger:
Why,
How
Team Work
Design Flow
Day 1
14
15
Class 1
16
experience you
have the easier this
Evaluate your design
will be!
Use hand calculations for delay, power and area and
check: (make sure to assign late signals to best case
pins) (make sure you have the systems worst case in
mind.)
Negative Ws, increasing Cgs, area or power violations.
17
18
19
20
Control
Switches
A
B
Control
Class 1
21
Transistors
Control
B
23
Fabrication
http://jas.eng.buffalo.edu/education/fab/NMOS/nmos.html
Class 1
24
25
Class 1
26
27
28
Moores Law
Class 1
29
Scaling by 1/2
30
Scaling
Allows the same decision to be made using less power and
area! This drives/drove the electronic revolution. (Quite
different from Horsepower vs Engine displacement)
Full Scaling
Tries to maintain the same electric filed distribution in the
scaled device
Not always possible (The transistors still have to be able to
interface with the outside world.)
Noise!
Constant-Voltage Scaling
VDD, VT are unchanged
Power dissipation and density go up!
Class 1
31
Scaling
Allows the same decision to be made using less power and
area! This drives/drove the electronic revolution. (Quite
different from Horsepower vs Engine displacement)
Full Scaling
Tries to maintain the same electric filed distribution in the
scaled device
Not always possible (The transistors still have to be able to
interface with the outside world.)
Noise!
Constant-Voltage Scaling
VDD, VT are unchanged
Power dissipation and density go up!
Class 1
32
Scaling Exercise
Doubling the circuit density of is like
reducing all dimensions by half.
Lets try to scale a piece of paper 10 times,
by folding it in half ten times.
Class 1
33
Design Flow
A design flow is collection of procedures
and tools that are followed/used to make
sure a product works as intended.
Intimately related to process technology
As each process node shrinks the flow has to
handle
more transistors
more physical effects
Class 1
34
FPGAs
Field Programmable Gate Arrays are a cross
between Hardware and Software.
There have chips with many transistors and
blocks such as adders in which the
connections between the two can be
electrically programmed into new functions.
Class 1
35
36
Class 1
37
We use some
Unit
simple models NOR2
NAND2
to roughly size AOI21
NOR2
the transistors, NOR2
INV
or even see if we NOR2
NOR2
can meet our
NAND2
NOR2
timing, area, and INV
NAND2
power
INV
INV
specification.
WN Load WP Load
(cm)
4.46E-04
9.93E-04
4.76E-04
4.74E-04
4.50E-04
5.42E-04
4.64E-04
4.67E-04
3.41E-04
2.62E-04
2.33E-04
8.50E-04
2.76E-04
Cint
(cm)
8.91E-04
9.93E-04
9.51E-04
9.49E-04
9.01E-04
9.69E-04
9.28E-04
9.34E-04
3.41E-04
5.24E-04
4.18E-04
8.50E-04
4.87E-04
F
2.00E-14
2.00E-14
2.00E-14
2.00E-14
2.00E-14
2.00E-14
2.00E-14
2.00E-14
2.00E-14
2.00E-14
2.00E-14
2.00E-14
2.00E-14
2.00E-14
Cg or Cin of
load
F
3.0000E-14
2.2442E-14
3.3331E-14
4.7883E-14
2.3886E-14
4.5357E-14
2.5358E-14
4.6702E-14
7.0500E-14
2.2899E-14
1.3179E-14
2.1864E-14
5.6000E-14
2.5610E-14
Cg+Cint
5.0000E-14
4.2442E-14
5.3331E-14
6.7883E-14
4.3886E-14
6.5357E-14
4.5358E-14
6.6702E-14
4.3000E-14
4.2899E-14
3.3179E-14
4.1864E-14
9.1000E-14
4.5610E-14
phl
s
1.70E-10
1.70E-10
3.90E-10
1.90E-10
1.60E-10
1.20E-10
1.60E-10
1.90E-10
2.90E-10
2.10E-10
1.39E-10
1.80E-10
2.60E-10
1.39E-10
WN
cm
4.46E-04
9.93E-04
4.76E-04
4.74E-04
4.50E-04
5.42E-04
4.64E-04
4.67E-04
3.41E-04
2.62E-04
2.33E-04
8.50E-04
2.76E-04
3.15E-04
WP
cm
8.91E-04
9.93E-04
9.51E-04
9.49E-04
9.01E-04
9.69E-04
9.28E-04
9.34E-04
3.41E-04
5.24E-04
4.18E-04
8.50E-04
4.87E-04
5.65E-04
Class 1
38
Verilog Simulation
We ant to make sure that our ALU (made up of
NAND/ NOR/ADDER functionalities is logically
correct before we start
The computer software only decides if switches
are open or closed.
These functions are built into computer chips and
only take one cycle to decide
Simulations are faster than physical based
simulations so verification of the logic can
proceeded quickly.
Class 1
39
Verilog Verification
Checks when switches are open or closed only.
No timing data.
40
SPICE verification
Simulation Program for Integrated Circuits
Emphasis.
Calculates all the voltages and currents in a circuit.
Physically based
Much slower than HDL, but shows timing and
power.
One can check almost all the functions of an ALU
quickly in verilog, but SPICE simulations would
takes too long.
Remeber things never work the first time. If it takes even
15 minutes for a simulation to show the problem, that
1 half an
means you can only fix one problem aboutClass
every
hour.
41
42
Class 1
43
Layout
The layout of a circuit is the data that
actually sent to the fabrication house. It is
what is used to create the masks.
The are rules you must follow to ensure
your circuit will work according to you
simulation
Class 1
44
45
Class 1
46
DRC Clean
This means there are no DRC errors
Class 1
47
Extract
Extraction algorithms are used to take the
layout view and make a schematic of what
Not what you
was drawn.
meant to draw!
It will also extract the resistances,
capacitances of the wired that connect the
transistors of the circuit together.
Remember RC is time, so in general the drawn
circuit will be slower than the schematic if you
have long wires.
Class 1
48
Extracted View
Class 1
49
LVS
Layout versus schematic
This is an equivalence check
Is what was drawn equal to the the schematic?
The logic
has
already
been
verified
for the
schematic!
=?
Class 1
If the answer is
yes, we just
have to
simulate
the longest path
in SPICE to
verify the delay!
50
51
52
53
Circuits that
make it easier to
test the design
after fabrication
are also inserted.
(DFT, design for
test)
This assumes
you have timing
closure.
55
Placed Cells
Class 1
56
Signal Integrity
With each process node the wires are closer
together increasing the amount of noise between
signals.
We can extract this interaction from the layout
view and simulate it in spice, but for a large chip
the time for simulation would be too long to
provide useful feedback to the circuit designer.
A signal integrity can make sure the noise is
within specification with having to run a complete
spice deck.
Class 1
58
Completed Chip
This is an actual
processor. We are so high
up that we can not see the
individual transistors as
we did with the ALU.
Class 1
59
ASIC Flow
The main differences between full custom and
ASIC is that
ASIC automatically generates a circuit from library and
code. You can only control which parts you pick.
Design costs low and dependant on tools.
Full Custom nothing is automatically generated and you
can control which parts and how wide each transitory
is. Design costs are high, dependant on skilled
engineers.
Class 1
60
Other Flows
Gate Array
The transistors are and prefabricated and the
design only routes the signals from gate to gate.
Processor Based
Rather than write generic code, you write code
that is targeted to a microprocessor that can be
configured in many different ways
Design made of of many small
microprocessors.
Class 1
61
62
Summary
A design flow is used to make sure a
product works as intended.
The flow has to be automated to reduce
human error.
The are many types of design flow each
with a cost in terms of engineering,
manufacture and support.
Class 1
63
Exercise
Each metal line has to be no less than 1m.
The minimum separation between metal
lines is 1m.
Each dot is separated by .5 1m.
Find the DRC errors
Class 1
64
Sample 1
Class 1
65
Sample 2
Class 1
66
Sample 3
Class 1
67
Sample 4
Class 1
68
Only 32 Signals!
Sample 5
Class 1
69
Class 1
70