VLSI Design Lecture 1: Digital Systems and VLSI

50
VLSI Design Lecture 1: Digital Systems and VLSI Mohammad Arjomand CE Department Sharif Univ. of Tech. Adapted with modifications from Wayne Wolf’s lecture notes

description

VLSI Design Lecture 1: Digital Systems and VLSI. Mohammad Arjomand CE Department Sharif Univ. of Tech. Adapted with modifications from Wayne Wolf’s lecture notes. Overview. Why VLSI? Moore’s Law. The VLSI design process. IP-based design. Features of Better Circuit. - PowerPoint PPT Presentation

Transcript of VLSI Design Lecture 1: Digital Systems and VLSI

Page 1: VLSI Design Lecture 1: Digital Systems and VLSI

VLSI DesignLecture 1: Digital Systems and VLSI

Mohammad Arjomand

CE DepartmentSharif Univ. of Tech.

Adapted with modifications from Wayne Wolf’s lecture notes

Page 2: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 2 of 50

Overview

Why VLSI? Moore’s Law. The VLSI design process. IP-based design.

Page 3: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 3 of 50

Features of Better Circuit

1. Lower cost (chip area, number of ICs, …)2. Better performance (speed)3. Lower power4. Better reliability

More integration less inter-chip connections better reliability

Better testability5. Better repeatability6. Less design and fabrication time

Page 4: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 4 of 50

Components of an Electronic System Chip (usually a small part of the total cost, but can

influence the cost of other parts) Power supply Fan PCB (Printed Circuit Board) Bus Box

Page 5: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 5 of 50

Why VLSI?

Integration improves the design: lower parasitic = higher speed;

» Shorter length of signal transfer is another reason for higher speed (3 cm wire 3*10-2/3*108 = 0.1nsec)

lower power (hence better reliability);» Power is a limiting factor for high integration.

physically smaller. Integration reduces manufacturing cost -(almost) no

manual assembly.Greatly reduces cost of parts other than chip (supply, fan,

PCB, …)ASIC might be more expensive than standard IC, but

system’s cost will be lower.

Page 6: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 6 of 50

Levels of Integration

SSI MSI LSI VLSI Criteria:

Gate count (2-20, 20-200, 200-2000, 2000 +); you may see different numbers in literature

Pin countFeature size (line widths, line spacing, size)Chip sizeFunction (gate & FF, module, subsystem, system)

Page 7: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 7 of 50

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

transistors). Who knows the next step? Maybe:

UBSI (Unbelievably Big Scale Integration)! or

YWBHLI (You Wouldn't Believe How Large the Integration is)!!

Page 8: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 8 of 50

VLSI and you

Microprocessors:personal computers;microcontrollers.

DRAM/SRAM. Special-purpose processors.

Page 9: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 9 of 50

Moore’s Law

• Gordon Moore (co-founder of Intel( predicted that number of transistors per chip would grow exponentially (doubles every 18 months).

• Exponential improvement in technology is a natural trend: steam engines, automobiles.

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

engineering groups. Role of CAD tools.

log(#dev)

t

Page 10: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 10 of 50

Moore’s Law plot

Page 11: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 11 of 50

Moore’s Law and Intel processors

Page 12: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 12 of 50

Moore/Intel log scale

Page 13: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 13 of 50

Transistors/Intel Microprocessors

Page 14: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 14 of 50

Terminology

Manufacturing node: technology at a particular channel length.

Deep submicron technology: 250-100 nm. Nanometer technology: 100 nm and below.

Page 15: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 15 of 50

The cost of fabrication

Current cost: $4 billion. Typical fab line occupies about 1 city block, employs

a few hundred people. Most profitable period is first 18 months-2 years.

Page 16: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 16 of 50

Cost factors in ICs

For large-volume ICs:packaging is largest cost; testing is second-largest cost.

For low-volume ICs, design costs may swamp all manufacturing costs.

IC manufacturing technology is remarkably versatile (change masks).

Wafer size: 12 inch (moving to 18 inch) Chip size: 1.5 X 1.5 cm2 (moving to 2 X 2)

Page 17: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 17 of 50

Cost of design

Design cost can be significant: $20 million for a large ASIC, $500 million for a large CPU.

Cost elements:Architects, logic designers, etc.CAD tools.Computers the CAD tools run on.

Page 18: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 18 of 50

Intellectual property

Intellectual property (IP): pre-designed components.May come from outside vendors, internal sources.

IP saves time, design cost. IP blocks must be designed to be reused.

Page 19: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 19 of 50

Reliability

Nanometer technologies require attention to reliability. Design-for-manufacturing (DFM) and design-for-yield

(DFY) techniques adjust the design to improve yield. Circuit and architecture techniques can compensate for

unreliable components.

Page 20: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 20 of 50

The VLSI design process

May be part of larger product design. Major levels of abstraction:

specification;architecture; logic design;circuit design; layout.

Page 21: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 21 of 50

Role of Each Level

Specification: function, cost, etc. Architecture: large blocks. Logic: gates + registers. Circuits: transistor sizes for speed, power. Layout:

Layout size determines fabrication cost.Shapes determine parasitics; hence the circuit speed and

power.

Page 22: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 22 of 50

Challenges in VLSI design

Multiple levels of abstraction: transistors to CPUs. Multiple and conflicting constraints: low cost and

high performance are often at odds. Short design time: Late products are often irrelevant.

6 months delay losing 33% of the profit

Page 23: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 23 of 50

Techniques to eliminate unnecessary detail

1. Hierarchical design (divide and conquer, i.e.; breaking the chip into a hierarchy of components, where each consists of a body and a number of pins)

2. Design abstraction (use multiple levels of abstraction)3. Using CAD tools: tries to solve all 3 mentioned problems;

1. dealing with multiple levels of abstraction is easier when you are not absorbed in the details,

2. computer programs can analyze cost trade-offs much better (because they are methodical)

3. computers are much faster than humans.

Page 24: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 24 of 50

CAD Tools Categories

1. Design entry tools (e.g., schematic capture) capture a design in machine-readable form for use by other

programs, but don’t do any real design work.

2. Analysis and verification tools (e.g., spice) ease the analysis task, but 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 as

important to CAD tools as they are to humans.

Page 25: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 25 of 50

Dealing with complexity

Divide-and-conquer: limit the number of components you deal with at any one time.

Group several components into larger components: transistors form gates;gates form functional units; functional units form processing elements;etc.

Page 26: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 26 of 50

Hierarchical name

Interior view of a component:components and wires that make it up.

Exterior view of a component = type:body;pins.

Fulladder

a

bcin

sum

cout

Page 27: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 27 of 50

Instantiating component types

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

Each instance is a separate copy of the type:

Add1(Fulladder)

a

bcin

sum

cout

Add2(Fulladder)

a

bcin

sumAdd1.a

Add2.a

Page 28: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 28 of 50

A hierarchical logic design

z

box1 box2 x

Page 29: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 29 of 50

Net lists and component lists

Net list:net1: top.in1 in1.innet2: i1.out xxx.Btopin1: top.n1 xxx.xin1topin2: top.n2 xxx.xin2botin1: top.n3 xxx.xin3net3: xxx.out i2.inoutnet: i2.out top.out

Component list:top: in1=net1 n1=topin1 n2=topin2 n3=topine out=outneti1: in=net1 out=net2xxx: xin1=topin1 xin2=topin2 xin3=botin1 B=net2 out=net3i2: in=net3 out=outnet

Page 30: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 30 of 50

Component hierarchy

top

i1 xxx i2

Page 31: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 31 of 50

Hierarchical names

Typical hierarchical name: top/i1.foo

component pin

Page 32: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 32 of 50

Design abstractions

specification

behavior

register-transfer

logic

circuit

layout

English

Executableprogram

Sequentialmachines

Logic gates

transistors

rectangles

Throughput,design time

Function units,clock cycles

Literals, logic depth

nanoseconds

microns

function cost

Page 33: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 33 of 50

Layout and its abstractions

Layout for dynamic latch:

Page 34: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 34 of 50

Stick diagram

Page 35: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 35 of 50

Transistor schematic

Page 36: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 36 of 50

Mixed schematic

inverter

Page 37: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 37 of 50

Circuit abstraction

Continuous voltages and time:

Page 38: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 38 of 50

Digital abstraction

Discrete levels, discrete time:

Page 39: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 39 of 50

Register-transfer abstraction

Abstract components, abstract data types:

+

+

0010

0001

0100

0111

Page 40: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 40 of 50

Top-down vs. bottom-up design

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

Bottom-up design creates abstractions from low-level behavior.

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

Page 41: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 41 of 50

Design validation

Must check at every step that errors haven’t been 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 42: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 42 of 50

Manufacturing test

Not the same as design validation: just because the design is right doesn’t mean that every chip coming off the line will be right.

Must quickly check whether manufacturing defects destroy function of chip.

Must also speed-grade.

Page 43: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 43 of 50

IP-based design

Almost every chip uses some form of IP:Standard cell libraries.Memories. IP blocks.

Designers must know how to:Create IP.Use IP.

Page 44: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 44 of 50

Types of IP

Hard IP:Pre-designed layout.Allows more detailed characterization.

Soft IP:No layout---logic synthesis, etc. IP layout is created by the IP user.

Page 45: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 45 of 50

Hard IP

Must conform to many standards:Layout pin placement.Layer usage.Transistor sizing.

Hard IP blocks are usually qualified on a particular process.Qualification: Component is fabricated and tested to show

that the IP works on that fab line.

Page 46: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 46 of 50

Soft IP

Conformance of layout to local standards is easier since it is created by the user.

Timing can only be estimated until the layout is done. Must conform to interface standards.

A wrapper adapts a block to a new interface.

Page 47: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 47 of 50

IP across the design hierarchy

Standard cells.Pitch matched in rows, compatible drive.

Register-transfer modules. Memories. CPUs. Buses. I/O devices.

Page 48: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 48 of 50

Specifying IP

Hard or soft? Functionality. Performance, including process corners. Power consumption. Special process features required.

Page 49: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 49 of 50

The I/O lifecycle

specification

HDL design

characterizationand validation

documentation design

databaseextraction

qualification

IP modules chip design

IPdatabase

IPdocumentation

IP creation

IP use

Page 50: VLSI Design Lecture 1: Digital Systems and VLSI

Modern VLSI Design 4e: Chapter 1 Sharif University of Technology Slide 50 of 50

Using IP

May come from vendor, open source, or internal group. Must identify candidate IP, evaluate for suitability. May have to pay for IP. May want to qualify IP before use, particularly if it

pushes analog characteristics.