vlsidesign...

38
VLSI Design Digital Systems and VLSI 1 Digital Systems and VLSI Somayyeh Koohi Department of Computer Engineering Sharif University of Technology Adapted with modifications from lecture notes prepared by author

Upload: others

Post on 14-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

VLSI DesignDigital Systems and VLSI

1

Digital Systems and VLSI

Somayyeh KoohiDepartment of Computer Engineering

Sharif University of TechnologyAdapted with modifications from lecture notes prepared by

author

Page 2: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Overview

� Why VLSI?� IC Manufacturing

�CMOS Technology

Modern VLSI Design: Chap1 2 of 38Sharif University of Technology

� The VLSI design process

Page 3: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Why VLSI?1. Lower cost

• chip area• number of ICs,…

2. Faster

Modern VLSI Design: Chap1 3 of 38Sharif University of Technology

3. Lower power consumption4. Higher reliability

� More integration � less intra-chip connections � betterreliability

� Better testabilit5. Less design and fabrication time

Page 4: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

ICs over Discrete Circuits

� Advantages� Size� Speed

� Faster communication

Modern VLSI Design: Chap1 4 of 38Sharif University of Technology

� Power Consumption� Smaller parasitic capacitance & resistance

� Manufacturing cost� Cost reduction for parts other than chip (supply, fan, PCB, …)� ASIC might be more expensive than standard IC, but system’s cost

will be lower

Page 5: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

VLSI and you

� Processors:�personal computers�Electronic systems in cars

Modern VLSI Design: Chap1 5 of 38Sharif University of Technology

�Entertainment systems,…� DRAM/SRAM� Special-purpose processors

Page 6: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Levels of Integration

� SSI → MSI → LSI → VLSI� Criteria:

�Gate count (2-20, 20-200, 200-2000, 2000 +)

Modern VLSI Design: Chap1 6 of 38Sharif University of Technology

�Pin count�Feature size�Chip size�Function

� gate & FF, module, subsystem, system

Page 7: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Levels of Integration (cont’d)

� Where to go after VLSI?� ULSI (Ultra Large Scale Integration - which is between

500,000 and 10,000,000 transistors),�GSI (Gigantic Scale Integration - which is over 10,000,000

Modern VLSI Design: Chap1 7 of 38Sharif University of Technology

( g gtransistors).

Page 8: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Overview

� Why VLSI?� IC Manufacturing

�CMOS Technology

Modern VLSI Design: Chap1 8 of 38Sharif University of Technology

�CMOS Technology� The VLSI design process

Page 9: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Technology

� Raw material of IC Manufacturing: SiliconWafers

� During manufacturing

Modern VLSI Design: Chap1 9 of 38Sharif University of Technology

g g�Photolithographic process: pattern on mask (layout)� pattern on wafer

� Changing the mask with a single fabrication line� different ICs

Page 10: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

� Difference between fabrication technology:type of transistor used�Bipolar, nMOS, CMOS

CMOS Technology

Modern VLSI Design: Chap1 10 of 38Sharif University of Technology

�Bipolar, nMOS, CMOS�Different speed & power characteristics (tradeoff)

Page 11: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Moore’s Law

� Gordon Moore (co-founder of Intel) predictedthat number of transistors per chip would growexponentially (doubles every 18 months)

log(#dev)

t

Modern VLSI Design: Chap1 11 of 38Sharif University of Technology

� Obstacles for Moore’s law:1. Quantity and variety of products which use ICs has had less progress2. Cost of design verification and test is large3. Complexity of design makes it difficult to manage it among design and

engineering groups� Role of CAD tools

t

Page 12: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Moore’s Law plots 107

108

integrated

109

Modern VLSI Design: Chap1 12 of 38Sharif University of Technology

year

#tr

ansi

stor

s

100

101

100

102

100

103

104

105

106

memoryCPU

19701960 1980 1990

integratedcircuitinvented

2000 2010

Page 13: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Cost of fabrication

� Current cost: $2-3 billion� Typical fab line occupies about 1 city block,

employs a few hundred people

Modern VLSI Design: Chap1 13 of 38Sharif University of Technology

employs a few hundred people� Most profitable period is first 18 months-2

years

Page 14: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Cost factors in ICs

� For large-volume ICs�packaging is largest cost� testing is second-largest cost

Modern VLSI Design: Chap1 14 of 38Sharif University of Technology

� testing is second largest cost� For low-volume ICs

�design costs may swamp all manufacturing costs� Wafer size: 8 inch (12 inch)� Chip size: 1.5 x 1.5 cm2

Page 15: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Overview

� Why VLSI?� IC Manufacturing

�CMOS Technology

Modern VLSI Design: Chap1 15 of 38Sharif University of Technology

�CMOS Technology� The VLSI design process

Page 16: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

The VLSI design process

� Can be part of larger product design� Major steps

�specification

Modern VLSI Design: Chap1 16 of 38Sharif University of Technology

p�Algorithm design�architecture� logic design�circuit design� layout (physical design)

Page 17: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

The steps� Specification

� Function (what to do)� Cost� Other requirements

� Architecture: large blocks� Logic

Modern VLSI Design: Chap1 17 of 38Sharif University of Technology

� Logic� Gates� Latches� Flip-Flops

� Circuits� transistor � Estimate speed & power

� Layout� Layout size determines fabrication cost� Shapes determine parasitics � the circuit speed and power

Page 18: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Challenges in VLSI design1. Multiple levels of abstraction

English specification

executable behavior system throughput,program design time

functio

nfunctio

n

cc

Modern VLSI Design: Chap1 18 of 38Sharif University of Technology

sequential register- function units,machines transfer clock cycles

logic gates logic literals, gate depth

transistors circuit nanoseconds

rectangles layout microns

unctio

nunctio

n

cost

cost

Page 19: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Challenges in VLSI design (cont’d)

2. Multiple and conflicting costs� Speed� Area� Cost

Modern VLSI Design: Chap1 19 of 38Sharif University of Technology

� power, …

3. Short design time(6 months delay ⇒ losing ∼33% of the profit)

Page 20: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Solutions� Techniques to eliminate unnecessary detail:

1. Hierarchical design� Divide and conquer: breaking the chip into a hierarchy of components,

where each consists of a body and a number of pins2. Design abstraction

U lti l l l f b t ti

Modern VLSI Design: Chap1 20 of 38Sharif University of Technology

� Use multiple levels of abstraction3. Using CAD tools: tries to solve all the 3 mentioned problems

1. Dealing with multiple levels of abstraction is easier when you are notabsorbed in the details

2. Computer programs can analyze cost trade-offs much better3. Computers are much faster than humans

Page 21: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

CAD Tools Categories1. Design entry tools (e.g., schematic capture)

� Capture a design in machine-readable form for use by otherprograms

� Don’t do any real design work

2. Analysis and verification tools (e.g., spice)

Modern VLSI Design: Chap1 21 of 38Sharif University of Technology

y ( g , p )� Ease the analysis task� Don’t tell how to change the circuit for the desired function/spec.

3. Synthesis tools (e.g., Leonardo)� Create a design at a lower level of abstraction from a higher level

description.

� Both hierarchical design and design abstraction are asimportant to CAD tools as they are to humans

Page 22: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Dealing with complexity

� Divide-and-conquer: limit the number ofcomponents you deal with at any one time

� Group several components into larger

Modern VLSI Design: Chap1 22 of 38Sharif University of Technology

components:�Transistors form gates�Gates form functional units�Functional units form processing elements�…

Page 23: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Hierarchical name

� Interior view of a component�Components and wires that make it up

� Exterior view of a component = type:

Modern VLSI Design: Chap1 23 of 38Sharif University of Technology

�body�pins

Fulladder

a

bcin

sum

cout

Page 24: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Instantiating component types

� Each instance has its own name:�add1 (type full adder)�add2 (type full adder)

Modern VLSI Design: Chap1 24 of 38Sharif University of Technology

� Each instance is a separate copy of the type:

Add1(Fulladder)

a

bcin

sum

cout

Add2(Fulladder)

a

bcin

sumAdd1.a Add2.a

Page 25: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

A hierarchical logic design

b 1 b 2

Modern VLSI Design: Chap1 25 of 38Sharif University of Technology

z

box1 box2 x

Page 26: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Net lists and component lists

� Net list:net1: top.in1 in1.innet2: i1.out xxx.Btopin1: top n1 xxx xin1

� Component list:top: in1=net1 n1=topin1

n2=topin2 n3=topineout=outnet

Modern VLSI Design: Chap1 26 of 38Sharif University of Technology

topin1: top.n1 xxx.xin1topin2: top.n2 xxx.xin2botin1: top.n3 xxx.xin3net3: xxx.out i2.inoutnet: i2.out top.out

i1: in=net1 out=net2xxx: xin1=topin1

xin2=topin2 xin3=botin1B=net2 out=net3

i2: in=net3 out=outnet

Page 27: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Component hierarchy

top

Modern VLSI Design: Chap1 27 of 38Sharif University of Technology

i1 xxx i2

Page 28: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Hierarchical names

� Typical hierarchical name:� top/i1.foo

Modern VLSI Design: Chap1 28 of 38Sharif University of Technology

component pin

Page 29: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Layout and its abstractions

� Layout for dynamic latch:

Modern VLSI Design: Chap1 29 of 38Sharif University of Technology

Page 30: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Stick diagram

VDD

Modern VLSI Design: Chap1 30 of 38Sharif University of Technology

Q'D

VSS

φ φ'

Page 31: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Transistor schematic

φ'

+

Modern VLSI Design: Chap1 31 of 38Sharif University of Technology

D Q'

φ

Page 32: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Mixed schematic

D Q'

φ'

Modern VLSI Design: Chap1 32 of 38Sharif University of Technology

D Q'

φ

inverter

Page 33: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Circuit abstraction

� Continuous voltages and time:

+

Modern VLSI Design: Chap1 33 of 38Sharif University of Technology

t

v

t

v

Page 34: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Digital abstraction

� Discrete levels, discrete time:

full

cout

sum

a

t

a

sum

Modern VLSI Design: Chap1 34 of 38Sharif University of Technology

adder

cin

sum

b

fulladder

cout

cin

sum

a

b

t

b

t

a

t

b

t

t

sum

Page 35: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Register-transfer abstraction

� Abstract components, abstract data types:

0010

Modern VLSI Design: Chap1 35 of 38Sharif University of Technology

+

+

0010

0001

0100

0011

Page 36: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Top-down vs. bottom-up design

� Top-down design adds functional detail�Create lower levels of abstraction from upper

levelsB tt d i t b t ti f

Modern VLSI Design: Chap1 36 of 38Sharif University of Technology

� Bottom-up design creates abstractions fromlow-level behavior

� Good design needs both top-down and bottom-up efforts

Page 37: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Design validation� Validation: Any technique which increases confidence

in correctness, e.g simulation� Verification: Formal proof of correctness� Must check at every step that errors haven’t been

Modern VLSI Design: Chap1 37 of 38Sharif University of Technology

introduced� The longer an error remains, the more expensive it becomes

to remove it� Forward checking: compare results of less- and more-

abstract stages� Back annotation: copy performance numbers to earlier

stages

Page 38: VLSIDesign DigitalSystemsandVLSIce.sharif.edu/courses/86-87/2/ce353/resources/root/Lectures/Chapte… · Don’t do any real design work 2. Analysis and verification tools (e.g.,

Manufacturing test

� Not the same as design validation: just becausethe design is right doesn’t mean that every chipcoming off the line will be rightM t i kl h k h th f t i

Modern VLSI Design: Chap1 38 of 38Sharif University of Technology

� Must quickly check whether manufacturingdefects destroy function of chip

� Must also speed-grade� To deliver high quality: Make the chip designer

responsible for testing