Download CSE 477. VLSI Systems Design

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Thermal runaway wikipedia , lookup

Power inverter wikipedia , lookup

Tube sound wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Control system wikipedia , lookup

TRIAC wikipedia , lookup

Curry–Howard correspondence wikipedia , lookup

Semiconductor device wikipedia , lookup

Power MOSFET wikipedia , lookup

Digital electronics wikipedia , lookup

Transistor wikipedia , lookup

CMOS wikipedia , lookup

History of the transistor wikipedia , lookup

Transcript
CSE477
VLSI Digital Circuits
Fall 2003
Lecture 07: Pass Transistor Logic
Mary Jane Irwin ( www.cse.psu.edu/~mji )
www.cse.psu.edu/~cg477
[Adapted from Rabaey’s Digital Integrated Circuits, Second Edition, ©2003
J. Rabaey, A. Chandrakasan, B. Nikolic]
CSE477 L07 Pass Transistor Logic.1
Irwin&Vijay, PSU, 2003
Review: Static Complementary CMOS

High noise margins

VDD
In1
In2
In1
In2
InN

Low output impedance, high
input impedance

No static power consumption
PUN
InN
F(In1,In2,…InN)
PDN
PUN and PDN are dual logic networks
CSE477 L07 Pass Transistor Logic.2
VOH and VOL are at VDD and
GND, respectively

Never a direct path between
VDD and GND in steady state

Delay a function of load
capacitance and transistor on
resistance

Comparable rise and fall
times (under the appropriate
relative transistor sizing
conditions)
Irwin&Vijay, PSU, 2003
Review: Static CMOS Full Adder Circuit
!Cout = !Cin (!A v !B) v !A !B
!Sum = Cout (!A v !B v !Cin) v !A !B !Cin
B
A
B
B
A
Cin
A
B
Cin
Cin
!Cout
!Sum
A
A
B
B
A
Cin
A
B
Cin
A
B
Cout = Cin (A v B) v A B
CSE477 L07 Pass Transistor Logic.3
Sum = !Cout (A v B v Cin) v A B Cin
Irwin&Vijay, PSU, 2003
NMOS Transistors in Series/Parallel

Primary inputs drive both gate and source/drain
terminals

NMOS switch closes when the gate input is high
A
B
X
Y
X = Y if A and B
A
X

B
X = Y if A or B
Y
Remember - NMOS transistors pass a strong 0 but a
weak 1
CSE477 L07 Pass Transistor Logic.4
Irwin&Vijay, PSU, 2003
PMOS Transistors in Series/Parallel

Primary inputs drive both gate and source/drain
terminals

PMOS switch closes when the gate input is low
A
B
X
Y
X = Y if A and B = A + B
A
X

B
X = Y if A or B = A  B
Y
Remember - PMOS transistors pass a strong 1 but a
weak 0
CSE477 L07 Pass Transistor Logic.5
Irwin&Vijay, PSU, 2003
Pass Transistor (PT) Logic
B
B
A
0
B
F =AB
A
B
F =AB
0
Gate is static – a low-impedance path exists to both
supply rails under all circumstances
 N transistors instead of 2N
 No static power consumption

Ratioless
 Bidirectional (versus undirectional)

CSE477 L07 Pass Transistor Logic.7
Irwin&Vijay, PSU, 2003
VTC of PT AND Gate
B
1.5/0.25
2
A
Vout, V
0.5/0.25
B=VDD, A=0VDD
1
0.5/0.25
B
0
0.5/0.25

A=VDD, B=0VDD
A=B=0VDD
F= AB
0
0
1
2
Pure PT logic is not regenerative - the signal
gradually degrades after passing through a number
of PTs (can fix with static CMOS inverter insertion)
CSE477 L07 Pass Transistor Logic.8
Irwin&Vijay, PSU, 2003
Differential PT Logic (CPL)
B
A
A
B
B
PT Network
A
A
B
B
Inverse PT
Network
B
B
F
F=AB
B
B
F=AB
B
AND/NAND
CSE477 L07 Pass Transistor Logic.9
B
A
F=A+B
B
A
A
F
B
A
A
F
F
A
F=AB
A
F=A+B
B
F=AB
A
OR/NOR
XOR/XNOR
Irwin&Vijay, PSU, 2003
CPL Properties

Differential so complementary data inputs and outputs
are always available (so don’t need extra inverters)

Still static, since the output defining nodes are always
tied to VDD or GND through a low resistance path

Design is modular; all gates use the same topology, only
the inputs are permuted.

Simple XOR makes it attractive for structures like adders

Fast (assuming number of transistors in series is small)

Additional routing overhead for complementary signals

Still have static power dissipation problems
CSE477 L07 Pass Transistor Logic.10
Irwin&Vijay, PSU, 2003
CPL Full Adder
B
Cin
B
Cin
A
!Sum
A
Sum
B
B
Cin
A
B
!Cout
Cin
A
B
CSE477 L07 Pass Transistor Logic.12
Cin
Cout
Cin
Irwin&Vijay, PSU, 2003
NMOS Only PT Driving an Inverter
In = VDD
A = VDD
VGS
D
Vx =
VDD-VTn
M2
S
B
M1

Vx does not pull up to VDD, but VDD – VTn

Threshold voltage drop causes static power
consumption (M2 may be weakly conducting forming a
path from VDD to GND)

Notice VTn increases for pass transistor due to body
effect (VSB)
CSE477 L07 Pass Transistor Logic.13
Irwin&Vijay, PSU, 2003
Voltage Swing of PT Driving an Inverter
3
In
In = 0  VDD
1.5/0.25
x
Out
0.5/0.25
B
0.5/0.25
Voltage, V
S
VDD
D
2
x = 1.8V
1
Out
0
0
0.5
1
1.5
2
Time, ns

Body effect – large VSB at x - when pulling high (B is
tied to GND and S charged up close to VDD)

So the voltage drop is even worse
Vx = VDD - (VTn0 + ((|2f| + Vx) - |2f|))
CSE477 L07 Pass Transistor Logic.14
Irwin&Vijay, PSU, 2003
Cascaded NMOS Only PTs
B = VDD
B = VDD C = VDD
G
A = VDD
M1
S
C = VDD
x = VDD - VTn1

M1
x
M2
y
Out
G
y
M2
Out
S
Swing on y = VDD - VTn1 - VTn2

A = VDD
Swing on y = VDD - VTn1
Pass transistor gates should never be cascaded as on
the left
Logic on the right suffers from static power dissipation
and reduced noise margins
CSE477 L07 Pass Transistor Logic.15
Irwin&Vijay, PSU, 2003
Solution 1: Level Restorer
Level Restorer
on
Mr
off
B
A=1
A=0
Mn
x= 0
1
M2
Out=0
Out =1
M1

Full swing on x (due to Level Restorer) so no static
power consumption by inverter

No static backward current path through Level Restorer
and PT since Restorer is only active when A is high

For correct operation Mr must be sized correctly (ratioed)
CSE477 L07 Pass Transistor Logic.16
Irwin&Vijay, PSU, 2003
Transient Level Restorer Circuit Response
3
W/L2=1.50/0.25
W/Ln=0.50/0.25
W/L1=0.50/0.25
Voltage, V
2
W/Lr=1.75/0.25
node x never goes below VM
of inverter so output never
switches
W/Lr=1.50/0.25
1
W/Lr=1.25/0.25
W/Lr=1.0/0.25
0
0

100
200
Time, ps
300
400
500
Restorer has speed and power impacts: increases the
capacitance at x, slowing down the gate; increases tr (but
decreases tf)
CSE477 L07 Pass Transistor Logic.17
Irwin&Vijay, PSU, 2003
Solution 2: Multiple VT Transistors

Technology solution: Use (near) zero VT devices for the
NMOS PTs to eliminate most of the threshold drop (body
effect still in force preventing full swing to VDD)
low VT transistors
In2 = 0V
A = 2.5V
on
Out
off but
leaking
In1 = 2.5V
B = 0V
sneak path

Impacts static power consumption due to subthreshold
currents flowing through the PTs (even if VGS is below VT)
CSE477 L07 Pass Transistor Logic.18
Irwin&Vijay, PSU, 2003
Solution 3: Transmission Gates (TGs)

Most widely used
solution
C
C
A
A
B
B
C
C
C = GND
A = VDD
B
C = VDD

C = GND
A = GND
B
C = VDD
Full swing bidirectional switch controlled by the gate
signal C, A = B if C = 1
CSE477 L07 Pass Transistor Logic.20
Irwin&Vijay, PSU, 2003
TG Multiplexer
S
S
S
S
F
S
VDD
In2
S
F
In1
S
F = !(In1  S + In2  S)
GND
In1
CSE477 L07 Pass Transistor Logic.21
In2
Irwin&Vijay, PSU, 2003
Transmission Gate XOR
weak 0 if !A
off
on
A
off
on
0
B
1
CSE477 L07 Pass Transistor Logic.23
A  !B
AB
B  !A
weak 1 if A
an inverter
Irwin&Vijay, PSU, 2003
TG Full Adder
Cin
B
A
Sum
Cout
CSE477 L07 Pass Transistor Logic.24
Irwin&Vijay, PSU, 2003
Differential TG Logic (DPL)
B
A
B
B
A
A
B
A
A
A
F=AB
GND
B
F=AB
A
B
B
GND
A
VDD
A
F=AB
B
VDD
A
B
B
AND/NAND
CSE477 L07 Pass Transistor Logic.25
F=AB
XOR/XNOR
Irwin&Vijay, PSU, 2003
Next Time: The MOS Transistor

MOS transistor dynamic behavior (R
and C)

Wire capacitance
CSE477 L07 Pass Transistor Logic.26
Irwin&Vijay, PSU, 2003
Next Lecture and Reminders

Next lecture

MOS transistor dynamic behavior
- Reading assignment – Rabaey, et al, 3.2.3 & 3.3.3-3.3.5

Wiring capacitance
- Reading assignment – Rabaey, et al, 4.1-4.3.1

Reminders



HW#2 due September 30th (Tuesday)
Project specs due (on-line) October 9th
Evening midterm exam scheduled
- Monday, October 20th , 20:15 to 22:15, Location TBD
- Only one midterm conflict scheduled
CSE477 L07 Pass Transistor Logic.27
Irwin&Vijay, PSU, 2003