digital abstraction: mos abstraction as switch – …aandreo1/216/handouts/handout...levels of...

38
520.216 1 1 Andreas G. Andreou Pedro Julian Electrical and Computer Engineering Johns Hopkins University http://andreoulab.net Digital abstraction: MOS abstraction as switch – CMOS Inverter-

Upload: others

Post on 08-Jul-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

520.216 1 1

Andreas G. Andreou Pedro Julian Electrical and Computer Engineering Johns Hopkins University http://andreoulab.net

Digital abstraction: MOS abstraction as switch – CMOS Inverter-

Page 2: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Levels of Abstraction –MOS switch and Inverter-

Introduction to VLSI Systems 2

Layout

DEEP SUBMICRON CMOS DESIGN 4. The inverter

1 E.Sicard, S. Delmas-Bendhia 20/12/03

4 The Inverter

The inverter is probably the most important basic logic cell in circuit design. This chapter introduces the logical

concepts of the inverter, its layout implementation, the link between the transistor size and the static and analog

characteristics. The manual design of the inverter is detailed. The performances of the inverter are analyzed in terms of

static transfer function, switching speed, MOS options influence, and power consumption.

1. Logic symbol

Two logic symbols are often used to represent the inverter: the "old style" inverter (Left of figure 4-1), and the IEEE

symbol (right of figure 4-1). In DSCH, we preferably use traditional symbol layout. As the logic truth table of figure 4-

1 shows, the cell inverts the logic value of the input In into an output Out.

In Out

0 1

1 0

X X

Fig. 4-1: Symbols used to represent the logic inverter

In the truth table, the symbol 0 represents 0.0V while 1 represents the logic supply, which is 1.2V in 0.12µm. The

symbol X means "undefined". This state is equivalent to an undefined voltage, just like with a floating input node

without any input connection. The undefined state appears in gray in the simulations and chronograms.

Symbol

PHYSICAL LOGICAL

Out = NOT (In) Out = ~ (In)

Equation

DEEP SUBMICRON CMOS DESIGN 4. The inverter

1 E.Sicard, S. Delmas-Bendhia 20/12/03

4 The Inverter

The inverter is probably the most important basic logic cell in circuit design. This chapter introduces the logical

concepts of the inverter, its layout implementation, the link between the transistor size and the static and analog

characteristics. The manual design of the inverter is detailed. The performances of the inverter are analyzed in terms of

static transfer function, switching speed, MOS options influence, and power consumption.

1. Logic symbol

Two logic symbols are often used to represent the inverter: the "old style" inverter (Left of figure 4-1), and the IEEE

symbol (right of figure 4-1). In DSCH, we preferably use traditional symbol layout. As the logic truth table of figure 4-

1 shows, the cell inverts the logic value of the input In into an output Out.

In Out

0 1

1 0

X X

Fig. 4-1: Symbols used to represent the logic inverter

In the truth table, the symbol 0 represents 0.0V while 1 represents the logic supply, which is 1.2V in 0.12µm. The

symbol X means "undefined". This state is equivalent to an undefined voltage, just like with a floating input node

without any input connection. The undefined state appears in gray in the simulations and chronograms.

Truth Table

Circuit

Voltage Transfer Characteristics (VTC)

Page 3: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

The digital abstraction (I)

520.216 3

from Lecture 2 in MIT 6.004 Computation Structures http://6004.csail.mit.edu/

Page 4: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Concrete encoding of information

520.216 4

from Lecture 2 in MIT 6.004 Computation Structures http://6004.csail.mit.edu/

Page 5: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

The digital abstraction (II)

520.216 5

from Lecture 2 in MIT 6.004 Computation Structures http://6004.csail.mit.edu/

Page 6: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

The digital abstraction (III)

520.216 6

Page 7: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

MOS transistor encoding bits

520.216 7

Rather than worrying about the precise voltages on the terminals of the transistor, guarantee that voltages will fall within two regions, one represents a logic ‘0’ and the other a ‘1’. Need to compute the output only for inputs in the allowable range •  Much simpler than before •  Model transistor as being either conducting, or off

Need to ensure that the output is always in the allowable voltage range •  Need to make sure you produce valid digital outputs to the next stage •  Also want to have level restore

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 8: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Input-Output voltage ranges and noise

520.216 8

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 9: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Simplest Model for MOS transistor switch

520.216 9

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 10: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Terminology

520.216 10

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 11: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Transistor Examples

520.216 11

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 12: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Switch networks (I)

520.216 12

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 13: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Switch networks (II)

520.216 13

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 14: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

General switch networks

520.216 14

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 15: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Building functions out of switches

520.216 15

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 16: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Basic idea: Build two switch networks one good for 1s and one good for 0s

520.216 16

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 17: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

The genesis of the inverter!

520.216 17

More gates next lecture!

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 18: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

NMOS is good for “transmitting” 0s: because current from Drain to Source pulls low

520.216 18

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 19: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

PMOS is good for “transmitting” 1s: because current from Drain to Source pulls high

520.216 19

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 20: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

CMOS pass transistor structures

520.216 20

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 21: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Transmission gate muxes

520.216 21

adapted from Introduction to VLSI Stanford University by Subhasish Mitra

Page 22: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

logic levels definitions

Page 23: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

MOS transistor

Page 24: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

NMOS and PMOS digital “models”

Page 25: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

what does this all mean?

Page 26: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

microwind 0.12 um CMOS process

Page 27: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

and back to layout

Page 28: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

cross-section and zoom

Page 29: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

MOS transistor layout

Page 30: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

more notation

Page 31: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

dynamic behavior: another level of abstraction

Demo: MOSN.msk

Page 32: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

and the perfect switch!

Page 33: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

simulation of the perfect switch

Demo: TGATE.msk

Page 34: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

•  NFET’s pull down, PFET’s pull up •  Pull up and pull down NOT at the same time •  Output always connected to VDD or GND

CMOS Inverter

Page 35: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

multiple contacts: why?

Page 36: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

multiple contacts

Page 37: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

multiple contacts

Page 38: Digital abstraction: MOS abstraction as switch – …aandreo1/216/Handouts/Handout...Levels of Abstraction –MOS switch and Inverter- Introduction to VLSI Systems 2 Layout DEEP SUBMICRON

Computer Aided Design Tools

520.216 38

MICROWIND Tool Design Flow

Contact: Sales : [email protected] Support : [email protected]

SPICE Simulator (3rd Party)

Schematic Modeling Analog & digital Library models

Digital Simulation SPICE Extraction

DSCH 3

Tape out to FAB. CIF

Functional Simulation

Floorplanning

Place & Route

Programming File

.bit or .jed

IO Cards Traffic Light Controller, Key Pad, Display (LCD, 7 segs)

Synthesis

ModelSim / other

ProTHUMB Advance post layout

simulator

Analysis DRC, ERC

Delay Analyzer Crosstalk Analyzer 2D Cross section

3D Analyzer

Layout Conversion SPICE, CIF

Constraints

Technology rule files

MICROWIND 3

Verilog Extraction

Verilog File

nanoLambda Layout Editor

Verilog Compiler

Place & Route

Layout Extraction

FPGA / CPLD Boards

FPGA Tools

MICROWIND Tool

3rd Party Tools

LTSpice WindSpice

http://www.microwind.net