Lecture 4 Combinational Logic Implementation Technologies - PowerPoint PPT Presentation

About This Presentation
Title:

Lecture 4 Combinational Logic Implementation Technologies

Description:

Pre-fabricated building block of many AND/OR ... 4 SSI Packages vs. 1 PLA/PAL Package! B. B. C. C. A. D. D. D. W. X. Y. B. B. B. B. C ... Metal Gate, Oxide, ... – PowerPoint PPT presentation

Number of Views:215
Avg rating:3.0/5.0
Slides: 33
Provided by: PrithBa5
Category:

less

Transcript and Presenter's Notes

Title: Lecture 4 Combinational Logic Implementation Technologies


1
Lecture 4Combinational Logic Implementation
Technologies
  • Prith Banerjee
  • ECE C03
  • Advanced Digital Design
  • Spring 1998

2
Outline
  • Review of Combinational Logic Technologies
  • Programmable Logic Devices (PLA, PAL)
  • MOS Transistor Logic
  • READING Katz 4.1, 4.2, Dewey 5.2, 5.3, 5.4, 5.5
    5.6, 5.7, 6.2

3
Programmable Arrays of Logic Gates
  • Until now, we learned about designing Boolean
    functions using discrete logic gates
  • We will now describe a technique to arrange AND
    and OR gates (or NAND and NOR gates) into a
    general array structure
  • Specific functions can be programmed
  • Can use programmable logic arrays (PLA) or
    programmable array logic (PAL)

4
PALs and PLAs
Pre-fabricated building block of many AND/OR
gates (or NOR, NAND) "Personalized" by making or
breaking connections among the gates
Programmable Array Block Diagram for Sum of
Products Form
5
Why PALs/PLAs Work
Equations
F0 A B' C' F1 A C' A B F2 B' C'
A B F3 B' C A
Key to Success Shared Product Terms
Example
Input Side
1 asserted in term 0 negated in term - does
not participate
Personality Matrix
Output Side
1 term connected to output 0 no connection to
output
6
Example of PALs and PLAs
All possible connections are available before
programming
7
Example of PALs and PLAs (Contd)
Unwanted connections are "blown"
Note some array structures work by making
connections rather than breaking them
8
Alternative Representations
Short-hand notation so we don't have to draw all
the wires!
Notation for implementing F0 A B A' B' F1
C D' C' D
9
Design Example
Multiple functions of A, B, C
ABC
A
F1 A B C F2 A B C F3 A B C F4 A
B C F5 A xor B xor C F6 A xnor B xnor C
B
C
A
B
C
ABC
ABC
ABC
ABC
ABC
ABC
ABC
F1
F2
F3
F4
F5
F6
10
Differences Between PALs and PLAs
PAL concept  implemented by Monolithic Memories
constrained topology of the OR Array
A given column of the OR array has access to only
a subset of the possible product terms
PLA concept  generalized topologies in AND and
OR planes
11
Design Example BCD-to-Gray Code Converter
Truth Table
K-maps
Minimized Functions
W A B D B C X B C' Y B C Z A'B'C'D
B C D A D' B' C D'
12
Programmed PAL
0
0
0
0
0
0
A B C D
4 product terms per each OR gate
13
Code Converter Discrete Gates
\A
A
1
\B
4
\C
B
D
2
3
W
D
B
C
3
B
2
D
C
4
Z
4
A
5
B
1
2
X
2
C
1
C
3
Y
2
B
1
4 SSI Packages vs. 1 PLA/PAL Package!
14
Another Example Magnitude Comparator
ABCD
ABCD
ABCD
ABCD
AC
AC
BD
BD
ABD
BCD
ABC
BCD
EQ
NE
LT
GT
15
Non-Gate Logic
So far we have seen
AND-OR-Invert PAL/PLA
Generalized Building Blocks Beyond Simple Gates
Kinds of "Non-gate logic" switching
circuits built from CMOS transmission gates
multiplexer/selecter functions
decoders tri-state and open collector
gates read-only memories
16
Steering Logic Switches
Voltage Controlled Switches
n-type Si
p-type Si
"n-Channel MOS"
Metal Gate, Oxide, Silicon Sandwich Diffusion
regions negatively charged ions driven into Si
surface Si Bulk positively charged ions By
"pulling" electrons to the surface, a conducting
channel is formed
17
Switching or Steering Logic
Voltage Controlled Switches
Logic 1 on gate, Source and Drain connected
Logic 0 on gate, Source and Drain connected
18
Logic Gates with Steering Logic
Logic Gates from Switches
A
B
A
B
A B
A
A
A B
NOR Gate
NAND Gate
Inverter
Pull-up network constructed from pMOS
transistors Pull-down network constructed from
nMOS transistors
19
Inverter with Steering Logic
Inverter Operation
"1"
"0"
"0"
"1"
Input is 1 Pull-up does not conduct Pull-down
conducts Output connected to GND
Input is 0 Pull-up conducts Pull-down does not
conduct Output connected to VDD
20
NAND Gate with Steering Logic
NAND Gate Operation
"1"
"0"
"1"
"1"
"0"
"1"
A 0, B 1 Pull-up network has path to
VDD Pull-down network path broken Output node
connected to VDD
A 1, B 1 Pull-up network does not
conduct Pull-down network conducts Output node
connected to GND
21
NOR Gate with Steering Logic
NOR Gate Operation
"0"
"1"
"0"
"0"
"1"
"0"
A 0, B 0 Pull-up network conducts Pull-down
network broken Output node at VDD
A 1, B 0 Pull-up network broken Pull-down
network conducts Output node at GND
22
CMOS Transmission Gate
nMOS transistors good at passing 0's but bad at
passing 1's pMOS transistors good at passing
1's but bad at passing 0's perfect
"transmission" gate places these in parallel
Control
Control
Control
In
Out
In
Out
In
Out
Control
Control
Control
Transmission or "Butterfly" Gate
Switches
Transistors
23
Selection/Demultiplexing
Selector Choose I0 if S 0 Choose I1 if S
1
S
S
Z
0
Demultiplexer I to Z0 if S 0 I to Z1 if
S 1
S
S
I
Z
1
S
24
Use of Multiplexers or Demultiplexers
A
Y
Demultiplexers
Multiplexers
B
Z
A
Y
Multiplexers
Demultiplexers
B
Z
So far, we've only seen point-to-point
connections among gates Mux/Demux used to
implement multiple source/multiple destination
interconnect
25
Well-formed Switching Logic
Problem with the Demux implementation
multiple outputs, but only one connected to the
input!
S
Z
0
S
"0"
I
S
S
Z
1
S
"0"
S
The fix additional logic to drive every output
to a known value Never allow outputs to "float"
26
Complex Steering Logic Example
N Input Tally Circuit count of 1's in the
inputs
Straight Through
Diagonal
Conventional Logic for 1 Input Tally Function
Switch Logic Implementation of Tally Function
27
Complex Steering Logic
Operation of the 1 Input Tally Circuit
Input is 0, straight through switches enabled
28
Complex Steering Logic
Operation of 1 input Tally Circuit
Input 1, diagonal switches enabled
29
Complex Steering Logic Example
Extension to the 2-input case
Zero
One
Conventional logic implementation
30
Complex Steering Logic Example
Switch Logic Implementation 2-input Tally Circuit
I
I
2
2
"0"
Two
Two
One
"0"
"0"
One
Zero
"1"
Zero
"0"
"0"
I
1
One
"0"
One
Cascade the 1-input implementation!
Zero
"1"
Zero
"0"
"0"
31
Complex Steering Logic
Operation of 2-input implementation
"0"
"0"
"1"
"0"
"0"
"0"
"0"
"0"
One
One
"0"
"1"
"0"
"0"
Zero
Zero
"1"
"0"
"1"
"1"
"0"
"0"
"0"
"0"
"1"
"1"
"0"
"1"
"0"
"0"
"0"
"1"
One
One
"0"
"1"
"0"
"0"
Zero
Zero
"1"
"0"
"1"
"0"
"0"
"0"
"0"
"0"
32
Summary
  • Review of Combinational Logic Implementation
    Technologies
  • Programmable Logic Devices (PLA, PAL)
  • MOS Transistor Logic
  • NEXT LECTURE Combinational Logic Implementation
    with Multiplexers, Decoders, ROMS and FPGAs
  • READING Katz 4.2.2, 4.2.3, 4.2.4, 4.2.5, 10.3,
    Dewey 5.7
Write a Comment
User Comments (0)
About PowerShow.com