Top Banner
EE141 1 Pass Pass - - Transistor Transistor Logic Logic
15

"Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

Mar 06, 2018

Download

Documents

duonghanh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE1411

PassPass--TransistorTransistorLogicLogic

Page 2: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE1412

PassPass--Transistor LogicTransistor LogicIn

puts

Switch

Network

OutOut

A

B

B

B

• N transistors• No static consumption

Primary inputs drive the gate terminals + source-drain terminals. In contrast to static CMOS –primary inputs drive gate terminals.

Page 3: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE1413

Example: AND GateExample: AND Gate

B

B

A

F = AB

0

When B is “1”, top device turns on and copies the input A to output F. When B is low, bottom device turns on and passes a “0”.

The presence of the switch driven by B is essential to ensure that the gate is static – a low-impedance path must exist to supply rails.

Adv.: Fewer devices to implement some functions.Example: AND2 requires 4 devices (including inverter to invert B) vs. 6 for complementary CMOS (lower total capacitance).

NMOS is effective at passing a 0, but poor at pulling a node to Vdd. When the pass transistor a node high, the output only charges up to Vdd-Vtn. This becomes worse due to the body effect. The node will be charged up to Vdd – Vtn (Vs)

))22(( 0 fsftndds VVVV Φ−+Φ+−= γ

Page 4: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE1414

NMOSNMOS--Only LogicOnly Logic

0 0.5 1 1.5 20.0

1.0

2.0

3.0

Time [ns]

Vol

tage

[V]

sOut

In

Vs is initially 0. Vs will initially charge up quickly, but the tail end of the transient is slow. The current drive of the transistor (gate-to-source voltage) is reduce significantly as Vsapproaches Vdd-Vtn (the current available to charge up node “s” is reduced drastically.

For cascading, the output of a pass transistor (#1) should not drive the gate of another MOS device (#2). This will produce an output = Vdd-Vtn1-Vtn2

VDD

In

Outs

0.5µm/0.25µm0.5µm/0.25µm

1.5µm/0.25µm

Page 5: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE1415

Energy ConsumptionEnergy Consumption

VDD

In

Outs

0.5µm/0.25µm0.5µm/0.25 µm

1.5µm/0.25µm

Pass transistors require lower switching energy to charge up a node, due to the reduces voltage swing. The output node charges from 0 -> Vdd-Vtn, and the energy drawn from the power supply for charging the output of a pass transistor is given by CL.Vdd(Vdd-Vtn)

While lower switching power is consumed, it may consume static power when output is high –the reduced voltage level may be insufficient to turn off the PMOS transistor of the subsequent CMOS inverter.

Page 6: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE1416

Complementary Pass Transistor LogicComplementary Pass Transistor Logic

A

B

A

B

B B B B

A

B

A

B

F=AB

F = AB

F=A+B

F =A+B

B B

A

A

A

A

F=A ⊕Β

F = A ⊕Β

OR/NOR EXOR/NEXORAND/NAND

F

F

Pass-TransistorNetwork

Pass-TransistorNetwork

AABB

AABB

Inverse

(a)

(b)

• Since circuit is differential, complimentary inputs and outputs are available. Although generating differential signals require extra circuitry, complex gates such as XORs, MUXs and adders can be realized efficiently.

• CPL is a static gate, because outputs are connected to Vdd or GND through a low-resistance path (high noise resilience).

• Design is modular – all gates use same topology; only inputs are permuted. This facilitates the design of a library of gates.

To accept and produce true and complementary inputs and outputs.

Page 7: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE1417

Main Problems of NMOSMain Problems of NMOS--only Switchonly Switch

A = 2.5 V

B

C = 2.5V

CL

A = 2.5 V

C = 2.5 V

BM2

M1

Mn

Threshold voltage loss causesstatic power consumption + slower transition

VB does not pull up to 2.5V, but 2.5V -VTN

Page 8: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE1418

NMOS Only Logic: NMOS Only Logic: Level Restoring TransistorLevel Restoring Transistor

M2

M1

Mn

Mr

OutA

B

VDDVDDLevel Restorer

X

• Advantage: Full Swing. Eliminates static power in inverter + static power through level restorer and pass transistor, since restorer is only active when A is high.

• Restorer adds capacitance, takes away pull down current at X – contention between Mn and Mr (slower switching). Hence Mr must be sized small. Mn and Mr must be sized such that the voltage at node X drops below the threshold of the inverter VM, which is a function in the sizes of M1 and M2.

Page 9: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE1419

Solution 2: Single Transistor Pass Gate with Solution 2: Single Transistor Pass Gate with VVTT~0~0

Out

VDD

VDD

2.5V

VDD

0V 2.5V

0V

WATCH OUT FOR LEAKAGE CURRENTS(DC Sneak path)

Use very low threshold values for NMOS pass transistors, and standard high-threshold devices for inverters.

Note: Body effect will still cause an increase in the threshold voltage.

While these leakage paths are not critical when the device is switching constantly, they do pose a large energy overhead when the circuit is in the ideal state.

Page 10: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE14110

Solution 3: Transmission GateSolution 3: Transmission Gate

A B

C

C

A B

C

C

BCL

C= 0 V

A = 2.5 V

C = 2.5 V

NMOS passes a strong “0”PMOS passes a strong “1”

Transmission gates enable rail-to-rail swing

These gates are particularly efficient in implementing MUXs

AM2

M1

B

S

S

S F

VDD

F=(AS+ BS) 6 devices vs. 8 for complementary CMOS

Page 11: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE14111

Another Example: Transmission Gate XORAnother Example: Transmission Gate XOR

A

B

F

B

A

B

BM1

M2

M3/M4

6 devices (including inverter for B) vs. 12 for complementary CMOS

For B=1, M3 & M4 are off, M1 & M2 are on. F = AB

For B=0, M1 & M2 are off. M3 & M4 are on. F = AB

Regardless of the value of A & B, node F is connected to Vdd or GND (static gate)

Page 12: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE14112

Resistance of Transmission GateResistance of Transmission Gate

Vout

0 V

2.5 V

2.5 VRn

Rp

0.0 1.0 2.00

10

20

30

Vout, V

Res

ista

nce,

ohm

s

Rn

Rp

Rn

|| Rp

Rn {(Vdd-Vout)/In} & Rp {(Vdd-Vout)/Ip} are in parallel. The currents through devices are dependent on value of Vout and hence the operating mode of the transistors. During the low-to-high transition, the pass transistors traverse through a number of operation modes.

Since Vd and Vg = Vdd, the NMOS is either in saturation or off. The PMOS changes fromsaturation to linear during the transient.

Page 13: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE14113

q Vout < |Vtp|: NMOS and PMOS saturatedq |Vtp| < Vout < Vdd – Vtn: NMOS saturated, PMOS linearq Vdd-Vtn < Vout: NMOS cutoff, PMOS linear

Req is relatively constant. Thus when analyzing transmission-gate networks, the simplifying assumption that the switch has a constant resistive value is acceptable.

( ) )(1

2)(

)(2

tnddnoutddoutddtnddn

outdd

n

outddn VVkVV

VVVVk

VVI

VVR

−≈

−−−−

−=

−=

Similarly,

)(1

tpddpp

outddp VVkI

VVR

−≈

−=

Vout

0 V

2.5 V

2.5 VRn

Rp

0.0 1.0 2.00

10

20

30

Vout

, V

Res

ista

nce

, oh

ms

Rn

Rp

Rn

|| Rp

Page 14: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE14114

Delay in Transmission Gate NetworksDelay in Transmission Gate NetworksV1 Vi-1

C

2.5 2.5

0 0

Vi Vi+1

CC

2.5

0

Vn-1 Vn

CC

2.5

0

In

V1 Vi Vi+1

C

Vn-1 Vn

CC

InReqReq Req Req

CC

(a)

(b)

∑=

+==

n

keqeqp

nnCRkCRt

0 2)1(

69.069.0

tp is proportional to n2 and increases rapidly with the number of switches in the chain.Solution: Insert buffers.

Page 15: "Pass-Transistor Logic: Transmission Gate XOR"mhanis/ece637/lecture11.pdf · 1 Pass-Transistor Logic. EE141 2 ... Use very low threshold values for NMOS pass transistors, ... NMOS

EE14115

Delay OptimizationDelay OptimizationV1 Vi-1

C

2.5 2.5

0 0

Vi Vi+1

CC

2.5

0

Vn-1 Vn

CC

2.5

0

In

V1 Vi Vi+1

C

Vn-1 Vn

CC

InReqReq Req Req

CC

(a)

(b)

C

Req Req

C C

Req

C C

Req Req

C C

Req

CIn

m

(c)

bufeqp tmnmm

CRmn

t

−+

+

= 12

)1(69.0 Linear dependence on n instead of n2

To find mopt, then yieldingeq

bufopt CR

tm 7.1=0=

∂∂

m

t p