slide set 11 mos circuit styles: pseudo-nmos, precharged...

30
Slide Set 11, Page 1 Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, … Steve Wilton Department of Electrical and Computer Engineering University of British Columbia [email protected] Reference for some of the slides: J. Rabaey, A. Chandrakasan, and B. Nikolic, Digital Integrated Circuits: A Design Perspective, Prentice Hall, 2nd Edition, 2003

Upload: buiminh

Post on 11-Apr-2018

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 1

Slide Set 11

MOS Circuit Styles:Pseudo-NMOS, Precharged Logic, …

Steve WiltonDepartment of Electrical and Computer Engineering

University of British [email protected]

Reference for some of the slides: J. Rabaey, A. Chandrakasan, and B. Nikolic, Digital Integrated Circuits: A Design Perspective, Prentice Hall, 2nd Edition, 2003

Page 2: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 2

Overview

Reading: Wolf, Section 3.5

So far we have talked about the two most common forms of logic, static CMOS gates and switch-logic. But there are other forms of gates that people have invented to improve on some of the characteristics of logic gates. We already talked about some of them and we’ll introduce some new ones. These improved gates have limitations of their own, and which logic family is best strongly depends on the application. As was mentioned in previous lectures, static CMOS gates are extremely robust gates, and in many design styles they are the only gates that you are allowed to use. But in certain places, especially in custom layout, some alternate circuit configuration can come in handy to increase performance or reduce layout area.

Page 3: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 3

Aside: Large Fan-in Gates

Fan-in refers to the number of inputs of a gate.

A gate with a large fan-in has a large number of inputs. We know that all CMOS logic gates need a series stack, where the number of transistors in the stack is usually on the order of the number of inputs. For NAND gates, it is a series pull down network, while for NOR gates it is a series pull up network.

Since series stacks are slow, to limit the height of the stack we need to limit the fan-in of the gate to 3 or 4.

If you need a large fan-in gate, what can you do? For example let’s assume we want to implement a 6-input NAND gate.

Page 4: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 4

Example

The following two circuits both implement a 6-input NAND gate

Page 5: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 5

NMOS Technology

NMOS technology (70’s & 80’s) was great for high fan-in gates since a resistor or a depletion transistor (conducts even when Vgs=0) was used as the pull-up and one only needed to build the pull-down network. For NOR gates, the pull-down network used only parallel transistors.

VDD

VSS

PDNIn1In2In3

F

RLLoad

VDD

VSS

In1In2In3

F

VDD

VSS

PDNIn1In2In3

FVSS

PDN

Resistive DepletionLoad

PMOSLoad

(a) resistive load (b) depletion load NMOS (c) pseudo-NMOS

VT < 0

Page 6: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 6

Pull-Down Network (as in CMOS)

Pull-up Network: only one PMOS transistor

Pseudo-NMOSCMOS technology does not have depletion pull-ups, instead we use a PMOS with its gate grounded as a PUN:

Advantages: fan-in of n requires n+1 transistors, potentially smaller area and higher speedAdvantages:

Page 7: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 7

We want a big Ron,pThis means small W (or big L)

Pseudo-NMOS

Problems: Static Power Consumption, Degraded ‘0’ output, Ratioed logic,typically have asymmetric response,

Problems:

Page 8: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 8

Pseudo-NMOS: Power and Sizing Issues• NMOS technology (by itself) become unpopular due to its high power

dissipation• Every gate with its output low dissipated power (that’s typically half the

gates on a chip!); the same is true for Pseudo-NMOS

• To size the devices, we must ensure that the pull-down current is large enough to get a valid low output (however, never can get exactly 0V).– e.g., For 4:1 current ratio, the NMOS width (Wn) must be twice Wp

• Because functionality depends on device ratios, it is called RATIOED logic

All devices

W/2 or less

are W

The size of thisdevice makes the rise timeslow.

Page 9: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Board Notes: Differential Cascode Voltage Logic

Page 10: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 10

DCVSL Example

B

A A

B B B

Out

Out

XOR-NXOR gate

Page 11: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 11

Dynamic (Precharged) Logic

• In static circuits at any given time (except when switching) the output is connected to either GND or VDD via a low resistance path.– fan-in of n requires 2n (n NMOS + n PMOS) transistors

• Dynamic circuits rely on the temporary storage of signal values on the capacitance of high impedance nodes.– requires n + 2 (n+1 NMOS + 1 PMOS) transistors– takes a sequence of precharge and conditional evaluation

phases to realize logic functions

Page 12: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Board Notes: Precharged Logic

Page 13: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 13

Properties of Dynamic Logic

• Logic function is implemented by the PDN only– number of transistors is N + 2 (versus 2N for static

complementary CMOS)

• Full swing outputs (VOL = GND and VOH = VDD)• Non-ratioed: Sizing of the devices does not affect the

logic functionality• Faster switching speeds

– reduced load capacitance due to fewer number of transistors per gate

– no Isc, so all the current provided by PDN used to discharge CL

– Ignoring the influence of precharge time on the switching speed of the gate, tpLH = 0 but the presence of the evaluation transistor slows down the tpHL

Page 14: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 14

Properties of Dynamic Logic

• Overall power dissipation usually higher than static CMOS:Although no static current path ever exists between VDD and GND dynamic gates have– higher transition probabilities– extra load on Clk

• Needs a precharge/evaluate clock

Page 15: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 15

Issues in Dynamic Logic Design: Charge Leakage

Once the output drops below the switching threshold of the fan-out logic gate, the output is interpreted as a low voltage.

CL

Clk

ClkOut

A=0

Mp

Me

Thus, due to leakage minimum clock rate of a few kHz is required

Leakage sources

Clk

VOut

Precharge

Evaluate

1

2

34

Page 16: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 16

A Solution to Charge Leakage

• Keeper compensates for the charge lost due to the pull-down leakage paths.

CL

CLK

CLK

Me

Mp

A

B

!Out

Mkp

Same approach can be used as level restorer in pass transistor logic and dynamic latches

Keeper

Page 17: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Board Notes: Charge Sharing

Page 18: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 18

Solution to Charge Sharing

Clk

Clk

Me

Mp

A

B

OutMip Clk

Precharge internal nodes using a clock-driven transistor (at the cost of increased area and power)

Page 19: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 19

Issues in Dynamic Logic Design: Clock Feedthrough

CL

Clk

Clk

B

AOut

Mp

Me

Coupling between Out and Clkinput of the precharge device due to the gate to drain capacitance. So voltage of Out can rise above VDD or below GND. The fast rising (and falling edges) of the clock couple to Out.

Page 20: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 20

Clock Feedthrough

-0.5

0.5

1.5

2.5

0 0.5 1

Clk

Clk

In1

In2

In3

In4

Out

ClkOut

Time, ns

Vol

tage

Clock feedthrough

Clock feedthrough

Page 21: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 21

Other Issues

• Capacitive coupling (clock feedthrough is a special case of capacitive coupling)

• Substrate coupling

• Supply noise

Page 22: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Board Notes: Cascading Dynamic Gates and Intro to Domino Logic

Page 23: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 23

Domino Logic

In1

In2 PDNIn3

Me

Mp

Clk

Clk Out1

In4 PDNIn5

Me

Mp

Clk

ClkOut2

Mkp

1 → 11 → 0

0 → 00 → 1

Page 24: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 24

Why the Name Domino?

In1

CLK

CLK

Ini PDNInj

IniInj

PDN Ini PDNInj

Ini PDNInj

Like falling dominos!

Page 25: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 25

Properties of Domino Logic

• Only non-inverting logic can be implemented, fixes include– can reorganize the logic using Boolean transformations– use differential logic (dual rail)– use np-CMOS (zipper)

• Very high speed– tpHL = 0– static inverter can be optimized to match fan-out

Page 26: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 26

Differential (Dual Rail) Domino

A

B

Me

Mp

CLK

CLKOut = (AB)

A B

MkpCLK

Out = AB

Mkp Mp

Due to its high-performance, differential domino is very popular and is used in several commercial microprocessors!

1 0 1 0

onoff

Page 27: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Board Notes: Zipper Logic

Page 28: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 28

np-CMOS (Zipper)

In1

In2 PDNIn3

Me

Mp

CLK

CLK Out1

In4 PUNIn5

Me

MpCLK

CLK

Out2(to PDN)

1 → 11 → 0

0 → 00 → 1

Only 0 → 1 transitions allowed at inputs of PDNOnly 1 → 0 transitions allowed at inputs of PUN

to otherPDN’s

to otherPUN’s

Page 29: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 29

Designing with Domino Logic

Mp

Me

VDD

PDN

Clk

In1In2

In3

Out1

Clk

Mp

Me

VDD

PDN

Clk

In4

Clk

Out2

Mr

VDD

Inputs = 0during precharge

Can be eliminated!

Page 30: Slide Set 11 MOS Circuit Styles: Pseudo-NMOS, Precharged ...courses.ece.ubc.ca/elec402/handouts/s11_1up.pdf · MOS Circuit Styles: Pseudo-NMOS, Precharged Logic, ... Dynamic (Precharged)

Slide Set 11, Page 30

Footless Domino

The first gate in the chain needs a foot switchPrecharge is rippling – short-circuit currentA solution is to delay the clock for each stage

VDD

Clk Mp

Out1

In1

1 0

VDD

Clk Mp

Out2

In2

VDD

Clk Mp

Outn

InnIn3

1 0

0 1 0 1 0 1

1 0 1 0