Digital Technics: Óbuda University, Microelectronics and Technology Institute
Digital Technics: Óbuda University, Microelectronics and Technology Institute
DIGITAL TECHNICS
Dr. Blint Pdr
buda University,
Microelectronics and Technology Institute
3. LECTURE: IMPLEMENTATION OF
COMBINATIONAL LOGIC
3. LECTURE
2014.09.23.
2014.09.23.
IMPLEMENTING COMBINATIONAL
LOGIC
1. The implementation should have the minimum number
of gates, with the gates used having the minimum
number of inputs.
2. There should be a minimum number of interconnections,
and the propagation time should be the shortest.
3. Limitation on the driving capability of the gates should
not be ignored.
It is difficult to generalize as to what constitutes an
acceptable simplified Boolean expression. The importance of
each of the above-mentioned aspects is governed by the
nature of application.
2014.09.23.
Problem statement
Truth Table
Sum of minterms
form
Product of maxterms
form
Minterm table
Maxterm table
Minimized
SoP form
Minimized
PoS form
Elimination of hazards
Impementation:
NAND gates
Elimination of hazards
Implementation:
NOT-AND-OR
Implementation:
NOR gates
IMPLEMENTATION OPTIONS
Ready-made catalog-order (modular) devices (gates,
functional blocks, etc.)
Custom-design devices
Gate-array devices
Programmable logic devices (PLD), e.g. programmable logic
array (PLA), programmable array logic (PAL), etc.
Table look-up (ROM)
Microcomputer
2014.09.23.
CUSTOM-DESIGNED DEVICES
A second common realization of logic gates is customdesigned devices. Two factors which make this practical
are computer-aided-design (CAD) tools and libraries of
sub-networks that can be used as building blocks.
Custom design of a logic network implies the generation
of highly complicated artwork patterns, called masks, for
use in photolithography to produce the integrated circuit
(IC) networks. The availability of a library of sub-networks
for which the artwork has already been generated
reduces the additional artwork required to interconnection
patterns among these library elements to set up the
desires logic network.
2014.09.23.
GATE-ARRAY DEVICES
A third-option is to use gate-array devices. The vendor manufactures and
offers devices comprising a two-dimensional array of logic cells. Each cell
is equivalent to one or more logic gates. The final layers of metallization
that determine the actual function of each cell and interconnect the cells to
form a specific network are deferred until the customer orders such a
device. This procedure uses the advantage of mass production for the
majority of processing steps necessary to manufacture a device, including
most of the artwork. Since the interconnecting metallization layers are a
relatively small and simple part of the total device fabrication, the
customization cost and time can be reduced significantly by this method
relatively to a totally custom fabrication.
The sacrifice in this approach is that the packing density of the twodimensional array will tend to be less than a custom-designed layout,
since routing channels must allow for reasonably general interconnection
patterns.
2014.09.23.
2014.09.23.
2014.09.23.
Binary inputs
B0 B12
A0
A12
D0
...
D7
A0
A12
D0
...
D7
BCD outputs
1s and 10s
00
00
00
00
01
01
01
10
10
10
10
11
11
11
11
00
01
10
11
01
10
11
00
01
10
11
00
01
10
11
Z
0000
0000
0000
0000
0001
0010
0011
0000
0010
0100
0110
0000
0011
0110
1001
X
Y
ROM
16x 4bit
2014.09.23.
4x4 bit partial products are generated by four 256x8 bit ROMs
10
2014.09.23.
MICROCOMPURTER,
MICROCONTROLLER
Finally the last form of logic network embodiment considered here is
the generic microcomputer. In short a microcomputer is a single (onechip) device that includes a ROM to hold a program, a processor
capable of reading and executing that program, and a small R/W
memory for scratch working space. Just as a memory device discussed
before provides an efficient realization of a combinational network, an
equivalent of a highly complex sequential network can be had with a
microcomputer, as evidence e.g. by electronic games.
Two important advantage of this approach that little or no custom
fabrication is required, and the programmability permits utilization of
complicated and modifiable equivalent networks.
As with table look-up, the principal disadvantage of this approach is
that the speed of operation may be slower than if an actual network of
high-seed logic circuits were used.
b
a,b
Fb = 4(3,5,7)
b
B
Elementary implementation:
four 3-input AND gates and
two 2-input OR gates
A
Cost function (pin count):
4x3 + 2x2 = 16
D
22
11
2014.09.23.
MINIMIZATION AN IMPLEMENTATION OF
MULTIPLE OUTPUT NETWORKS
C
Fa = 4(5,12,13)
b
a,b
Fb = 4(3,5,7)
b
B
23
MINIMIZATION AN IMPLEMENTATION OF
MULTIPLE OUTPUT NETWORKS
A
_
C
B
&
_
_
A B C D
_
A C
&
&
Fa
Fb
Pin count: 14
24
12
2014.09.23.
13
2014.09.23.
RESULT OF MINIMIZATION
27
c6
c2
c3
c0 c1 c2 c3 c4 c5 c6
BCD to 7segment
control signal
decoder
A B C D
28
14
2014.09.23.
Truth table
Show don't cares
Choose implementation
target
If ROM, we are done
Don't cares imply PAL/PLA
may be attractive
Follow implementation
procedure
Minimization using K-maps
B
0
0
0
0
1
1
1
1
0
0
0
1
C
0
0
1
1
0
0
1
1
0
0
1
D
0
1
0
1
0
1
0
1
0
1
C0
1
0
1
1
0
1
1
1
1
1
C1
1
1
1
1
1
0
0
1
1
1
C2
1
1
0
1
1
1
1
1
1
1
C3
1
0
1
1
0
1
1
0
1
0
C4
1
0
1
0
0
0
1
0
1
0
C5
1
0
0
0
1
1
1
0
1
1
C6
0
0
1
1
1
1
1
0
1
1
29
IMPLEMENTATION AS MINIMIZED
SUM-OF-PRODUCTS (SOP)
15 unique product terms when minimized individually
A
C 1
1
C 0
1
C 1
1
C 1
0
C 1
1
1
B
C 0
0
C 1
1
C0
C1
C2
C3
C4
C5
C6
= A + B D + C + B' D'
= C' D' + C D + B'
= B + C' + D
= B' D' + C D' + B C' D + B' C
= B' D' + C D'
= A + C' D' + B D' + B C'
= A + C D' + B C' + B' C
30
15
2014.09.23.
C2
C 1
0
C2
D
C0
C1
C2
C3
C4
C5
C6
=
=
=
=
=
=
=
C 1
0
A + B D + C + B' D'
C' D' + C D + B'
B + C' + D
B' D' + C D' + B C' D + B' C
B' D' + C D'
A + C' D' + B D' + B C'
A + C D' + B C' + B' C
C0
C1
C2
C3
C4
C5
C6
=
=
=
=
=
=
=
PLA IMPLEMENTATION
A B C D
BC'
B'C
B'D
BC'D
C'D'
CD
B'D'
A
BCD'
C0 C1 C2 C3 C4 C5 C6 C7
32
16
2014.09.23.
54/74LS47
44 gates
OUTPUT: C0
C
1
1
1
B
1
A
1
1
D
34
17
2014.09.23.
0001(1)
0101(6)
0011(2)
0100(7)
0010(3)
1100(8)
0110(4)
1000(9)
E3 = 4(8,9)X(10-15)
E2 = 4(4-8)X(10-15)
E1 = 4(2-5)X(10-15)
E0 = 4(1,2,5,6)X(10-15)
35
Design a (normal)
BCD/Glixon kd converter.
The illegal code word
cannot be present at the
inputs.
B
8
A
9
D
36
18
2014.09.23.
_
E2 = B + A D
_ _
E1 = B C + B C
&
1
&
_ __
E0 = C D + A C D
&
1
Pin count 18
Gate count 8
&
37
AND-OR-EXCLUSIVE-OR LOGIC
IMPLEMENTATION
Using XOR gates in implementing (partially) symmetric
logic functions make possible to obtain more economical
solutions than using standard optimized two-level ANDOR or OR-AND circuits.
Here this approach can be applied to E1 and E0.
Full or partial symmetry is evident on the Karnaugh map
by noting the chessboard patterns.
38
19
2014.09.23.
AND-OR-XOR LOGIC: E1
C
1
_
_
E1 = B C + B C
(three gates)
1
1
B
E1 = B C
One gate instead of
three!
39
AND-OR-XOR LOGIC: E0
C
_ __
E0 = C D + A C D
1
B
(three gates)
_
E0 = A (C D)
Two gates instead of
three!
40
20
2014.09.23.
_
E2 = B + A D
E1 = B C
=1
_
E0 = A (C D)
=1
&
Pin count 11
Gate count 5
41
b3 b2 b1 b0
g3 g2 g1 g0
42
21
2014.09.23.
__
__
g0 = b1 b0 + b1 b0
G3 G2 G1 G0
43
g3 = b3
__
__
g2 = b3 b2 + b3 b2
(1)
(0)
__
__
g1= b2 b1 + b2 b1
__
__
g0 = b1 b0 + b1 b0
G3 G2 G1 G0
44
22