Introduction to VLSI System Design · ECE425 Intro VLSI System Design Lecture Notes The lecture...
Transcript of Introduction to VLSI System Design · ECE425 Intro VLSI System Design Lecture Notes The lecture...
Intro VLSI System DesignECE425
Electrical Computer Engineering ECE425
Introduction to VLSI System Design
Anu AggarwalECEB3044
Intro VLSI System Design
Teaching Staff Dr. Anu Aggarwal
– Office hours – T, R – 5-6 pm, W- 4-5 pm
TA - Xinheng Liu– W- 9-12 noon , Lab ECEB 2022– Weeks MPs are due, F- 9-12 noon
Intro VLSI System Design
Web, software
ECE425
Course web page: https://courses.engr.illinois.edu/ece425– Syllabus, class notes, announcements, MP & HW
materials, etc. will be posted here. Piazza: https://piazza.com/illinois/fall2019/ece425
– This is the primary means of staff-student communication outside of lecture hours and office hours.
Compass2g: https://compass2g.illinois.edu– Grades and MP submissions
Cadence Design Framework– Installed on EWS Linux workstations (ECEB2022)– Instructions will be provided in MP0
Intro VLSI System Design
Textbooks Required Text
– Neil Weste and David Harris, CMOS VLSI Design: A Circuits and Systems Perspective, 4th edition.
Recommended Book– De Micheli, Synthesis and Optimization of Digital Circuits
Other Reference Books– Sherwani, Algorithms for VLSI Physical Design Automation– Rabaey, Chandrakasan, Nikolic, Digital Integrated Circuits:
a Design Perspective (2nd edition)
ECE425
Intro VLSI System DesignECE425
Lecture NotesThe lecture notes will include some material not covered in the
principle textbook and will be the primary course material. However, the level of details and description in the notes will not be as complete as the information that you would find in a textbook. We will also try to include additional information to help you understand the material.
The lecture slides we will be using were prepared by Prof. Deming Chen. Some of the notes used in this course are courtesy of David Harris and Jason Cong.
Intro VLSI System Design
Grading
ECE425
Homework assignments – 3: worth 10% of course grade– no late acceptance
Exams – mid-term and final - in class– 20%+20% of course grade
Machine Problems (4 total): 50% of course grade– MP0: 2.5%; MP1: 10%; MP2: 5%+20%; MP3: 12.5%– Due on Compass by 11:59pm on the due dates. – Submit PDF version of the report– All MPs, except MP3, are accepted up to three days late
with penalties:• 1 day: 10%; 2 days: 30%; 3 days: 50%; >3 days: 100%.
Intro VLSI System DesignECE425
ECE425 Goals Understanding the basic building blocks of VLSI
– Transistors/Wires– Logic Gates and Layout– Datapath Blocks
Be able to optimize a design on important design metrics– Logic Optimization– Improve Testability– Power Minimization
Be able to build a system (using a subset of the tools), and learn useful algorithms and techniques for VLSI CAD
– Verilog Modeling– Synthesis– Place and Route
Understanding the constraints, tradeoffs and other issues– Delay analysis (gates and interconnects)– Clocking methodology– System integration issues
Intro VLSI System DesignECE425
Lecture 1
Overview of VLSI Design
Readings: Weste & Harris; 1.1, 1.5.1, 1.6
Slides courtesy of Deming ChenSome slides courtesy of Ken Yang (UCLA)
and David Harris (Harvey Mudd)
Intro VLSI System DesignECE425
Goals for today’s lecture
MotivationHistory of VLSI designFabrication and Layout: Inverter
Cross sectionDesign Partitioning
Intro VLSI System DesignECE425
The Big Picture Want to go from an idea:
Intro VLSI System DesignECE425
The Big Picture To actual chip:
Intro VLSI System DesignECE425
Magnified
Intro VLSI System DesignECE425
Why? Easier to move/control electrons than real stuff
– Electronic calculators, not mechanical – Move information, not things (phone, fax, WWW, etc.)
Building electronics:– Started with tubes, then miniature tubes– Transistors, then miniature transistors– Components were getting cheaper, but:
• There is a minimum cost of a component (storage, handling …)• Total system cost was proportional to complexity
Integrated Circuits changed that– Print a circuit, like you print a picture,
• Create components in parallel• Cost no longer depended on # of devices
– What happens as resolution goes up?
Intro VLSI System Design
History
ECE425
Intro VLSI System DesignECE425
Invention of the Transistor Vacuum tubes ruled in first half of 20th century Large,
expensive, power-hungry, unreliable 1947: first point contact transistor
– John Bardeen and Walter Brattain at Bell Labs (Nobel Prize in Physics in 1956)
“We call it the Transistor,T-R-A-N-S-I-S-T-O-R, because it is a resistoror semiconductor devicewhich can amplify electrical signals as they are transferred…”
Intro VLSI System DesignECE425
A Brief History 1958: First integrated circuit
– Flip-flop using two transistors– Built by Jack Kilby at Texas Instruments
(Nobel Prize in Physics in 2000) https://en.wikipedia.org/wiki/Comparison_of_Intel_pr
ocessors https://en.wikipedia.org/wiki/Transistor_count 53% compound annual growth rate over 50 years
– No other technology has grown so fast so long Driven by miniaturization of transistors
– Smaller is cheaper, faster, lower in power!– Revolutionary effects on society
Intro VLSI System Design
Billion-Transistor Chips
Source: Zhiru Zhang, Cornell
Intro VLSI System Design
Annual Sales
Intro VLSI System DesignECE425
1970’s processes usually had only nMOS transistors– Inexpensive, but consume power while idle
1980s-present: CMOS processes for low idle power
MOS Integrated Circuits
Intel 1101 256-bit SRAM Intel 4004 4-bit µProc
Intro VLSI System DesignECE425
Moore’s Law 1965: Gordon Moore plotted transistor on each chip
– Fit straight line on semilog scale– Transistor counts have doubled every 18 months
Year
Transistors
40048008
8080
8086
80286Intel386
Intel486Pentium
Pentium ProPentium II
Pentium IIIPentium 4
1,000
10,000
100,000
1,000,000
10,000,000
100,000,000
1,000,000,000
1970 1975 1980 1985 1990 1995 2000
Integration Levels
SSI: 10 gates
MSI: 1000 gates
LSI: 10,000 gates
VLSI: > 10k gates
Intro VLSI System DesignECE425
Corollaries (1) Many other factors grow exponentially
– Ex: clock frequency, processor performance
Year
1
10
100
1,000
10,000
1970 1975 1980 1985 1990 1995 2000 2005
4004
8008
8080
8086
80286
Intel386
Intel486
Pentium
Pentium Pro/II/III
Pentium 4
Clock Speed (M
Hz)
Intro VLSI System DesignECE425
Corollaries (2) Cost of wafer fabrication- growing slower Cost per function- dropping exponentially. Every new generation,
– A gate costs ~ 1/2 what it did 1.5 years ago.
yearyear
diecost
ln(cost/function)
Intro VLSI System DesignECE425
Bad news: Productivity Gap
xxxxxx
x 21%/Yr. Productivity growth rate
x
58%/Yr. Complexity growth rate
1
10
100
1,000
10,000
100,000
1,000,000
10,000,000
199810
100
1,000
10,000
100,000
1,000,000
10,000,000
100,000,000
Log
ic T
rans
isto
rs/C
hip
(K)
Tran
sist
or/S
taff-
Mon
th
Chip Capacity and Designer Productivity2003
Source: NTRS’97
Intro VLSI System DesignECE425
The Cost of Next Generation Product
Source: IBS Inc.
Wireless chip case
Networking chip case
0.18um 0.13um 90nm
10
20
30
40
50
0.15
Total Product Cost ($M)$30M ~ $50M @ 90nm
Intro VLSI System DesignECE425
The Cost of Next Generation Product
Engineering Cost – 60% up
Manufacturing Cost – 40% up
NRE/Mask Cost – 100% up
ProductCost
Respin cost – 78% up
Intro VLSI System DesignECE425
Technology Scaling Number of ‘grids’ per chip
doubles every 1.5 years– more functionality per
chip– harder to design
Two problems– What do you do with all
that space -- what function?
– How do you make sure it works
2010
2004
1998
Intro VLSI System Design
Fabrication and layout:
Overview
ECE425
Intro VLSI System DesignECE425
What is on an Integrated Circuit?
Actually only two types of “devices”:–Wires–Transistors
Most of the area are the wires!!
Intro VLSI System DesignECE425
Physical Topology of an Integrated Circuit
The transistors are built in the silicon, and then there are lots of wiring layers deposited on top. In cross-section it looks like (abstractly):
Silicon
Many more metals
Intro VLSI System DesignECE425
Another View:
Can you guess what is shown here?
Top View
Cross Section
polygate
metalwire contactdiffusion
n-well
n-well
Intro VLSI System DesignECE425
TransistorsWhat kind of Mosfet is this – nfet or pfet?
Why?
0 0.5 1 1.5 2 2.50
100
200
300
400
500
600
Vds(V)
Id
s(
uA
)
IDS
sourcedraingate
Intro VLSI System DesignECE425
A MOSFET as a Switch Three terminal device
– source, drain• two ends of conductive path
– gate• controls conductive path
– operation• conducts when gate is high• open circuit when gate is low
– caveat• passes 0s well, not 1s
source
gate
drain
This description is for nMOS transistors. For pMOS everything is reversed. The source is the higher voltage terminal, and the transistor is on when the gate is much lower than the source. More on pMOS later
Intro VLSI System DesignECE425
Layout: The Fabrication Specification
The end of the design process must create a set of drawings, one for each layer needed in the manufacturing process– Layout drawings are complicated
• There are many rules about the geometry to make sure the circuits can be reliably manufactured
– Minimum width of wire, minimum spacing between wires, alignment rules
• The layers represent transistors and wires, and need to create the correct function
• Many rectangles for each transistor and wire, and there are millions of transistors and wires.
– Different layers are represented by different colors• People used to draw the layout on mylar (10s of transistors)• But not any more, now use CAD tools (to help with abstraction,
visualization, and constrain to design rules), and pre-made cells (for partitioning, hierarchy)
Intro VLSI System DesignECE425
Simple Layout Example of a Simple Processor
Simple example Use hierarchy to hide
complexity Pads around chip Major blocks are
shown– Design is broken
into a controller that controls dataflow.
Colored regions are really many wires
Intro VLSI System DesignECE425
Layout This picture is an
expanded view of a portion of the layout seen on previous slide.
The next two slides:– Controller layout
• Handle instruction inputs
– Datapath layout• Moving data
around
Intro VLSI System DesignECE425
Controller Layout
Right half shows cells in the design
Left half has the cells expanded to show the layout layers
Intro VLSI System DesignECE425
Datapath Layout
Wire structure is more regular.– Words are 16bits
wide.– Each path is
repeated 16x Again
– Cells on right– Expanded cells on
left Transistor density is
higher
Intro VLSI System DesignECE425
A Slightly More Powerful Processor
2.2cm
Rectangles
Transistors
Gates
Functions
Architecture
Intro VLSI System Design
Or Intel Core 2 Duo
291,000,000 transistors
Intro VLSI System Design
Design Partitioning
ECE425
Intro VLSI System DesignECE425
The Challenge in VLSI Design – Managing Complexity
Simplify the design problem• Can’t understand 10B transistors, or 100B rectangles• Need to make less complex (and less numerous) models
– Abstraction• Simplified model for a thing, works well in some subset of the design
space– Modeling Constraints
• To ensure that the abstractions are valid• Might work if you violate constraints, but guarantees are off
Understand the underlying technology– Provide a feeling for what abstractions and constraints are needed.– Determine efficient solutions (make the right tradeoffs).
CAD tools use the abstractions and constraints to help us manage the complexity.
– They do not replace the need to understand the technology.– In fact, we also need to understand how tools work.
Intro VLSI System DesignECE425
Reality of VLSI Design –Juggling Tradeoffs
Bottom line is $$$$ external “constraints” are
Vary with application domain– Portables (power - performance/area)– DRAM (area - features/performance)– DSP (design time/area - performance)– Military (robustness - power/performance)
Area
Design time and resources Robustness
Performance
Power
Intro VLSI System DesignECE425
Abstractions and DisciplinesHow to Deal with 109 Transistors
Digital abstraction– signals are 1 or 0
Switch abstraction– MOSFETs as simple
switches Gate abstraction
– Unidirectional elements– Separable timing
Synchronous abstraction– Race free logic– Function does not depend
on timing
Constrain the design space to simplify the design process– strike a balance between
design complexity and absolute performance
Partition the problem(Use hierarchy)– Module is a box with pins– apply recursively
Intro VLSI System DesignECE425
Design Levels Specification
– what the system (or component) is supposed to do
Architecture– high-level design of
component• state defined• logic partitioned into
major blocks Logic
– gates, flip-flops, and the connections between them
Circuit– transistor circuits to realize
logic elements Device
– behavior of individual circuit elements
Layout– geometry used to define
and connect circuit elements
Process– steps used to define circuit
elements
Intro VLSI System DesignECE425
Design Procedure and Tools
Concept– divider
Architecture– subtract/compare
Logical Implementation– ab+bc+ac– xor
Circuit Implementation– transistors
Physical layout + Verify– mask layers (rectangles)
C-modelling
Behavior modelling– Verilog or VHDL
Logic Synthesis– Design Analyzer
(Synopsys)– Verify Synthesis
• Static Timing
Place and Route– Silicon Ensemble
(Cadence)– Verify P&R
• Dynamic Timing
Intro VLSI System DesignECE425
A More Realistic Design Flow
Schematic Entry Cell
CharacterizationLayout Entry
Standard Cell Library
3-D RLC Modeling
Tool
Wire ModelDevice model
Layout rules
ρ,σ, µLayers
Synthesis Library (Timing/Power/Area)
C-Model Verilog Behavioral
Model Verilog Structural
RTL
Structural Model
Parasitic Extraction LibraryPlace & Route Library (Ports)
Floorplan
Global Layout
Block Layout
Floorplan
P & R
Functional
DRC/ERC/LVSStatic/Dynamic Timing
FunctionalStatic Timing
Power/Area Scan/Testability
Synthesis P&R
Clock Routing/Analysis
Intro VLSI System DesignECE425
Summary
MotivationHistory of VLSI designFabrication and Layout: Inverter
Cross sectionDesign Partitioning
Intro VLSI System DesignECE425
Next Lecture IC Fabrication Readings
– Text 1.3, 1.5