You are on page 1of 6

IEEE 1KANSACTIONS ON EDUCATION, VOL. 35, NO.

3, AUGUST 1992 247

Top-Down Design Process for Gate-Level


Combinational Logic Design
Richard S. Sandige, Senior Member, IEEE

Abstract-This paper describes a pedagogical process for de-


signing gate-level combinational logic circuits. The process can be Use logic descriptions to
used for either combinational logic circuits or the combinational Step 1 obtain Boolean functions or
logic sections of sequential logic circuits. Positive logic signals their complements in SOP
(active high signals) as well as negative logic signals (active low (Top level)
form. and write the functions in
signals) can be used in the design process. The top-down design
process allows the student to draw functional logic diagrams in design form (availible form).
a rather routine manner using the positive logic convention, or
the direct polarity convention. After obtaining functional logic 1
diagrams, realizable logic diagrams can be easily obtained using
any of the common off-the-shelf gate types including AND, OR, Obtain the signal lists
NAND, and NOR elements with appropriate inverter symbols. (choose the logic convention
Step 2
The advantage of the top-down design process is that students can for each availible signal to
very easily understand and implement gate-level combinational (Next level down 1
match its signal source or
logic functions. Examples are provided to illustrate the top-down signal destination).
design process in teaching combinational logic design.

I. INTRODUCTION

T HIS paper describes a rather unique design technique


for the design of combinational logic circuits. The top-
down design process for gate-level combinational logic design
Step 3
documentation ior the circuits
(document the layout steps

is a refinement of the “voltage symbolism” design technique

r - l
described by Rhyne [ 11. The voltage symbolism technique was
applauded and used extensively in industry since it provided
Obtain the functional logic
direct conversion from AND-OR-NOT expressions (either
Step -i diagrams.
sum-of-products form or product-of-sums form) to circuitry
that used NAND or NOR gates without losing the AND/OR
or OR/AND structure of the expressions. The top-down design
Obtain the realizable
process [2] is an improvement over the voltage symbolism Step 5
design technique. The steps involved in the top-down design
process are illustrated in the flowchart in Fig. 1. 1
The student can apply each design step in a relatively simple
manner, Obtaining logic diagrams to express the functionality
of a set of combination logic equations is the first step
towards understanding how to implement the equations. Once
Steo 0
aottom or im Iewi I
Obtain the aetailed
logic diagrams. I
Fig. 1. Flowchart for the top-down design process for gate-level combina-
the functional logic diagrams are obtained, these diagrams tional logic design.
can easily be converted into realizable logic diagrams using
preferred or readily available off-the-shelf gate-level logic
elements. form). The top-down design process works equally well for
functions expressed in canonical SOP or POS form or in
reduced SOP or POS form. Obtaining a circuit implementation
THE TOP-DOWN
11. TEACHING DESIGNPROCESS
with a minimum number of logic elements requires using
Beginning with Step 1 in the top-down design process, minimum functions, i.e., functions with a minimum number of
the student should first obtain the logic descriptions of the
literals. The designation of an input or an output signal in most
Boolean functions or their complements in either sum-of-
cases is expressed as a single variable such as X or as a more
products form (SOP form) or product-of-sums form (POS
meaningful signal name such as START. An input or output
Manuscript received October 1990; revised October 1991. signal can also be expressed as a complemented variable such
The author is with the Department of Electrical Engineering, University of
Wyoming, Laramie, WY 82071. as or STOP using an overbar €or the complement, or for
IEEE Log Number 9201007. in-line notation ANSI/IEEE Std 991-1986 [3] suggests the
0018-9359/92/0800-$03.00 0 1992 IEEE
248 IEEE TRANSACTIONS ON EDUCATION, VOL 35, NO. 3, AUGUST 1992

t I

ctrnit 9
Logic layout part (LLP)
Use the available form of
Step 3a the Boolean function to
write the Boolean function

m
clrcoit 4
using only the available
signals (remove the overbars).

?;I ?g
--
PL
PL
circuit 2

8
c
T 1
Avdable
conventlons signais
B,r

‘:.
I PL F1
1
Negation indication part (NIP)
Use the available form of the
Boolean function. For positive
Step 3b logic sign&, list 1 for each
Fig. 2. Representation of the signal logic conventions and available signals unbarred literal and 0 for each
for (1). barred literal. For negative
logic signals, list 0 for each
unbarred literal and 1 for
-
symbol 1 or can be used preceding the signal name and each barred literal.
results in the following examples for complemented variables:
-A, - A , T S T O P , “ S T O P . In this paper, when a signal is
accessible at an input or an output it will be referred to as Fig. 3. Design documentation procedure for diagrams using the positive
logic convention.
an available signal. An accessible or available signal can be
written as an uncomplemented variable or as a complemented
variable. For signal names that are complemented, we will Step 1 in design form (available form-in a form that uses
use the notation “VARIABLE. When a function is written the accessible signals required for the design).
using the accessible signals for the problem, we refer to the The next step, step 3, in the top-down design process is to
function as being written in design form (available form). obtain the design documentation for the circuit. The design
As an example, assume a student wants to implement the documentation procedure illustrated in Steps 3(a) and 3(b)
following reduced Boolean function for Circuit 3 shown in in Fig. 3 are used to accurately document the steps required
Fig. 2. to draw functional logic diagrams using the positive logic
convention. A summary of Steps 1 through 3 in the top-down
Fl= A.B.C+X.C. (1) design process is presented below for (1).

Step 1: FI =A.B.C+A.C
Fig. 2 illustrates that Circuit 3 is dependent on the available
signals coming from Circuit 1 and Circuit 2; that is, positive Step 2: Signal list: F1, A , B . C
logic (PL) signals A , B, and C. In addition, Circuit 3 is Step 3(a) : Logic Layout Part (LLP) :
required to supply the available signal required by Circuit 4; F1= A . B . C +A.C
that is, positive logic (PL) signal F1. Since the variables in
Step 3(b) : Negation Indication Part (NIP):
(1) are presently written in terms of the accessible or available
signals needed at the inputs and output of Circuit 3, we refer 1 1 1 0 0 1
to (1) as being written in design form (available form). This Obtaining the logic layout part (LLP), step 3(a), of the
completed Step 1 in the top-down design process. design documentation just requires removing the overbars
Step 2 (the next level down) in the top-down design process above the available signals in (1) as illustrated above. Since
is used to document the available signals, i.e., the accessible there are only positive logic signals in the signal list for
signals, in an organized list as (l), a 1 is listed under each available signal in Step 3(a)
List of available signals: Fl, A , B, C for each unbarred literal in (l), and a 0 is listed under each
available signal in Step 3(a) for each barred literal in (1).
or Signal list: F1, A , B,C.
This completes the negation indication part (NIP), step 3( b) of
The available signals in the signal list are implied to the design documentation as shown above. Notice in Fig. 3,
be positive logic signals unless otherwise stated. The vast step 3(b), that the design process for negative logic signals
majority of designs in industry involve positive logic signals is the complement of the design process for positive logic
as opposed to negative logic signals; however, the top-down signals. This should be quite evident since a positive logic
design process can be used when the signal list contains signal A can be obtained from a negative logic signal A by
all positive logic signals, all negative logic signals, or a simply adding an inverter (complementing the negative logic
mixture of positive and negative logic signals that are either signal) as illustrated in Fig. 4.
complemented or uncomplemented. To accommodate such a The functional logic diagram using the positive logic con-
variety of available signals requires writing the functions for vention for (l), step 4, can now be easily drawn and labeled
SANDIGE: TOP-DOWN DESIGN PROCESS 249

Negauve
logic
,
I
I
Postive
lopc
Device
names AND elenieni symbols OR elemenl symbols

convention I
I
I
convention

OUT= A
Positive lopic
4XD gales
a-=-
.4
I
I
-
A OUT
I
I
-
,
A = l = L
.4=O=H
1

I
I
A
-= O = L
A = l = H
A = I =H
A=O=L *==cr
Dc4lorg;in eauivaienr sjmaoir Dsrs book bvmbols

Fig. 4. Converting a negative logic signal .to a positive logic signal .-I
I

LLp:+NLp:
D m coo& s! inoois Dehlorgm equivnlenr symoois
A
B m
F1

Positive logic
convention (ac) Fig. 6. Equivalent AND and OR element symbols for normally available
devices.
Fig. 5. Functional logic diagram for (1) using the positive logic convention.

from the logic layout part (LLP) of the design documentation,


step 3(a), using simple AND and OR elements in the specified
SOP form as illustrated in Fig. 5. To complete the functional
logic diagram, a negation symbol “0” is added at each input
and output where a 0 appears in the negation indication part (c) (d)
(NIP) of the design documentation, step 3(b), as shown in Fig. 7 . Equivalent signal lines. (a), (b) for inputs; (c), (d) for outputs.
Fig. 5.
Step 5 in the top-down design process for gate-level com-
logic circuits. The top-down design process provides greater
binational logic design is to obtain realizable logic circuit
flexibility by allowing the student to obtain functional logic
diagrams. By realizable logic diagrams we mean obtaining
diagrams before choosing off-the-shelf devices. In addition,
diagrams that use off-the-shelf IC devices. This step is easily the top-down design process allows the student to obtain logic
accomplished by using equivalent AND and OR element diagrams using either the positive logic convention or the
symbols for available devices and equivalent signal lines. direct polarity convention, as will be illustrated in the design
Fig. 6 illustrates equivalent AND and OR element symbols example in the next section. The direct polarity convention
for normally available devices. The data book symbols are the is also referred to as direct polarity indication and sometimes
symbols used in manufacturer’s data books, while DeMorgan mistakenly referred to as the mixed logic convention.
equivalent symbols are the equivalent symbol representa- The last step, step 6, in the top-down design process is sim-
tions. The Inverter and its equivalent are illustrated in Fig. 7, ply to obtain detailed logic diagrams from realizable logic dia-
which shows equivalent signal lines for inputs and outputs. grams. A detailed logic diagram is a logic diagram that depicts
A functional logic diagram can be easily changed by the the circuit as it is actually implemented; it may also include
student to a realizable logic diagram by making equivalent information for manufacturing and maintenance. The final
signal line substitutions and using equivalent AND and OR detailed logic diagram is usually obtained using a schematic
element symbols for the desired gate types, as illustrated in capture program to speed up the design process. Detailed logic
Fig. 8(a)-(d) for the four types of realizable circuits resulting diagrams usually include such items as: a) reference desig-
from an SOP form of the function for (1). In a similar manner, nators to identify each package; b) each part value or type:
the student can easily obtain the four types of realizable c) pin numbers for input and output signals; and d) the pin
circuits resulting from a POS form of the function; namely the numbers for power and ground, in addition to other pertinent
OR/AND, NORINOR, ANDINOR, and NAND/AND forms items for manufacturing and maintenance. The student needs
of circuits. The voltage symbolism technique required that to obtain a detailed logic diagram prior to wiring up a circuit
the student first choose the types of off-the-shelf devices to in the laboratory. The choice of whether to obtain detailed
be used in a design and then use these to obtain realizable logic diagrams using the positive logic convention or the
250 IEEE TRANSAC'I'IONS ON EDUCATION, VOL. 35. NO. 3, AUGUST 1992

TABLE I

A -B C -D F2

0 0 0 0 1
0 0 0 1 0
0 0 1 0 1
PLC 0
0
0
1
1
0
1
0
0
1
0 1 0 1 1
0 1 1 0 0
AND/OR form 0 1 1 1 0
I 0 0 0 1
(a)
1 0 0 1 0
1 0 1 0 I
1 0 1 I O
1 1 0 0 0
1 1 0 1 1
1 1 1 0 0
1 1 1 1 1

,
--, -3

Fig. 9. Kdrnaugh map for design example.

have to e if these columns were complemented with B used


in place of available signal "I? and D used in place of available
signal "D. If these changes were made, students would still
have to write the equation in design form (available form-in
A
a form that uses the accessible signals required for the design)
C PLC for Step 1 in the top-down design process.
To minimize the function with pencil and paper (as opposed
NOWOR form to using a computer reduction program such as the Student
(d 1 Version of PLDesigner [4]), the student needs to plot the
Fig. 8. Realizable circuit implementations for an SOP form of (1). function on a Karnaugh map as shown in Fig. 9. From the
product terms p 1 through p 3 , the student writes the Boolean
function as indicated below to obtain the SOP form of the
direct polarity convention is a matter of preference. In the function in design form with its accompanying signal list.
next section, the top-down design process will be presented Since most engineers generally prefer to write a function in
using the direct polarity convention. SOP form, this is what we will use; however, if one prefers,
the function can be written in POS form and still follow the
111. A DESIGNEXAMPLE top-down design process.
The student is requested in this example to obtain a com-
binational logic circuit implementation for the truth table
F 2 = Pl + P 2 + P3
= 3. + A . "B. + A . " B ."D (2)
(Table I) listed below and to obtain a realizable logic circuit
diagram using the direct polarity convention. Signal list: F2. A. -B, C, " D
The signal list, i.e., the list of accessible or available signals,
is F2, A , " B , C , and "D. Available signals " B and " D are This represents Steps 1 and 2 in the top-down design
also used in the truth table description, but they would not process. Steps 3(a) and 3(b) in Fig. 10 illustrate the design
SANDIGE: TOP-DOWN DESIGN PROCESS 25 1

h g i c layout part (LLP)


Uee the available form of
Step 3a the Boolean function to
write the Fk“h c h
udng only the eveilsble
signals (remove the overban).

1 -E o r - Direct polarity
convention @PC)
Use the available form of the
Boolean h a l k m . For poeitive Fig. 11. Functional logic diagram for (2) using the direct polarity conven-
Step 3b logic signals, Est H for each tion.
unbarred literal and L for each
ImmdIIted. Fornegative
logic signah, Hst L for each
unbarred kmal and U for
each b a n d IiternL

Fig. 10. Design documentation procedure for diagrams using the direct
polarity convention.

documentation process for obtaining a functional logic


diagram using the direct polarity convention. DPC
Following these simple steps, the student can write the
Fig. 12. Realizable logic diagram for (2) using NAND gates and inverters
design documentation as follows. It should be noted that the (NANDNAND form).
signal list contains only positive logic signals (active high
signals).
Fig. 6 and equivalent signal lines for inputs and outputs shown
LLP: F 2 = N B . N D+ A . B . C+ A .
N N B. N D in Fig. 7, with a small modification. The polarity symbol was
PIP: H L L L H L H H H mentally substituted for the negation symbol in each of these
diagrams. This modification converts the diagrams in Figs. 6
To obtain the logic layout part (LLP), step 3(a), of the de-
and 7 from the positive logic convention to the direct polarity
sign documentation just requires removing the overbars above
convention.
the available signals in (2) as illustrated above. Remember
Even though the majority of designs involve available
that positive logic signals in the positive logic convention
positive logic signals that may be either complemented or un-
are equivalent to active high signals in the direct polarity
complemented as illustrated by the design example presented
convention, and negative logic signals in the positive logic
above, the top-down design process is versatile enough to
convention are equivalent to active low signals in the direct
handle both positive and negative logic signals in the same
polarity convention. In ANSI/IEEE Std 991-1986, it is stated
design. Negative logic signals that may occur in a design can
“If all signal names on a diagram are true when high, the logic
also be handled with ease using step 3(b) in Fig. 3 for the
level indication may be omitted from the names”. Therefore, it
positive logic convention or step 3( b) in Fig. 10 for the direct
is not unusual in data books [5], [6] and industrial schematics
polarity convention. Negative logic signals may be noted in a
to see positive logic signals used in place of active high signals
signal list as X [ N L ]when using the positive logic convention,
on diagrams using the direct polarity convention. Since the
while active low signals may be noted in the signal list as
signal list for (2) only specified positive logic signals (active
X ( L ) when using the direct polarity convention. Since the
high signals) for the design, an H is listed under each available
last step, step 6, in the top-down design process involves the
signal in the LLP, step 3(a), for each unbarred literal in (2), and
technology used for specific available gate types, this will not
an L is listed under each available signal in the LLP, step 3(a),
be shown.
for each barred literal in (2). This completes the polarity
indication part (PIP), step 3( b), of the design documentation
as shown above. IV. CONCLUSIONS
The functional logic diagram using the direct polarity con- The top-down design process can be used as an effec-
vention for (2), step 4, can now be drawn and labeled from tive method for the design of gate-level combinational logic
the logic layout part (LLP) of the design documentation, using circuits. There are several advantages to using this design
simple AND and OR elements in the specified SOP form technique over the popular voltage symbolism technique. The
as illustrated in Fig. 11. To complete the functional logic top-down design process divides the problem into easily man-
diagram, a polarity symbol ‘‘A” is added at each input and ageable steps to reduce student errors. After obtaining reduced
output where an L appears in the polarity indication part (PIP) or minimum design equations and the required signal list, the
of the design documentation as shown in Fig. 11. student obtains the design documentation for the type of circuit
One possible realizable logic diagram, step 5 in the top- diagram desired-either the positive logic convention or the
down design process, is obtained as shown in Fig. 12 direct polarity convention. With the design documentation
(NAND/NAND form) using the direct polarity convention. description specifically written down, the student can simply
This diagram was obtained using equivalent AND and OR draw AND/OR or OR/AND type circuits and add the required
element symbols for the normally available devices shown in negation symbols or polarity symbols to obtain functional
252 IEEE TRANSACTIONS ON EDUCATION, VOL. 35, NO. 3, AUGUST 1992

logic diagrams. From these functional logic diagrams, the High-speed CMOS Logic Data Book. Texas Instruments Inc., 1989.
student can use equivalent AND and OR element symbols and ALSIAS Logic Data Book, Advanced Low-Power Schottky, Advanced
Schottky. Texas Instruments Inc., 1986.
substitute equivalent signal lines to obtain realizable circuits S.H. Washburn, “An application of Boolean algebra to the design of
for the desired gate types. electronic switching circuits,” Trans. AIEE, p. 380, 1953.
S. P. Asija, “Instant logic conversions,” IEEE Spectrum, vol. 5, no. 12,
p. 77, 1968.
ACKNOWLEDGMENT V. Ennis, “Positive and negative logic,” Comp. Design, vol. 9, no. 9,
p. 79, 1970.
The author would like to thank A. Elken at McGraw-Hill P.M. Kintner, “A simple method of designing - - NOR logic,” Control
Publishing Company for his help in soliciting peer reviews Eng., p. 77, 1963.
M. P. Marcus, Switching Circuits .for Engineers.
I Englewood Cliffs, NJ:
for the top-down design process during the time the text Prentice-Hall, 1962.
Modern Digital Design was being written. He would also like W. I. Fletcher, An Engineering Approach to Digital Design. Englewood
Cliffs, NJ: Prentice-Hall, 1980.
to thank the following reviewers for their helpful comments F. P. Prosser and D. E. Winkel, The Art of Digital Design. Englewood
and suggestions concerning the top-down design process: Cliffs, NJ: Prentice-Hall, 1987.
S. W. Director, Carnegie-Mellon University; P. I. P. Boulton,
University of Toronto; T.-S. Chung, University of Kentucky;
J.D. Dixon, University of North Dakota; C. Druzgalski,
California State University-Long Beach; D. Ernie, University
of Minnesota; P. T. Hulina, Pennsylvania State University; Richard S. Sandige (S’63-M’64-SM’90) received
the B S.E E and M S E.E degrees from West Vir-
D. J. Johnson, University of Washington; E. C. Jones, Jr., ginia University, Morgantown, in 1963 and 1969,
Iowa State University; C. R. Kime, University of Wisconsin- respectively, and the Ph D degree in electrical en-
Madison; P. Noe, Texas A&M University; and P.D. Stigall, gineering from Texas A&M University, College
Station, in 1978.
University of Missouri-Rolla. He is currently an Associate Professor in the
Depdrtment of Electrical Engineering, University
REFERENCES of Wyoming, Laramie Prior to joining the staff
dt the University of Wyoming, he worked for ten
[ 11 V. T. Rhyne, Fundamentals of Digital Systems Design. Englewood years as a Member of the Technical Staff in the
Cliffs, NJ: Prentice-Hall, 1973. Research and Development Laboratory dt Hewlett-Packard, Fort Collins, CO
[2] R. S. Sandige, Modern DigitalDesign. New York: McGraw-Hill, 1990. His research interests include PLD’? and FPGA’s and their applications in
[3] ANSIiIEEE Std 991-1986, IEEE Standard for Logic Circuit Diagrams. digital design and microprocessor systems He currently supports the research
New York: The Institute of Electrical and Electronic Engineers, 1986. dnd development activities of Minc Incorporated, a technology leader in
[4] PLDesigner Student Version (User’s Guide). Colorado Springs, CO: programmable logic synthesis tools He recently wrote a textbook entitled
Minc Inc., (licensed by McCraw-Hill), 1990. Modern Digital Design (McGraw-Hill, 1990)

You might also like