Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Lecture 4:
Multiplexers, Transmission Gates &
Dynamic Logic
Aims
The aim of this lecture is to investigate larger scale implementation
of digital logic, we will be looking at:
COMP20212: Lecture 4 1
Syllabus
Introduction [1] - PWN
CMOS circuit design [3] – EWH/PWN
Layout [2] – EWH
CMOS fabrication [2] – EWH
Scaling [2] – EWH
Power, speed and space compromises [2] – EWH
Circuit simulation [1] – EWH
Sequential system design using ASM charts [4] – PWN
Implementation choices & digital design with
programmable logic devices [2] – PWN
System design for arithmetic operations [3] – PWN
COMP20212: Lecture 4 2
1
COMP20212 Digital Design Techniques School of Computer Science
COMP20212: Lecture 4 3
• DeMorgans theorem
• Karnaugh Maps
• etc etc
COMP20212: Lecture 4 4
2
COMP20212 Digital Design Techniques School of Computer Science
COMP20212: Lecture 4 5
2:1 MUX
Symbol: Circuit:
Functional form: f = s0 d0 + s0 d1
COMP20212: Lecture 4 6
3
COMP20212 Digital Design Techniques School of Computer Science
4:1 MUX
Symbol: Circuit:
COMP20212: Lecture 4 7
2n:1 MUX
2 n !1
f = "m d k k
k=0
What can we use the MUX for? (apart from a data selector/switch)
COMP20212: Lecture 4 8
4
COMP20212 Digital Design Techniques School of Computer Science
s switch
0 transistors off, high impedance ‘off’
1 transistors on, low impedance ‘on’
COMP20212: Lecture 4 9
2:1 MUX
Inverter
COMP20212: Lecture 4 10
5
COMP20212 Digital Design Techniques School of Computer Science
0 0 0
The Transmission 0 0 1
Gate MUX
0 1 0
8:1 MUX 1 1
0
1 0 0
1 0 1
1 1 0
1 1 1
Can you see any problems
implementing larger MUXs?
COMP20212: Lecture 4 11
COMP20212: Lecture 4 12
6
COMP20212 Digital Design Techniques School of Computer Science
A B f
0 0 0
0 1 1
1 0 0
1 1 1 Multiplexer
Logic
COMP20212: Lecture 4 13
Example
f ( A,B,C ) = AC+A
Process
• expand so each minterm includes select inputs
• choose variables to control select lines, and variable to be
connected to the data lines
COMP20212: Lecture 4 14
7
COMP20212 Digital Design Techniques School of Computer Science
d0 d1
x1x2
00 01 11 10
- - - -
Can implement a function of
2 variables – f(x2,x1) d0 d1
COMP20212: Lecture 4 15
4:1 MUX if x1 and x2 are the select and x3 forms the inputs
x1x2
x3 00 01 11 10
0 - - - -
1 - - - -
d0 d1 d3 d2
x1x2
00 01 11 10
f(x3) f(x3) f(x3) f(x3)
Can implement a function of
three variables – f(x3,x2,x1)
COMP20212: Lecture 4 16
8
COMP20212 Digital Design Techniques School of Computer Science
d0 d1 d3 d2
COMP20212: Lecture 4 17
N1(A1B1) E
2-bit
comp L
N2(A2B2)
H
COMP20212: Lecture 4 18
9
COMP20212 Digital Design Techniques School of Computer Science
COMP20212: Lecture 4 19
COMP20212: Lecture 4 20
10
COMP20212 Digital Design Techniques School of Computer Science
COMP20212: Lecture 4 21
Multiplexer Trees
You can implement larger MUX (ULM) circuits by cascading smaller MUXs.
i.e. consider the 8:1 MUX
2:1 2:1
2:1
4:1
2:1 2:1
2:1 2:1
4:1
2:1
2:1 2:1
COMP20212: Lecture 4 22
11
COMP20212 Digital Design Techniques School of Computer Science
Dynamic Logic
COMP20212: Lecture 4 23
Dynamic Logic
1
CLK 0
precharge evaluate
COMP20212: Lecture 4 24
12
COMP20212 Digital Design Techniques School of Computer Science
NOR gate:
Precharge:
• Z = VDD, i.e. ‘1’
Evaluate:
• If X=Y=0, a and b will be off and Z
remains at ‘1’
• If X=0,Y=1, then a will be on and Z
will be pulled down to VSS, i.e. ‘0’
• If X=1, Y=0, then b will be on and Z
will be pulled down to VSS, i.e. ‘0’
• If X=Y=1, then both a and b will be
on and Z will be pulled down to VSS,
i.e. ‘0’
COMP20212: Lecture 4 25
Dynamic Logic
Advantages
Disadvantages
COMP20212: Lecture 4 26
13
COMP20212 Digital Design Techniques School of Computer Science
Summary
We have discussed
COMP20212: Lecture 4 27
References
COMP20212: Lecture 4 28
14