De Lab Manual
De Lab Manual
AIM: To know the Digital IC trainer Kit, its internal and external components
and to study the logic gate ICs, their PIN configurations and verify their truth
tables.
(vi) Clock pulse inputs (Continuous and Manual) supplies clock input
BREADBOARD:
Below the hole (inside the breadboard) there are rows of tiny metal clips. When
the lead of any component in inserted into a hole of a breadboard, one of these
clips grabs onto it. Figure 2 below is an image of such clip.
Fixing of an IC on a breadboard:
(ii) All the pins of the IC must be isolated from each other. Therefore an IC
needs to be placed on the divider (the gap between the two banks) of a
breadboard (Figure 4).
JUMPER WIRES:
As digital logic circuits work on binary system, their inputs and outputs accept
and produce only two levels of voltages. Thus, in most of the basic experiments,
outputs and inputs of digital circuits are observed in LEDs. A RED light in
the LEDs indicates a HIGH level and LOW level is indicated by a GREEN or
NO LIGHT.
3. Keep the power supply of the digital trainer kit OFF while making the
circuit connections. Connecting a circuit with power supply turned ON
may damage the circuit component and/or the trainer kit.
6. The uncovered lead of the connecting wires at the two ends should not
be too long or too short. Long uncovered wires may get connected with
other such wires. On the other hand, a too short end may not touch the
metal clip inside the breadboard.
8. Avoid connecting many inputs from a single point. This will reduce
current in the inputs and hence may lead to erratic operation of the
circuit.
9. After connecting the complete circuit, turn the digital trainer kit ON
and verify the circuit operation.
APPARATUS REQUIRED:
SL NO. COMPONENT SPECIFICATION QUANTITY
1. NAND gate IC 7400 1
2. NOR gate IC 7402 1
3. NOT gate IC 7404 1
4. AND gate IC 7408 1
5. OR gate IC 7432 1
6. XOR gate IC 7486 1
8. IC trainer kit - 1
9. Wires - As required
Logic Gates:
Logic gates are the basic components in digital circuits. All the logic gates
follow their own logic and accordingly produce the output. Each gate has one
or more input and only one output. Characteristic of a gate is depicted in a
truth table. A truth table shows all the possible input combination for a logic
gate or circuit and the corresponding output. There are 7 (seven) different logic
gates. They are (i) NAND (ii) NOR (iii) NOT (iv) AND (v) OR (vi) XOR and (vii)
XNOR gate. NOT, AND & OR gates are basic gates. NAND, NOR, XOR and
XNOR gates are combination of the basic gates and hence are called composite
gates.
The NOR gate is an inverted output OR gate. In a NOR gate, the output is high
only when all of its inputs are low.
The NOT gate is called an inverter. Its output is HIGH when applied input is
LOW and the output is LOW when the input is HIGH.
Practical Procedure:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the PIN diagram of the IC.
3. Power supply to the board is turned ON.
4. One gate in every IC is verified as per the truth table of the logic gate.
Observation:
Essential parts of an IC trainer kit are studied and logic gates are verified.
EXPERIMENT NAME: Design of a (i) Half adder and (ii) Full adder
AIM: To design a Half Adder and Full Adder circuit using logic gates and to
verify them using truth tables.
APPARATUS REQUIRED:
SL. NO. COMPONENT SPECIFICATION QUANTITY
1. AND gate IC 7408 1
2. X-OR gate IC 7486 1
3. NOT gate IC 7404 1
4. OR gate IC 7432 1
5. IC trainer kit - 1
6. Connecting Wires - As required
THEORY:
HALF ADDER:
A half adder is a combinational circuit that can add two bits and produces the
sum of the input bits as the result or output. A half adder has two inputs for
the two bits to be added and two outputs - one is the sum S and other one is
the carry C. A half adder cannot consider a previous carry (third input bit).
Due to this limitation, a half adder circuit cant be used in cascade adder. Two
half adders can be combined together to form a full adder.
FULL ADDER:
A full adder is adds three input bits and produces the arithmetic sum of the
input bits as its output. Thus a full adder has two output lines the sum S
and the carry C. Because a full adder can add three bits, it is useful in
Input Output
X Y C (Carry) S (Sum)
0 0 0 0
0 1 0 1
1 0 0 1
1 1 1 0
S=XY+XY C=AB
S=X Y
( )
=X Y Z+Y Z +X Y Z+YZ ( )
(
= X ( Y Z) + X Y Z )
S= XYZ
C = XY + YZ + ZX
DESIGN PROCEDURE:
1. Truth tables of the (i) Half adder and (ii) Full adder are prepared.
2. K-map for each output variable present in the truth tables is drawn.
3. Simplified expression for each output variable is obtained.
4. Circuit diagram is drawn as per the simplified expressions of the output
variables obtained in step 3.
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
EXPERIMENT NAME: Design of a (i) Half subtractor and (ii) Full subtractor
AIM: To design a Half subtractor and Full subtractor circuit using logic gates
and to verify them.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. AND GATE IC 7408 1
2. XOR GATE IC 7486 1
3. NOT GATE IC 7404 1
4. OR GATE IC 7432 1
5. IC TRAINER KIT - 1
6. CONNECTING WIRES - AS REQUIRED
THEORY:
HALF SUBTRACTOR:
The half subtractor is a combinational circuit that takes two input bits and
subtracts one bit from the other. Half subtractor produces the result of the
subtraction of the two bits through the two outputs the Borrow B and the
Difference D.
FULL SUBTRACTOR:
The full subtractor is combinational circuit with three inputs and two outputs.
The operation performed by a full subtractor is arithmetic subtraction. If X, Y
and Z are the inputs of a full subtractor circuit, then, the output of the circuit
is (X - Y) - Z . A full subtractor can be designed using two half subtractors.
Input Output
X Y B (Borrow) D (Difference)
0 0 0 0
0 1 1 1
1 0 0 1
1 1 0 0
D=XY+XY B=XY
D = XY
D= X Y Z+ X Y Z+X Y Z+XYZ
( )
=X Y Z+Y Z +X Y Z+YZ ( )
(
= X ( Y Z) + X Y Z )
D = XYZ
B= X Y+YZ+ZX
DESIGN PROCEDURE:
1. Truth tables of the (i) Half subtractor and (ii) Full subtractor are prepared.
2. K-map for each output variable present in the truth tables is drawn.
3. Simplified expression for each output variable is obtained.
4. Circuit diagram is drawn as per the simplified expressions of the output
variables obtained in step 3.
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
AIM: To design a 1-bit Comparator using logic gates and to verify it.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. AND GATE IC 7408 1
2. X-OR GATE IC 7486 1
3. NOT GATE IC 7404 1
4. IC TRAINER KIT - 1
5. CONNECTING WIRES - AS REQUIRED
THEORY:
1-Bit Comparator is a combinational logical circuit that compares two single
bits A and B. Result of the comparison is produced at the output. As there can
be three different possibilities of result (i) A>B (ii) A<B or (iii) A=B, there are
three outputs of a comparator. Depending upon the applied input bits, any one
of the three conditions is satisfied and thus the corresponding output goes
HIGH, other two outputs remain LOW.
TRUTH TABLE:
INPUTS OUTPUTS
0 0 0 1 0
0 1 1 0 0
1 0 0 0 1
1 1 0 1 0
DESIGN PROCEDURE:
1. Truth table of the One bit comparator is prepared.
2. K-map for each output variable present in the truth tables is drawn.
3. Simplified expression for each output variable is obtained.
4. Circuit diagram is drawn as per the simplified expressions of the output
variables obtained in step 3.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. XOR GATE IC 7486 1
2. IC TRAINER KIT - 1
3. CONNECTING WIRES - AS REQUIRED
THEORY:
A parity bit is used for the purpose of detecting errors during transmission of
binary information. A parity bit is an extra bit included with a binary message
to make the number of 1s either odd or even. The message including the parity
bit is transmitted and then checked at the receiving end for errors.
An error is detected if the checked parity does not correspond with the one
transmitted. The circuit that generates the parity bit in the transmitter is called
a parity generator and the circuit that checks the parity in the receiver is called
a parity checker. In even parity, the included parity bit will make the total
number of 1s an even amount and in odd parity the added parity bit will make
the total number of 1s an odd amount. In a three bit odd parity generator the
three bits in the message together with the parity bit are transmitted to their
destination, where they are applied to the parity checker circuit. The parity
checker circuit checks for possible errors in the transmission. Since the
information was transmitted with odd parity the four bits received must have
an odd number of 1s. An error occurs during the transmission if the four bits
received have an even number of 1s, indicating that one bit has changed
Input Output
X Y Z P
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1
K-Map for P:
P= X Y Z+ X Y Z+X Y Z+XYZ
( )
=X Y Z+Y Z +X Y Z+YZ ( )
= X ( Y Z) + X Y Z ( )
P = XYZ
DESIGN PROCEDURE:
1. Truth table of the 3 bit even parity generator is prepared.
2. K-map for the output variable (P) is drawn.
3. Simplified expression for the output variable is obtained using manual
simplification.
4. Circuit diagram is drawn as per the simplified expression of the output
variable obtained in step 3.
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
AIM: To design a 3-bit Odd Parity Checker using logic gates and to verify it.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. X-OR GATE IC 7486 1
2. NOT GATE IC 7404 1
3. IC TRAINER KIT - 1
4. CONNECTING WIRES - AS REQUIRED
THEORY:
A parity bit is used for the purpose of detecting errors during transmission of
binary information. A parity bit is an extra bit included with a binary message
to make the number of 1s either odd or even. The message including the parity
bit is transmitted and then checked at the receiving end for errors.
An error is detected if the checked parity does not correspond with the one
transmitted. The circuit that generates the parity bit in the transmitter is called
a parity generator and the circuit that checks the parity in the receiver is called
a parity checker. In even parity the added parity bit will make the total number
of 1s an even amount and in odd parity the included parity bit will make the
total number of 1s an odd amount. In a three bit odd parity generator the
three bits in the message together with the parity bit are transmitted to their
destination, where they are applied to the parity checker circuit. The parity
checker circuit checks for possible errors in the transmission. Since the
information was transmitted with odd parity the four bits received must have
an odd number of 1s. An error occurs during the transmission if the four bits
received have an even number of 1s, indicating that one bit has changed
Input Output
A B C P Y
0 0 0 0 1
0 0 0 1 0
0 0 1 0 0
0 0 1 1 1
0 1 0 0 0
0 1 0 1 1
0 1 1 0 1
0 1 1 1 0
1 0 0 0 0
1 0 0 1 1
1 0 1 0 1
1 0 1 1 0
1 1 0 0 1
1 1 0 1 0
1 1 1 0 0
1 1 1 1 1
( ) ( ) ( )
Y= A B C P + C P + A B C P + C P + A B C P + C P + A B C P + C P ( )
( )
Y= A B C P + A B ( C P ) + A B ( C P ) + A B C P( )
Y= A B ( C P ) + A B ( C P ) + A B ( C P ) + A B ( C P )
Y= ( C P )( A B + A B ) + ( C P ) ( A B + A B )
Y= ( C P )( A B ) + ( C P )( A B ) (i)
(i) Y=X W + X W
Y = WX
Y = A BC P
DESIGN PROCEDURE:
1. Truth table of the 3 bit odd parity checker is prepared.
2. K-map for the output variable (Y) is drawn.
3. Simplified expression for the output variable is obtained using manual
simplification.
4. Circuit diagram is drawn as per the simplified expression of the output
variable obtained in step 3.
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
AIM: To design a 4-Bit Binary to Gray Code converter using logic gates and to
verify its truth table.
APPARATUS REQUIRED:
2. IC TRAINER KIT - 1
THEORY:
The availability of large variety of codes for the same discrete elements of
information results in the use of different codes by different systems. A
conversion circuit must be inserted between the two systems if each uses
different codes for same information. Thus, code converter is a circuit that
makes the two systems compatible even though each uses different binary
code.
Gray code is a non-weighted code. Total number of bits in binary and its
corresponding gray code is equal. In the circuit to be designed, each code uses
four bits to represent a decimal digit. Thus, there are four inputs and four
outputs.
The input variable are designated as W, X, Y& Z and the output variables are
designated as A, B, C & D. from the truth table, combinational circuit is
designed. The Boolean functions are obtained from K-Map for each output
variable.
W X Y Z A B C D
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 1
0 0 1 1 0 0 1 0
0 1 0 0 0 1 1 0
0 1 0 1 0 1 1 1
0 1 1 0 0 1 0 1
0 1 1 1 0 1 0 0
1 0 0 0 1 1 0 0
1 0 0 1 1 1 0 1
1 0 1 0 1 1 1 1
1 0 1 1 1 1 1 0
1 1 0 0 1 0 1 0
1 1 0 1 1 0 1 1
1 1 1 0 1 0 0 1
1 1 1 1 1 0 0 0
A=W B= W X+WX
B = WX
C=XY+XY D= Y Z+Y Z
C = XY D = YZ
DESIGN PROCEDURE:
1. Truth table of the 4 bit binary to gray code converter is prepared.
2. K-maps for all the output variables (A, B, C and D) are drawn.
3. Simplified expressions for the output variables are obtained using manual
simplification.
4. Circuit diagram is drawn as per the simplified expressions of the output
variables obtained in step 3.
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
AIM: To design a 4-Bit Gray to Binary Code converter using logic gates and
verify its truth table.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. X-OR GATE IC 7486 1
2. IC TRAINER KIT - 1
3. CONNECTING WIRES - AS REQUIRED
THEORY:
The availability of large variety of codes for the same discrete elements of
information results in the use of different codes by different systems. A
conversion circuit must be inserted between the two systems if each uses
different codes for same information. Thus, code converter is a circuit that
makes the two systems compatible even though each uses different binary
code.
Gray code is a non-weighted code. Total number of bits in binary and its
corresponding gray code is equal. In the circuit to be designed, each code uses
four bits to represent a decimal digit. Thus, there are four inputs and four
outputs.
The input variable are designated as A, B, C & D and the output variables are
designated as W, X, Y & Z. from the truth table, combinational circuit is
designed. The Boolean functions are obtained from K-Map for each output
variable.
A B C D W X Y Z
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 1
0 0 1 1 0 0 1 0
0 1 0 0 0 1 1 1
0 1 0 1 0 1 1 0
0 1 1 0 0 1 0 0
0 1 1 1 0 1 0 1
1 0 0 0 1 1 1 1
1 0 0 1 1 1 1 0
1 0 1 0 1 1 0 0
1 0 1 1 1 1 0 1
1 1 0 0 1 0 0 0
1 1 0 1 1 0 0 1
1 1 1 0 1 0 1 1
1 1 1 1 1 0 1 0
Y= A BC+ A BC+ABC+AB C
( )
Y= A BC+BC +A BC+ B C ( )
(
Y = A ( B C) + A B C )
Y = A BC
Z = ( A B + A B) ( C D ) + ( A B + A B) ( C D )
Z = ( A B) ( C D ) + ( A B) ( C D )
Z = A BC D
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
AIM: To design a BCD to Gray Code converter using logic gates and to verify its
truth table.
APPARATUS REQUIRED:
2. OR GATE IC 7432 1
3. IC TRAINER KIT - 1
THEORY:
BCD (Binary Coded Decimal) code is a weighted code. BCD code is found from
a decimal number. Each digit of the decimal number is encoded with four (4)
equivalent bits to find its BCD code. Therefore BCD code from decimal 0 to 9
has 4 bits; but from decimal 10 to 15, 8 bits are required to represent the BCD
code (whereas straight binary needs only 4 bits for these numbers).
Gray code is a non-weighted code. Total number of bits in binary and its
corresponding gray code is equal. In the circuit to be designed, each input code
(BCD code) uses four bits to represent a decimal digit. Thus, there are four
inputs and four outputs.
The input variable are designated as W, X, Y& Z and the output variables are
designated as A, B, C & D. from the truth table, combinational circuit is
designed. The Boolean functions are obtained from K-Map for each output
variable.
W X Y Z A B C D
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 1
0 0 1 1 0 0 1 0
0 1 0 0 0 1 1 0
0 1 0 1 0 1 1 1
0 1 1 0 0 1 0 1
0 1 1 1 0 1 0 0
1 0 0 0 1 1 0 0
1 0 0 1 1 1 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
A=W B = W+X
C=XY+XY D= Y Z+Y Z
C = XY D = YZ
DESIGN PROCEDURE:
1. Truth table of the BCD to gray code converter is prepared.
2. K-maps for all the output variables (A, B, C and D) are drawn.
3. Simplified expressions for the output variables are obtained using manual
simplification.
4. Circuit diagram is drawn as per the simplified expressions of the output
variables obtained in step 3.
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. AND GATE IC 7408 1
2. X-OR GATE IC 7486 1
3. NOT GATE IC 7404 1
4. OR GATE IC 7432 1
5. IC TRAINER KIT - 1
6. CONNECTING WIRES - AS REQUIRED
THEORY:
BCD (Binary Coded Decimal) code is a weighted code. Origin of a BCD number
is a decimal number. Each digit of the decimal number is encoded with four (4)
equivalent bits to find its BCD code. Therefore BCD code from decimal 0 to 9
has 4 bits; but from decimal 10 to 15, 8 bits are required to represent the BCD
code (whereas straight binary needs only 4 bits for these numbers).
Excess 3 (XS3) code of a number is found by adding 3 (112) with its BCD code.
Therefore there is no fixed weightage of the bit positions in an XS3 number.
Thus, XS3 code is non-weighted code.
Output side of the truth table of a BCD to XS3 code converter is found by
adding 112 with the corresponding BCD code. After 10012 (decimal 9) as 4bit
BCD is not valid, outputs are dont cares (x).
A B C D W X Y Z
0 0 0 0 0 0 1 1
0 0 0 1 0 1 0 0
0 0 1 0 0 1 0 1
0 0 1 1 0 1 1 0
0 1 0 0 0 1 1 1
0 1 0 1 1 0 0 0
0 1 1 0 1 0 0 1
0 1 1 1 1 0 1 0
1 0 0 0 1 0 1 1
1 0 0 1 1 1 0 0
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
W = BD + BC + A X=BC D+BC+BD
W = A + B ( C+D ) ( )
X = B C+D + B ( C+D )
X = B ( C+D )
DESIGN PROCEDURE:
1. Truth table of the BCD to XS-3 code converter is prepared.
2. K-maps for all the output variables (W, X, Y and Z) are drawn.
3. Simplified expressions for the output variables are obtained using manual
simplification.
4. Circuit diagram is drawn as per the simplified expressions of the output
variables obtained in step 3.
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
AIM: To design an Excess-3 to BCD Code Converter using logic gates and to
verify its outputs.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. AND GATE IC 7408 1
2. X-OR GATE IC 7486 1
3. NOT GATE IC 7404 1
4. OR GATE IC7432 1
5. IC TRAINER KIT - 1
6. CONNECTING WIRES - AS REQUIRED
THEORY:
BCD (Binary Coded Decimal) code is a weighted code. Origin of a BCD number
is a decimal number. Each digit of the decimal number is encoded with four (4)
equivalent bits to find its BCD code. Therefore BCD code from decimal 0 to 9
has 4 bits; but from decimal 10 to 15, 8 bits are required to represent the BCD
code (whereas straight binary needs only 4 bits for these numbers).
Excess 3 (XS3) code of a number is found by adding 3 (112) with its BCD code.
Therefore there is no fixed weightage of the bit positions in an XS3 number.
Thus, XS3 code is non-weighted code.
Output side of the truth table of an XS3 to BCD code converter is found by
subtracting 112 from the corresponding XS3 code (Input). XS3 code with 4bit
TRUTH TABLE:
W X Y Z A B C D
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1 0 0 0 0
0 1 0 0 0 0 0 1
0 1 0 1 0 0 1 0
0 1 1 0 0 0 1 1
0 1 1 1 0 1 0 0
1 0 0 0 0 1 0 1
1 0 0 1 0 1 1 0
1 0 1 0 0 1 1 1
1 0 1 1 1 0 0 0
1 1 0 0 1 0 0 1
1 1 0 1
1 1 1 0
1 1 1 1
A=WX+WYZ B= X Y+ X Z+XYZ
A = W ( X + Y Z) ( )
B = X Y + Z + X ( YZ )
( )
B = X YZ + X ( YZ )
B = X ( YZ )
C= Y Z+Y Z D= Z
C = YZ
DESIGN PROCEDURE:
1. Truth table of the XS-3 to BCD code converter is prepared.
2. K-maps for all the output variables (A, B, C and D) are drawn.
3. Simplified expressions for the output variables are obtained using manual
simplification.
4. Circuit diagram is drawn as per the simplified expressions of the output
variables obtained in step 3.
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
AIM: To design a 2 to 4 line Decoder with active HIGH outputs using logic
gates and verify it.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. AND GATE IC 7408 1
2. NOT GATE IC 7404 1
3. IC TRAINER KIT - 1
4. CONNECTING WIRES - AS REQUIRED
THEORY:
A decoder is a combinational circuit that connects the binary information from
n number of input lines to a maximum of 2n unique output lines. Decoder is
also called a minterm generator/Maxterm generator. A minterm generator is a
decoder with active HIGH outputs and is constructed using AND and NOT
gates. Maxterm generator is designed with OR and NOT gates and has active
LOW outputs.
TRUTH TABLE:
INPUT OUTPUT
A B D0 D1 D2 D3
0 0 1 0 0 0
0 1 0 1 0 0
1 0 0 0 1 0
1 1 0 0 0 1
D1 = A B
D2 = A B
D3 = A B
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. AND GATE IC 7408 2
2. NOT GATE IC 7404 1
3. IC TRAINER KIT - 1
4. CONNECTING WIRES - AS REQUIRED
THEORY:
The function of Demultiplexer is in contrast to multiplexer function. It takes
information from one line and distributes it to a given number of output lines.
For this reason, the demultiplexer is also known as a data distributor. Decoder
can also be used as demultiplexer.
In the 1: 4 demultiplexer circuit, the data input line goes to all of the AND
gates. The data select lines enable only one gate at a time and the data on the
data input line will pass through the selected gate associated to the data
output line.
E A B D0 D1 D2 D3
0 0 0 E=0 0 0 0
0 0 1 0 E=0 0 0
0 1 0 0 0 E=0 0
0 1 1 0 0 0 E=0
1 0 0 E=1 0 0 0
1 0 1 0 E=1 0 0
1 1 0 0 0 E=1 0
1 1 1 0 0 0 E=0
D1 = E A B
D2 = E A B
D3 = E A B
DESIGN PROCEDURE:
1. Truth table of 1:4 demultiplexer is prepared.
2. K-maps for all the output variables (D0, D1, D2 and D3) are drawn.
3. Simplified expressions for the output variables are obtained using manual
simplification.
4. Circuit diagram is drawn as per the simplified expressions of the output
variables obtained in step 3.
AIM: To design a 4:1 Multiplexer using logic gates and to verify its operation.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. AND GATE IC 7408 2
2. NOT GATE IC 7404 1
3. OR GATE IC 7432 1
4. IC TRAINER KIT - 1
5. CONNECTING WIRES - AS REQUIRED
THEORY:
A digital multiplexer is a combinational circuit that receives binary information
from many input lines and directs it to a single output line. The selection of a
particular input line is controlled by a set of selection lines. A multiplexer has
n number of select lines, 2n number of input lines and a single output line. At a
time, any one of the inputs is connected with the output line through the
multiplexer. Combination in the select input determines the input which will be
connected with the output.
A B Y
0 0 I0
0 1 I1
1 0 I2
1 1 I3
Y = I0 A B + I1 A B + I 2 A B + I3 A B
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
AIM: To design an 8:1 Multiplexer using two 4:1 Multiplexer ICs (IC74153) and
to verify it.
THEORY:
A data selector, more commonly called a Multiplexer, shortened to "Mux" or
"MPX", is combinational logic switching devices that operate like a very fast
acting multiple position rotary switches. They connect or control, multiple
input lines called "channels" consisting of 2, 4, 8 or 16 individual inputs, one
at a time to an output. Then the job of a multiplexer is to allow multiple signals
to share a single common output. A single multiplexer as IC is 4:1, i.e., it can
handle a maximum of 4 inputs. When the number of inputs is more then 4, a
multiplexer tree can be used, also known as multiplexer stack.
Two multiplexers can be combined together to form a higher order multiplexer
with the help of their enable input.
E A B Y0 Y1 Y
0 0 0 I0 I0
0 0 1 I1 I1
0 1 0 I2 I2
0 1 1 I3 I3
1 0 0 I4 I4
1 0 1 I5 I5
1 1 0 I6 I6
1 1 1 I7 I7
From the columns of Y0, Y1 and Y in the above truth table, we observe that
Y = Y0 +Y1
CIRCUIT SET UP OF AN 8:1 MULTIPLEXER USING TWO 4:1 MUXs:
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the circuit.
AIM: To design a Full Adder using decoder IC 74138 (3 to 8 line decoder) and
to verify it.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. 3:8 DECODER IC 74138 1
2. 4 I/P NAND GATE IC 7420 1
3. IC TRAINER KIT - 1
4. CONNECTING WIRES - AS REQUIRED
THEORY:
A full adder is a combinational circuit that forms the arithmetic sum of input;
it consists of three inputs and two outputs. As a decoder produces minterms at
its output, a decoder can be used to realize any Boolean expression which is in
Sum of Product (SOP) canonical form. The minterms present in the output
expression need to be connected with an additional OR gate. IC 74138 is a 3 to
8 line decoder IC. The canonical output expressions of Sum and Carry are
found from the truth table directly. As the outputs of the IC 74138 are active
LOW, every output must be passed through an inverter before connecting them
to the OR gate. According to the De-Morgans theorem, inverted input OR is
( )
equivalent to NAND A + B = AB . Thus, NAND gate is connected at the output
of the decoder.
C = m ( 3, 5, 6, 7 )
DESIGN PROCEDURE:
1. Truth table of a full adder is prepared.
2. From the truth table, output expressions of Sum and Carry are found in
canonical Sum of Product (SOP) form (with minterms).
3. Circuit diagram is drawn as per the output expressions.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. 4:1 MUX IC 74153 1
2. IC TRAINER KIT - 1
3. CONNECTING WIRES - AS REQUIRED
THEORY:
A half adder has two inputs for the two bits to be added and two outputs one
form the sum S and other form the carry C. A multiplexer can be used to
implement any Boolean function which is in canonical Sum of Product (SOP)
form. A single multiplexer can implement a single function. Since a half adder
has two output functions (Sum and Carry), two multiplexers will be required to
implement the half adder.
C ( x, y ) = m ( 3)
S ( x, y ) = m (1, 2 )
Department of Electronics & Communication Engineering, SMIT Page |68
PIN DIAGRAM OF IC 74153:
PRACTICAL PROCEDURE:
1. ICs are placed properly on the bread board of the IC trainer kit.
2. Connections are made as per the designed circuit diagram.
3. Power supply to the board is turned ON.
4. Circuit is verified as per the truth table of the half adder.
AIM: To design a full adder/full subtractor with a control line using IC 74283
and to verify it with two 4 bit numbers.
APPARATUS REQUIRED:
Sl. No. COMPONENT SPECIFICATION QUANTITY
1. 4 BIT PARALLEL ADDER IC IC 74283 1
2. XOR GATE IC 7486 1
3. IC TRAINER KIT -
4. CONNECTING WIRES - AS REQUIRED
THEORY:
IC 74283 is a 4 bits cascade adder. Inside this IC, there are 4 full adders
internally cascaded together with the carry bits. The one of the two numbers
required to be added is applied at A4, A3, A2 and A1 and other number is
applied at B4, B3, B2 and B1.
With some modifications, this adder IC can also be used for subtraction. In this
experiment four XOR gates are used in the circuit set up. One input of all the
XOR gates is shorted together with the Cin input of the IC74283. When LOW
input is connected with Cin, the XOR gates work as a shorted line and thus the
other inputs of the XOR gates (i.e. B4, B3, B2 & B1) gets connected with the
adder IC directly. In this condition, the circuit works as an adder. When Cin is
connected to HIGH, one input of all the XOR gates becomes HIGH and hence
they work as inverters. Now, inverted Bs (i.e 1s complement of B) enters into
the adder IC. But, as Cin is also HIGH, the adder adds a 1 with the 1s
complement of B. Thus effectively the IC get 2s complement of B which is
Addition: Subtraction:
1 1 0 1 1 1 0 1
+ 1 0 0 1 + 1 0 0 1
1 0 1 1 0 0 1 0 0
Result: Cout =1, S4 =0, S3 =1, S2 =1 & S1 =0 Result: S4 =0, S3 =1, S2 =0 & S1 =0
PRACTICAL PROCEDURE:
1. Two numbers A & B (A>B) with 4 bits are considered to verify the operation
of the designed circuit.
2. Calculations of A+B and A-B are done manually.
3. Connections are made as per the designed circuit diagram.
4. Power supply to the board is turned ON.
5. ICs are placed properly on the bread board of the IC trainer kit.
6. Cin is connected to LOW and then the result of A+B is verified.
7. Cin is connected to HIGH and then the result of A-B is verified. Final carry
Cout indicates a positive result.
8. For both addition and subtraction, the results produced by the connected
circuit were verified matching them with the manual result.