Slide Set 3 Pass Transistor Logic / Transmission Gates
Slide Set 3 Pass Transistor Logic / Transmission Gates
Steve Wilton
Dept. of ECE
University of British Columbia
stevew@ece.ubc.ca
Overview
Reading
Wolf 3.4, 4.7
Introduction
In the last lecture, we talked about how simple CMOS gates can be
built. In this lecture, we will talk about another way to implement logic
functions using transistors: pass-transistor logic (NMOS only) and
transmission-gate logic (NMOS and CMOS transistors). For some
types of functions, this can lead to much more efficient implementations
than using gates.
Switch Networks
Board Notes:
- Series Connections, Parallel Connections
- Multiplexer circuit
Multiplexer
Z
Output
Constants
Slide Set 3, Slide 4
Muxes
For some functions you can do better than just using constants
and a multiplexer. You can implement an XOR gate in only two
transistors (if you assume that both the inputs and their
complements are available)
B
A
Parity
A more complex switch logic function:
A XOR B XOR C XOR D
XOR
XOR
XOR
XNOR
XNOR
XNOR
Even Out
Odd
Odd Out
A_b
A_b
Even
Odd
B_b
C_b
Binary Shifter
Right nop Left
Ai
Bi
Ai-1
Bi-1
Bit-Slice i
...
Source: Jan Rabaey, 1995
Barrel Shifter
A3
B3
Sh1
A2
B2
Sh2
: Data Wire
A1
B1
: Control Wire
Sh3
A0
B0
Sh0
Sh1
Sh2
Sh3
A2
A1
A0
Sh0
Sh 1
S h2
Sh3
Buffer
Source: Jan Rabaey, 1995
Slide Set 3, Slide 10
Vdd
This is < Vth. Problem!
Drive signal
Vdd
Vdd?
Vdd
This is < Vth. Problem!
Drive signal
Vdd
Vdd?
Vdd-Vth
Vdd
Vdd
Vdd
Vdd
Vdd
Vdd
CMOS Transistors
NMOS
connected when gate is high
high output is degraded
PMOS
connected when gate is low
-strong
Vdd
- strong
Vth
- weak
CMOS Switches
By using both NMOS and PMOS neither output is degraded
But you need the true and complement of the control signal
A
Full Swing Output
CMOS Switches
Example: 2-1 Mux:
SelA
SelA
Out
ndiff
pdiff
B
poly
metal1
metal2
Gnd
Often M2 or poly (see note)
Note: usually, all metals lines in one direction are on one layer
and all metal lines in other direction are on another layer.
Here we cheated a bit.
Slide Set 3, Slide 19