Digital Technq Unit No 2
Digital Technq Unit No 2
OR
• Find the missing literals or variables for each and every product term.
For example, C is the missing term from the three variable boolean
expressions' product term AB.
• Apply the OR operator between the missing literal and its
complement. For example, (C+C')
• Now join it with the product term through the AND operator. For
example, AB(C+C')
• Repeat all the above steps, that is, from step 1 to step 3, to apply to
all the product terms that have missing literals or variables.
Here, the first term is AB, the second term is AC, and the third term is BC.
We have three product terms, each with one variable missing.
In the first, second, and third terms, the variables C, B, and A are missing,
respectively.
Now, to perform the conversion, follow the above steps for the conversion
purpose. After performing the above steps for all the product terms that
have a missing variable (here all the terms have a missing variable), initially
we will get the following expression:
F(A,B,C) = AB(C+C') + AC'(B+B') + BC(A+A')
Let's use an example to put all of the above steps into practice and
understand how to convert any given logical expression into standard POS
form.
Now OR each term with the missing variable and its complement. After
applying this rule, we get:
F(A,B,C) = (A+B+CC').(A+C+BB').(B+C'+AA')
Half-Adder
A half-adder is an arithmetic circuit block that can be used to add two bits. Such a circuit thus has two inputs that
represent the two bits to be added and two outputs, with one producing the SUM outputand the other producing
the CARRY. Figure 7.4 shows the truth table of a half-adder, showing all possible input combinations and the
corresponding outputs.
The Boolean expressions for the SUM and CARRY outputs are given by the equations
Full Adder
A full adder circuit is an arithmetic circuit block that can be used to add three bits to
produce a SUM and a CARRY output.
The full adder adds the bits A and B and the carry from the previous column called the
carry in (Cin) and the outputs the sum bit (S) and the carry bit called the carry out (Cout).
The variable S gives the value of the least significant bit of the sum. The variable Cout
gives the outout carry
From the above K-map,the logical simplified expression for carry out and sum are
Using the truth table and the above K-Map, the Boolean Expression of
Sum (S) output of a Full Adder can be derived as:
the K-Map for Carry output (COUT) of a Full Adder is shown below:
he simplified Boolean equation for COUT is:
7.1.1 Half-Subtractor
A half-subtractor is a combinational circuit that can be used to subtract one binary digit from anotherto produce a
DIFFERENCE output and a BORROW output. The BORROW output here specifies whether a ‘1’ has been borrowed to
perform the subtraction.
Full Subtractor
A full subtractor performs subtraction operation on two bits, a minuend and a
subtrahend, and also takes into consideration whether a ‘1’ has already been
borrowed by the previous adjacent lower minuend bit or not. As a result, there
are three bits to be handled at the input of a full subtractor, namely the two bits
to be subtracted and a borrow bit designated as Bin. There are two outputs,
namely the DIFFERENCE output D and the BORROW output Bo. The
BORROW output bit tells whether the minuend bit needs to borrow a ‘1’ from
the next possible higher minuend bit.
Necessity of Multiplexer
Multiplexer
A multiplexer or MUX, also called a data selector, is a
combinational circuit with more than one input line, one output line
and more than one selection line.
A multiplexer is a combinational circuit that has 2 n input lines and a single output line.
×
Simply, the multiplexer is a multi-input and single-output combinational circuit. The
binary information is received from the input lines and directed to the output line. On
the basis of the values of the selection lines, one of these data inputs will be connected
to the output.
Unlike encoder and decoder, there are n selection lines and 2n input lines. So, there is
a total of 2N possible combinations of inputs. A multiplexer is also treated as Mux.
Types of Multiplexer:
1. 2:1 MUX
2. 4:1 MUX
3. 8:1 MUX
4. 16:1 MUX
2:1 Multiplexer
Figure 8.4 (a) 2-to-1 multiplexer circuit representation, (b) 2-to-1 multiplexer truth table
and (c) 2-to-1 multiplexer logic diagram.
4:1 Mux
Figure 8.1 (a) 4-to-1 multiplexer circuit representation and (b) 4-to-1
multiplexer truth table.
8:1 mux
Truth Table:
Logic diagram of 8:1 mux
For getting 8 data inputs, we need two 4×1 multiplexers. The 4×1 multiplexer produces
one output. So, in order to get the final output, we need a 2×1 multiplexer. The block
diagram of 8×1 multiplexer using 4×1 and 2×1 multiplexer is given below.
16 to 1 Multiplexer
In the 16 to 1 multiplexer, there are total of 16 inputs, i.e., A 0, A1, …, A16, 4 selection
lines, i.e., S0, S1, S2, and S3 and single output, i.e., Y. On the basis of the combination of
inputs that are present at the selection lines S 0, S1, and S2, one of these 16 inputs will
be connected to the output. The block diagram and the truth table of the 16×1 mux.
Block Diagram
Truth table
For getting 16 data inputs, we need two 8 ×1 multiplexers. The 8×1 multiplexer
produces one output. So, in order to get the final output, we need a 2×1 multiplexer.
The block diagram of 16×1 multiplexer using 8×1 and 2×1 multiplexer is given below.
De-multiplexer
A De-multiplexer is a combinational circuit that has only 1 input line and 2 N output
lines. Simply, the multiplexer is a single-input and multi-output combinational circuit.
The information is received from the single input lines and directed to the output line.
On the basis of the values of the selection lines, the input will be connected to one of
these outputs. De-multiplexer is opposite to the multiplexer.
Unlike encoder and decoder, there are n selection lines and 2 n outputs. So, there is a
total of 2n possible combinations of inputs. De-multiplexer is also treated as De-mux.
1×2 De-multiplexer:
In the 1 to 2 De-multiplexer, there are only two outputs, i.e., Y 0, and Y1, 1 selection
lines, i.e., S0, and single input, i.e., A. On the basis of the selection value, the input will
be connected to one of the outputs. The block diagram and the truth table of the 1×2
multiplexer are given below.
Truth table
Y0=S0'.A
Y1=S0.A
Block Diagram:
Truth Table:
Y0=S1' S0' A
y1=S1' S0 A
y2=S1 S0' A
y3=S1 S0 A
Logical circuit of the above expressions is given below:
1×8 De-multiplexer
In 1 to 8 De-multiplexer, there are total of eight outputs, i.e., Y0, Y1, Y2, Y3, Y4, Y5, Y6, and
Y7, 3 selection lines, i.e., S0, S1and S2 and single input, i.e., A. On the basis of the
combination of inputs which are present at the selection lines S 0, S1 and S2, the input
will be connected to one of these outputs. The block diagram and the truth table of
the 1×8 de-multiplexer are given below.
Block Diagram:
Truth Table:
Y0=S0'.S1'.S2'.A
Y1=S0.S1'.S2'.A
Y2=S0'.S1.S2'.A
Y3=S0.S1.S2'.A
Y4=S0'.S1'.S2 A
Y5=S0.S1'.S2 A
Y6=S0'.S1.S2 A
Y7=S0.S1.S3.A
1 x 16 De-multiplexer
In 1×16 de-multiplexer, there are total of 16 outputs, i.e., Y 0, Y1, …, Y16, 4 selection lines,
i.e., S0, S1, S2, and S3 and single input, i.e., A. On the basis of the combination of inputs
which are present at the selection lines S 0, S1, and S2, the input will be connected to
one of these outputs. The block diagram and the truth table of the 1×16 de-
multiplexer are given below.
Block Diagram:
The logical expression of the term Y is as follows:
Y0=A.S0'.S1'.S2'.S3'
Y1=A.S0'.S1'.S2'.S3
Y2=A.S0'.S1'.S2.S3'
Y3=A.S0'.S1'.S2.S3
Y4=A.S0'.S1.S2'.S3'
Y5=A.S0'.S1.S2'.S3
Y6=A.S0'.S1.S2.S3'
Y7=A.S0'.S1.S2.S3
Y8=A.S0.S1'.S2'.S3'
Y9=A.S0.S1'.S2'.S3
Y10=A.S0.S1'.S2.S3'
Y11=A.S0.S1'.S2.S3
Y12=A.S0.S1.S2'.S3'
Y13=A.S0.S1.S2'.S3
Y14=A.S0.S1.S2.S3'
Y15=A.S0.S1.S2'.S3