Lecture 3 (DesignProcess)
Lecture 3 (DesignProcess)
Combinational Systems
Today’s Topics
In this lecture we will cover the following:
Combinational Systems
Design Process for Combinational Systems
Don’t Care Conditions
Development of Truth Tables
Examples
2
Design Process for
Combinational Systems
Definition of Combinational System:
In a combinational system, the output of any gate can be
determined at any stage in terms of its inputs.
A typical design process for a combinational system
contains the following steps:
◦ Problem statement - a verbal description of the intended
system.
◦ Develop a block diagram of that system, utilizing
available components and meeting the design objectives
and constraints.
3
Design Process for
Combinational Systems
The design process of combinational systems can be further
broken down into the following detailed steps:
a)Represent each of the inputs and outputs in binary and if
necessary, break the larger problem into smaller
subproblems.
4
Design Process for Combinational
Systems (Contd…)
b) Formalize the design specification either in the form of a
truth table or of an algebraic expression.
c) Simplify the description e.g. using K-Maps.
d) Implement the system with available components,
subject to the design objectives and constraints.
5
Don’t Care Conditions
In some systems, the value of the output is
specified for only some of the input conditions.
(Such functions are sometimes referred to as
incompletely specified functions.)
6
Don’t Care Conditions
(Contd...)
This table states that the f must be 0 when a and b
7
Real System Example
In real systems, don’t cares occur in several ways.
There may be some input combinations that never occur. For
example, if input is written in binary code for a decimal digit;
there are only 10 possible input combinations (i.e. for digits
from 0 to 9).
If a 4-bit code is used, then six of the input combinations
never occur (i.e. 1010, 1011, 1100, 1101, 1110 and 1111).
8
Development of Truth Tables
We know that in a digital system, each of the inputs only
takes on one of two values (0 or 1). Thus, if we have n
inputs, there are 2n input combinations and thus the truth
table has 2n rows.
These rows are normally written in the binary order of the
inputs (if, for no other reason, than to make sure that we do
not leave any out).
The truth table has two sets of columns: n input columns,
one for each input variable, and m output columns, one for
each of the m outputs.
9
Development of Truth Tables
Example 1:
Truth table for a system with three inputs, A, B, and C, and one output, Z,
such that Z = 1 iff (if and only if) two of the inputs are 1, is as follows:
A B C Z1 Z2 Z3
0 0 0 0 0 0
0 0 1 0 0 0
0 1 0 0 0 0
0 1 1 1 1 1
1 0 0 0 0 0
1 0 1 1 1 1
1 1 0 1 1 1
1 1 1 0 1 X
10
Development of Truth Tables (Contd...)
•The given problem statement requires that we should have only one
output but the above table contains three outputs.
•The reason is that we can have three different interpretations of the
problem statement.
•There is no controversy on the behavior of the system for the first 7 rows
of the table. The only question in completing the table is in relation to
the last row.
•Does “two of the inputs are 1” mean exactly two or does it mean at least
two?
•If the former is true, then the last line of the truth table is 0, as shown for
Z1. If the latter is true, then the last line of the table is 1, as shown in Z2.
•Two other options, both shown as Z3, are that we know that all three
inputs will not be 1 simultaneously, and that we do not care what the
output is if all three inputs are 1. In those cases, the last entry is don’t
care, X.
11
Development of Truth Tables
(Contd...)
Example 2:
Consider a system in which a single light (that can be on or
off) can be controlled by any one of three switches. One
switch is the master on/off switch. If it is down, the light is
off. When the master switch is up, a change in the position
of one of the other switches (from up to down or from
down to up) will cause the light to change state. Truth table
for such a system is as follows:
12
Development of Truth Tables (Contd...)
We have labeled the switches a, b, and c (where a is the master switch) and use a 1
to represent up (and a 0 for down). The light output is labeled f (where a 1 on f
means that the light is on). When a = 0, the light is off (0), no matter what the value
of b and c are.
13
Development of Truth Tables (Contd...)
14
Development of Truth Tables (Contd...)
Example 3:
The truth table for 1-bit binary full adder
is as follows:
This system has three inputs (the 2 bits to
be added plus the carry from the next
lower order bit) and produces two
outputs: a sum bit and a carry to the next
higher order position.
15
Development of Truth Tables
Example 4:
A display driver; a system that has as its input the code for a decimal
digit and produces as its output the signals to drive a seven-segment
display, such as those on most digital watches and numeric displays.
The truth table for such system is as follows:
16
Development of Truth Tables (Contd...)
17
Development of Truth Tables (Contd...)
The truth table for seven segment display driver is as follows:
18
Development of Truth Tables (Contd...)
19
Development of Truth Tables (Contd...)
Example 5:
• Consider a system with three inputs, a, b, and c, and
four outputs, w, x, y, z.
• Some inputs may never occur; the output is never all 0’s.
20
Development of Truth Tables (Contd...)
21