30
Page 1 T.-C. Huang, NCUE Fall 2005 VLSI Design VLSI Design Tsung-Chu Huang Department of Electronic Engineering National Changhua University of Education Email: [email protected] 2005/09/22

VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 1T.-C. Huang, NCUE Fall 2005

VLSI DesignVLSI Design

Tsung-Chu Huang

Department of Electronic EngineeringNational Changhua University of Education

Email: [email protected]

2005/09/22

Page 2: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 2T.-C. Huang, NCUE Fall 2005

Brief Syllabus1. Visit http://163.23.223.30/tch for details2. Reference: Kang’s + Weste’s textbook3. Major Content:

1. Logic-Oriented MOS Theory – Transistor Sizing2. Logic Cells – Full-custom Layout3. Digital IC Synthesis – Cell-base Layout4. Logic Structures and RTL Modules5. Introduction to Digital IP 6. Introduction to SOC Design

Page 3: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 3T.-C. Huang, NCUE Fall 2005

OutlineSwitch Model and Complex Gate

Relay LogicMOS Switch – Why CMOS?Euler Path Complex GateHomework #1

Page 4: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 4T.-C. Huang, NCUE Fall 2005

Logic Completeness and Switch

1. {And, Or, Not} is a complete logic set.2. A logic set is complete if and only if it can combine to

all functions of another complete logic set, such as {NAND} and {NOR}

3. A basic relay (switch) logic can represent either AND or OR function only.

4. Example: F=A(B+C)+DC

B

D

A

Page 5: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 5T.-C. Huang, NCUE Fall 2005

Basic Model of a MOSFET

0

0.5 1

1.5 2 2.5 3

IDSS5S9

S13

S17

S21

S25

S290

20

40

60

80

100

120

140

160

Ids

Vds

Vgs

MOSFET Model

Page 6: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 6T.-C. Huang, NCUE Fall 2005

Simple Switch Modelof an n-MOSFET

Vth

Page 7: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 7T.-C. Huang, NCUE Fall 2005

Switch Intention

S

D

G B

S

D

G

0

0

D

S

G

V(1)

V(1)-Vth

D

S

G B

D

S

G

1

1 S

D

G

0

Vth

Page 8: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 8T.-C. Huang, NCUE Fall 2005

CMOS Logic

P-network

N-network

FX

1. N network is a relay logic of F(X)

2. P network is a relay logic of F(X)AND←→OR

Page 9: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 9T.-C. Huang, NCUE Fall 2005

Stick Diagram1. Representations of Layout

• Grid-base graph• EDIF: hierarchical language with coordinates.• Stick diagram: for sketch or plan

2. Example:

2/0.35

1/0.35

Page 10: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 10T.-C. Huang, NCUE Fall 2005

Example:F=(A+B)(C+D)

F=(A+B)(C+D)

N network:A B

C D

P network:

F= A B + C D A

B

C

D

A B

C D

A

B

C

D

Page 11: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 11T.-C. Huang, NCUE Fall 2005

Euler Path

1. Topology in 18th Century Applied in CMOS2. N path: Relay logic of N network3. P path: Relay logic of P network

BA

F

S

FD

4. N path crosses p path at input X and X.

Page 12: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 12T.-C. Huang, NCUE Fall 2005

BA

Euler Path Guided Layout

Draw N+IMP Strip

P+IMP with Double Width

VSS

VDD

BA

F

S

FD

S A F B S

D A B F

Page 13: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 13T.-C. Huang, NCUE Fall 2005

FVdd

Example:F=(A+B)(C+D)

A B

C D

N

F

Vss

F A N C Vss D N B F

X A Vdd C D F B XX

A C D B

F

Input crosses should be in the same orderName for any break or cross!

Stancard CellUsually laid with the same height

for Channel Routing

A C B D FVss

Vdd Vdd

Vss

A C B D F

Page 14: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 14T.-C. Huang, NCUE Fall 2005

Cell-Based Channel Routing

NANDNANDNOTAOINOTXORNORNAND

NANDNANDNOTAOI NOTXORNORNAND

NANDNAND NOTAOI NOTXORNORNAND

Page 15: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 15T.-C. Huang, NCUE Fall 2005

Primitive Gates1. Primitive: A-tomic (Cannot be cut off) 2. Properties of a CMOS Primitives:

• Either pulled up or pulled down;• Current from or to the single output• IDDQ=0 for Ideal CMOS

3. Usual Symbols: • directly assembled without wire.• {AND, OR} Combo ended with an

Inverter

Page 16: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 16T.-C. Huang, NCUE Fall 2005

Complex PrimitiveTrivial Example

Page 17: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 17T.-C. Huang, NCUE Fall 2005

Usual Example and Naming

OAI231

Page 18: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 18T.-C. Huang, NCUE Fall 2005

Switch Intention

S

D

G

0

0

D

S

G

1

1

Page 19: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 19T.-C. Huang, NCUE Fall 2005

Pass Transistor as Switch

S D

G

DS

G

Page 20: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 20T.-C. Huang, NCUE Fall 2005

Pass Transistor as Switch

1. Good p/n switch for 1/0 but bad for 0/12. CMOS Transmission gate – another

compensated structure

3. Pass Transistor Logic (PTL)1. VDD >> stages * Vth2. Pulled-up or down

Page 21: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 21T.-C. Huang, NCUE Fall 2005

Transmission Gate

BA

C

C

C

C

BA

Page 22: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 22T.-C. Huang, NCUE Fall 2005

Tri-State

0

1

IN

High ImpedianceFloating (connection)

Hi-Z‘z’

Page 23: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 23T.-C. Huang, NCUE Fall 2005

Tri-State Logic

1Z01

ZZ0Z

0000

1Z0AND

1111

1ZZZ

1Z00

1Z0OR

Page 24: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 24T.-C. Huang, NCUE Fall 2005

2-to-1 Multiplexer

0

1

A

B

C

AC+BC

Page 25: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 25T.-C. Huang, NCUE Fall 2005

TG-based Multiplexer

C

C

A

C

C

B

Bidirectional No tri-state in ideal timingBus Contention possibly !

Page 26: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 26T.-C. Huang, NCUE Fall 2005

Memory – Latches and RegistersPrior to ’90s, they’re used to be confused.Latch: Level SensitiveRegister: Edge Triggled50’s Flipflop (Very slow frequency):

Later Flipflop:

Latch

LatchLatch

Page 27: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 27T.-C. Huang, NCUE Fall 2005

Static Gate Based Latch

Example: Resettable D Latch

Page 28: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 28T.-C. Huang, NCUE Fall 2005

Switch-Based Static Latch and Flipflop

D

CLK

Q

SkewSkew

Page 29: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 29T.-C. Huang, NCUE Fall 2005

Home #1• Draw all possible structured stick diagrams of

a primitive OAI32 using Eular-Paths

Page 30: VLSI Design - 123seminarsonly.com · the ORCAD/Design Lab 8.0 freeware) 2. Try to install and excise some simple example 3. Prepare at least one Verilog tool (e.g., download the Altera/Max/Quartus

Page 30T.-C. Huang, NCUE Fall 2005

Preparation for Next Lecture1. Prepare at least one SPICE-like tool (e.g., download

the ORCAD/Design Lab 8.0 freeware)2. Try to install and excise some simple example3. Prepare at least one Verilog tool (e.g., download the

Altera/Max/Quartus or Xilinx/ISE/Baseline or SynaptiCAD)

4. Try to install and excise some simple example