Future university Digital system I lecture Notes
Solution
The output waveforms are shown in figure (b). As you can see, the inputs are sequenced
through the BCD for digits 0 through 9. The output waveforms in the timing diagram indicate
that sequence on the decimal –value outputs.
3. BCD-7segment decoders/drivers
Most digital equipment has some means for displaying information in a form that can be
understood by the user. This information is often numerical data but also be alphanumeric.
One of the simplest and most popular methods for displaying numerical digits uses a 7-
segment configuration to form digital characters 0 to 9 and sometimes the hex characters A to F
Future university Digital system I lecture Notes
One common arrangement uses light-emitting diodes (LED's) for each segment. By controlling
the current thru each LED, some segments will be light and others will be dark so that desired
character pattern will be generated.
Figure shows the segment patterns that are used to display the various digits. For example, to
display a
A BCD-7 segment decoder is used to take four-bit BCD input and provide the outputs that
will pass current through the appropriate segments to display the decimal digit.
The logic for this decoder is more complicated than the logic of decoders of earlier case,
because each output is activated for more than one combination of inputs.
74LS47 ( BCDtoSevenSegment Decoder)
There are two types of 7segment LED displays;
A) common - anode
B) common cathode
Future university Digital system I lecture Notes
A. Common Anode
In commonanode, the anode of all of the LEDs are tied together to positive of the power
supply (Vcc) as shown
Commonanode Seven-Segment LED display
B. Common Cathode
In common cathode, the cathodes of all of the LEDs are tied together to ground as shown.
Common cathode Seven-Segment LED display
Future university Digital system I lecture Notes
4. Combinational Logic Circuit Implementation using a Decoder
Any combinational logic circuit with n inputs and m outputs can be implemented with an n-
n
to-2 -line decoder and m OR gates.
Procedure:
Express the given Boolean function in sum of min-terms
Choose a decoder to generate all the min-terms of the input variables.
Select the inputs to each OR gate from the decoder outputs according to the list of min-term for
each function.
Future university Digital system I lecture Notes
From the truth table of the full adder,
A B C S Co
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
The functions can be expressed in sum of min-terms.
S (A, B, C) = m (1, 2, 4, 7)
C (A, B, C) = m (3, 5, 6, 7)
Since there are three inputs and a total of eight min-terms, we need a 3-to-8 line decoder. The
decoder generates the eight min-terms for A, B, C. The OR gate for output S forms the logical
sum of min-terms 1, 2, 4, and 7.The OR gates for output C forms the logical sum of min-terms 3,
5, 6, and 7
Full adder Implementation using a Decoder
Future university Digital system I lecture
Notes
One common arrangement uses light-emitting diodes (LED's) for each segment. By
controlling the current thru each LED, some segments will be light and others will be dark
so that desired character pattern will be generated.
Figure shows the segment patterns that are used to display the various digits. For
example, to display a
A BCD-7 segment decoder is used to take four-bit BCD input and provide the outputs
that will pass current through the appropriate segments to display the decimal digit.
The logic for this decoder is more complicated than the logic of decoders of earlier case,
because each output is activated for more than one combination of inputs.
74LS47 ( BCDtoSevenSegment
Decoder) There are two types of 7segment LED displays;
A) common - anode
B) common cathode
Dr. Adam Abdalla
Page 6
Elbashir