VLSI Design Styles - ERNET

57
VLSI Design Styles

Transcript of VLSI Design Styles - ERNET

Page 1: VLSI Design Styles - ERNET

VLSI Design Styles

Page 2: VLSI Design Styles - ERNET

Basic Concepts in VLSI Physical Design Automation

Page 3: VLSI Design Styles - ERNET

3

VLSI Design Cycle

• Large number of devices• Optimization requirements

for high performance• Time-to-market competition• Cost

System Specifications

Chip

Manual Automation

Page 4: VLSI Design Styles - ERNET

4

VLSI Design Cycle (contd.)

1. System specification2. Functional design3. Logic design4. Circuit design5. Physical design6. Design verification7. Fabrication8. Packaging, testing, and debugging

Page 5: VLSI Design Styles - ERNET

5

Physical Design

• Converts a circuit description into a geometric description.

– This description is used for fabrication of the chip.• Basic steps in the physical design cycle:

1. Partitioning2. Floorplanning and placement3. Routing4. Compaction

Page 6: VLSI Design Styles - ERNET

6

Page 7: VLSI Design Styles - ERNET

7

n-channel Transistor

Page 8: VLSI Design Styles - ERNET

8

n-channel Transistor Operation

Page 9: VLSI Design Styles - ERNET

9

n-channel Transistor Layout

Page 10: VLSI Design Styles - ERNET

10

p-channel MOS Transistor

Page 11: VLSI Design Styles - ERNET

11

Fabrication Layers

Page 12: VLSI Design Styles - ERNET

12

MOS Transistor Behavior

Page 13: VLSI Design Styles - ERNET

13

Summary of VLSI Layers

Page 14: VLSI Design Styles - ERNET

14

VLSI Fabrication

Page 15: VLSI Design Styles - ERNET

15

Silicon Wafer

Page 16: VLSI Design Styles - ERNET

16

General Design Rules

Page 17: VLSI Design Styles - ERNET

17

Types of Fabrication Errors

Page 18: VLSI Design Styles - ERNET

18

Width/Spacing Rules (MOSIS)

Page 19: VLSI Design Styles - ERNET

19

Poly-Diffusion Interaction

Page 20: VLSI Design Styles - ERNET

20

Contacts

Page 21: VLSI Design Styles - ERNET

21

Contact Spacing

Page 22: VLSI Design Styles - ERNET

22

M2 Contact (Via)

Page 23: VLSI Design Styles - ERNET

23

CMOS Layout Example

Page 24: VLSI Design Styles - ERNET

24

Stick Diagrams

Page 25: VLSI Design Styles - ERNET

25

Static CMOS Inverter

Page 26: VLSI Design Styles - ERNET

26

Static CMOS NAND Gate

Page 27: VLSI Design Styles - ERNET

27

Static CMOS NOR Gate

Page 28: VLSI Design Styles - ERNET

28

Static CMOS Design :: General Rule

Page 29: VLSI Design Styles - ERNET

29

Simple Static CMOS Design Example

Page 30: VLSI Design Styles - ERNET

30

Static CMOS Design Example Layout

Page 31: VLSI Design Styles - ERNET

31

VLSI Design Styles

• Programmable Logic Devices– Programmable Logic Device (PLD)– Field Programmable Gate Array (FPGA)– Gate Array

• Standard Cell (Semi-Custom Design)• Full-Custom Design

Page 32: VLSI Design Styles - ERNET

Field Programmable Gate Array (FPGA)

Page 33: VLSI Design Styles - ERNET

33

Introduction

• User / Field Programmability.• Array of logic cells connected via routing channels.• Different types of cells:

– Special I/O cells.– Logic cells.

• Mainly lookup tables (LUT) with associated registers.

• Interconnection between cells:– Using SRAM based switches.– Using antifuse elements.

Page 34: VLSI Design Styles - ERNET

34

Xilinx XC4000 Architecture

CLB

CLB

CLB

CLB

SwitchMatrix

ProgrammableInterconnect I/O Blocks (IOBs)

ConfigurableLogic Blocks (CLBs)

D Q

SlewRate

Control

PassivePull-Up,

Pull-Down

Delay

Vcc

OutputBuffer

InputBuffer

Q D

Pad

D QSD

RDEC

S/RControl

D QSD

RDEC

S/RControl

1

1

F'G'

H'

DIN

F'G'

H'

DIN

F'

G'H'

H'

HFunc.Gen.

GFunc.Gen.

FFunc.Gen.

G4G3G2G1

F4F3F2F1

C4C1 C2 C3

K

Y

X

H1 DIN S/R EC

Page 35: VLSI Design Styles - ERNET

35

XC4000E Configurable Logic Blocks

D QSD

RDEC

S/RControl

D QSD

RDEC

S/RControl

1

1

F'G'

H'

DIN

F'G'

H'

DIN

F'

G'H'

H'

HFunc.Gen.

GFunc.Gen.

FFunc.Gen.

G4G3G2G1

F4F3F2F1

C4C1 C2 C3

K

YQ

Y

XQ

X

H1 DIN S/R EC

Page 36: VLSI Design Styles - ERNET

36

CLB Functionalities

• Two 4-input function generators– Implemented using Lookup Tables using 16x1 RAM.– Can also implement 16x1 memory.

• Two Registers– Each can be configured as flip-flop or latch.– Independent clock polarity.– Synchronous and asynchronous Set / Reset.

Page 37: VLSI Design Styles - ERNET

37

Look Up Tables

Capacity is limited by number of inputs, not complexityChoose to use each function generator as 4 input logic (LUT) or as high speed sync.dual port RAM

• Combinatorial Logic is stored in 16x1 SRAM Look Up Tables (LUTs) in a CLB

• Example:

A B C D Z

0 0 0 0 00 0 0 1 00 0 1 0 00 0 1 1 10 1 0 0 10 1 0 1 1

. . .1 1 0 0 01 1 0 1 01 1 1 0 01 1 1 1 1

Look Up Table

Combinatorial LogicAB

CD

Z

4-bit address

GFunc.Gen.

G4G3G2G1

WE

Page 38: VLSI Design Styles - ERNET

38

XC4000X I/O Block Diagram

Page 39: VLSI Design Styles - ERNET

39

Xilinx FPGA Routing

1) Fast Direct Interconnect - CLB to CLB2) General Purpose Interconnect - Uses switch matrix

CLBCLB

CLBCLB

CLBCLB

CLBCLB

SwitchMatrix

SwitchMatrix

Page 40: VLSI Design Styles - ERNET

40

FPGA Design Flow

• Design Entry – In schematic, VHDL, or Verilog.

• Implementation– Placement & Routing– Bitstream generation – Analyze timing, view layout, simulation, etc.

• Download– Directly to Xilinx hardware devices with unlimited

reconfigurations.

Page 41: VLSI Design Styles - ERNET

Gate Array

Page 42: VLSI Design Styles - ERNET

42

Introduction

• In view of the fast prototyping capability, the gate array (GA) comes after the FPGA. – Design implementation of

• FPGA chip is done with user programming, • Gate array is done with metal mask design and processing.

• Gate array implementation requires a two-step manufacturing process: a) The first phase, which is based on generic (standard) masks,

results in an array of uncommitted transistors on each GA chip. b) These uncommitted chips can be customized later, which is

completed by defining the metal interconnects between the transistors of the array.

Page 43: VLSI Design Styles - ERNET

43

Page 44: VLSI Design Styles - ERNET

44

Channeled vs. Channel-less (SoG) Approaches

Page 45: VLSI Design Styles - ERNET

45

• The GA chip utilization factor is higher than that of FPGA.– The used chip area divided by the total chip area.

• Chip speed is also higher.– More customized design can be achieved with metal mask

designs. • Current gate array chips can implement as many as

hundreds of thousands of logic gates.

Page 46: VLSI Design Styles - ERNET

Standard Cell Based Design

Page 47: VLSI Design Styles - ERNET

47

Introduction

• One of the most prevalent custom design styles.– Also called semi-custom design style.– Requires developing full custom mask set.

• Basic idea:– All of the commonly used logic cells are developed,

characterized, and stored in a standard cell library. – A typical library may contain a few hundred cells.

• Inverters, NAND gates, NOR gates, complex AOI, OAI gates, D-latches, and flip-flops.

Page 48: VLSI Design Styles - ERNET

48

Characteristic of the Cells

• Each cell is designed with a fixed height.– To enable automated placement of the cells, and – Routing of inter-cell connections.– A number of cells can be abutted side-by-side to form rows.

• The power and ground rails typically run parallel to upper and lower boundaries of cell.– Neighboring cells share a common power and ground bus. – nMOS transistors are located closer to the ground rail while

the pMOS transistors are placed closer to the power rail.• The input and output pins are located on the upper

and lower boundaries of the cell.

Page 49: VLSI Design Styles - ERNET

49

Standard Cells

Page 50: VLSI Design Styles - ERNET

50

Standard Cell Layout

Page 51: VLSI Design Styles - ERNET

51

Floorplan for Standard Cell Design

• Inside the I/O frame which is reserved for I/O cells, the chip area contains rows or columns of standard cells. – Between cell rows are channels for dedicated inter-cell

routing. – Over-the-cell routing is also possible.

• The physical design and layout of logic cells ensure that – When placed into rows, their heights match.– Neighboring cells can be abutted side-by-side, which

provides natural connections for power and ground lines in each row.

Page 52: VLSI Design Styles - ERNET

52

Page 53: VLSI Design Styles - ERNET

Full Custom Design

Page 54: VLSI Design Styles - ERNET

54

Introduction

• The standard-cells based design is often called semi custom design.– The cells are pre-designed for general use and the same

cells are utilized in many different chip designs. • In the full custom design, the entire mask design is

done anew without use of any library. – The development cost of such a design style is

prohibitively high. – The concept of design reuse is becoming popular to reduce

design cycle time and cost.

Page 55: VLSI Design Styles - ERNET

55

Contd.

• The most rigorous full custom design can be the design of a memory cell.– Static or dynamic. – Since the same layout design is replicated, there would not

be any alternative to high density memory chip design. • For logic chip design, a good compromise can be

achieved by using a combination of different design styles on the same chip.– Standard cells, data-path cells and PLAs.

Page 56: VLSI Design Styles - ERNET

56

• In real full-custom layout in which the geometry, orientation and placement of every transistor is done individually by the designer,– Design productivity is usually very low.

• Typically 10 to 20 transistors per day, per designer.• In digital CMOS VLSI, full-custom design is rarely

used due to the high labor cost. – Exceptions to this include the design of high-volume

products such as memory chips, high-performance microprocessors and FPGA masters.

Page 57: VLSI Design Styles - ERNET

57

Comparison Among Various Design Styles

Full custom

Standard cell

Gate arrayFPGA

SlowMediumFastVery fastDesign time

VariableVariableVariableProgrammable

Interconnect

VariableIn rowFixedFixedCell placement

VariableVariableFixedProgrammable

Cell type

VariableFixed height

FixedFixedCell size

Design Style