Lab Manual
Lab Manual
(LESCS-101)
Prepared By-
Er. Priyanka Arora
Department of Computer Science & Engineering
Guru Nanak Dev Engineering College, Ludhiana
SYLLABUS
LESCS 101 Digital Electronics Lab.
1. Truth-table verification of OR, AND, NOT, XOR, NAND and NOR gates using various IC’s.
2. Realization of OR, AND, NOT and XOR functions using universal gates IC’s 7400 and 7402.
3. Half Adder / Full Adder: Realization using basic and XOR gates IC’s.
4. Half Subtractor / Full Subtractor: Realization using IC’s 7400 and 7402.
5. Realization of IC7483 as Parallel adder/subtractor.
6. 4-Bit Binary-to-Gray and Gray-to-Binary Code Converter: Realization using basic, XOR gates and
universal gates.
7. 4-Bit and 8-Bit Comparator: Implementation using IC7485 magnitude comparator chips.
8. Multiplexer: Truth-table verification and realization of Half adder and Full adder using IC74153
chip.
9. Demultiplexer: Truth-table verification and realization of Half subtractor and Full subtractor using
IC74139 chip.
10. Flip Flops: Truth-table verification of JK Master Slave FF, T-type and D-type FF using IC7476
chip.
11. Asynchronous Counter: Realization of 4-bit up counter and Mod-N counter using IC7490 &
IC7493 chip.
12. Synchronous Counter: Realization of 4-bit up/down counter and Mod-N counter using IC74192 &
IC74193 chip.
EXPERIMENT NO. 1
Aim: Truth-table verification of OR, AND, NOT, XOR, NAND and NOR gates using various IC’s.
Apparatus: Regulated power supply, trainer kit, IC’s 7400,7402,7404,74098,7432,7486, tweezer,
connecting leads etc.
Theory:
A circuit which perform an and operation is shown in figure (a). It has N inputs (N>=2) and one output.
Digital signals are applied at the input terminals marked A, B………N, the other terminals being ground
which is not shown in the diagram. The output is obtained at the output terminal marked Y and it is also a
digital signal.
Mathematically, it is written as
Y =A.B.C…………….. N
Y = ABC………….. N
For 2 inputs,
Y = AB
OR Gate (7432)
The adjoin Figure(b) shows a OR gate with N inputs(N>=2) and one output. The OR operation is defined
as the operation in which output is 1 if one of the input is 1. Its logical equation is given by
Y= A OR B OR C………………………………..OR N
Y= A+B+C+……………………………………….+N
For 2 inputs,
Y= A+B
The adjoining figure(c) shows a NAND gate. The NOT-AND operation is known as NAND operation.
This gate is considered as an AND gate followed by a NOT gate.
The operation of this circuit (figure(b)) can be described in the following way
Y1 = AB………………….N
Y =Y1 = (AB……………..N)
For 2 inputs
Y =AB
A bubble on the output side of NAND gate represents NOT operation, inversion or complementation.
Figure: IC-7400 (NAND Gate)
The adjoining figure(d) shows a NOR gate. The OT-OR operation is known as the NOR operation. This
gate is considered as an OR gate followed by a NOT gate.
The operation of this circuit (figure(d)) can be described in the following way
Y1 = A+B+…………………. +N
Y =Y1 = (A+B+…………..+N)
For 2 inputs
Y =A+B
A bubble on the output side of NOR gate represents NOT operation, inversion or complementation.
Figure: IC-7402 (NOR Gate)
The adjoining figure(e) shows a NOT gate which is also known as inverter. It has one input(A) and one
output(Y) and the logical equation is written as
Y = NOT A
Y=A
The adjoining figure(f) shows an EX-OR gate. EX-OR operation is widely used in digital circuits. It is
not a basic operation and can be performed using the basic gates ----- AND, OR and NOT. Its logic
equation is
Y = A EX-OR B
Y=A+B
Y = AB + AB
When both inputs are same the output is 0, whereas when inputs are not same, the output is 1.
Figure: IC-7486 (Ex-OR Gate)
Procedure:
1. Insert the desired IC into the bread board present in the trainer kit.
2. To verify the truth table of AND, OR, NAND, EX-OR gate apply the input at 1st and 2nd pin and
take the output at 3rd pin. Put GND and Vcc at pins 7 and 14 of the IC’s.
3. To verify the truth table of NOR gate, apply the input at 2nd and 3rd pin and take output at 1st pin.
For NOT gate input is given at 1st pin and output is taken at 2nd pin.
4. Remove the IC’s with the help of tweezers.
Result: The truth table of all the logic gates has been verified.
Precautions:
THEORY:- NAND and NOR are called as Universal gates because all the gates like AND, OR, NOT,
XOR, XNOR can be realized by these gates.
A NAND produces complement of AND gate. So, if the output of a NAND gate is inverted,
Y=((A.B)’)’
=A.B
TRUTH TABLE-
A B (A.B)’ ((A.B)’)’
0 0 1 0
0 1 1 0
1 0 1 0
1 1 0 1
+ B So, give the inverted inputs to a NAND gate, obtain OR operation at output.
TRUTH TABLE-
A B A’ B’ (A’.B’)’=A+B
0 0 1 1 0
0 1 1 0 1
1 0 0 1 1
1 1 0 0 1
A NOT produces complement of the input. It can have only one input, tie the inputs of a NAND
Y= (A.A)’
=A’
TRUTH TABLE-
A A.A (A.A)’ A’
0 0 1 1
1 1 0 0
Y=((A(A.B)’)’.((A.B)’B)’)’
=A B
TRUTH TABLE
A B A.B (A.B)’ (A(A.B)’) ((A.B)’B) A B
’ ’
0 0 0 1 1 1 0
0 1 0 1 1 1 1
1 0 0 1 0 1 1
1 1 1 0 1 1 0
X-NOR gate is actually X-OR gate followed by NOT gate. So give the output of X-OR gate to a NOT
gate, overall output is that of an X-NOR gate.
TRUTH TABLE-
A B (A.B)’ (A(A.B)’) ((A.B)’B) A B A B
’ ’
0 0 1 1 1 0 1
0 1 1 1 1 1 0
1 0 1 1 0 1 0
1 1 0 0 1 0 1
From DeMorgan’s theorems: (A+B)’ = A’. B’. Similarly, (A’+B’)’ = A’’. B’’ =
A.B So, give the inverted inputs to a NOR gate, obtain AND operation at output.
TRUTH TABLE-
A B A’ B’ (A’+B’)’ A.B
0 0 1 1 0 0
0 1 1 0 0 0
1 0 0 1 0 0
1 1 0 0 1 1
A NOR produces complement of OR gate. So, if the output of a NOR gate is inverted, overall output will
be that of an OR gate.
Y = ((A+B)’)’= (A+B)
TRUTH TABLE-
A B (A+B)’ ((A+B)’)’
0 0 1 0
0 1 0 1
1 0 0 1
1 1 0 1
A NOT produces complement of the input. It can have only one input, tie the inputs of a NOR gate
Y = (A+A)’ = (A)’
TRUTH TABLE-
Y = A’.B+ A.B’
TRUTH TABLE-
A B A’ B’ A’.B A.B’ (A’.B)+(A.B
’)
0 0 1 1 0 0 0
0 1 1 0 1 0 1
1 0 0 1 0 1 1
1 1 0 0 0 0 0
Y = AB + A’B’
TRUTH TABLE-
A B A’ B’ A.B A’.B’ (A.B)+(A’.B
’)
0 0 1 1 0 1 1
0 1 1 0 0 0 0
1 0 0 1 0 1 0
1 1 0 0 1 0 1
PROCEDURE:-
1.) Insert the desired ICs into the bread board present in the trainer kit.
2.) Apply two inputs and one output. Put GND and VCC at pins 7 and 14 of the ICs.
3.) For NOT gate only one input is applied and one output.
4.) After verifying all gates remove the ICs with the help of a tweezer.
RESULT:- The truth tables of realization of all gates using NAND and NOR are verified.
PRECAUTIONS:-
3.) Apply GND at pin no. 7 and VCC at pin no. 14of both the ICs.
EXPERIMENT NO. 3
AIM: - Half adder / Full adder: Realization using basic and XOR gates IC’s.
APPARATUS: - Regulated power supply, trainer kit, IC’s 7408, 7486, tweezers, connecting leads etc.
THEORY:-
Half Adder
Adder. As there are two inputs A and B then according to the formula,
2n =M
TRUTH TABLE
Inputs Outputs
A B Sum
0 0 0
0 1 1
1 0 1
1 1 0
Full Adder
A logic circuit for the addition of three one-bit number is referred to as Full adder. A half adder has only
two numbers and there is no provision to add carry coming from the lower order bits when multi bit
addition is performed.
A B C Sum Carry
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 circuit for both Half Adder and Full Adder using basic and XOR gates is shown below :
PROCEDURE:-
1.) Insert the desired ICs into the bread board present in the trainer kit
3.) Apply the inputs at 1st and 2nd pin of both the ICs and take output on 3rd pin. Put GND and V CC
at pins 7 and 14 of ICs.
4.) Output from the IC7408 gives Carry and IC7486 gives the Sum.
5.) By charging the inputs of the two ICs, truth table of half adder can be verified.
6.) Remove the ICs with the help of a tweezer.
RESULT:-
The truth table of half adder and full adder has been verified.
PRECAUTIONS:-
THEORY:-
HALF-SUBTRACTOR:- Subtracting a single-bit binary value B from another A (i.e. A -B) produces a
difference bit D and a borrow out bit B-out. This operation is called half subtraction and the circuit to
realize it is called a half subtractor.
S =A ⊕B
BOOLEAN EXPRESSIONS:-
D = A ⊕B
Br = A`B
Truth Table
A B Difference Borrow
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
Full Subtractor
Design for full subtractor:
Truth table:
Inputs Outputs
A B C Diff(Do) Borrow(Bo)
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 0 1
1 0 0 1 0
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1
PRECAUTIONS:-
THEORY:-
IC 7483 performs the addition of two 4-bit binary numbers A3A2 A1A0 and B3B2B1B0 and carry input
to give the output S3 S2 S1S0 and carry out. So for adding the two numbers A3A2 A1A0 and
B3B2B1B0 , the two numbers are given to input terminals 1,3,8,10 and 16,4,7,11 of the IC 7483 and
carry in the terminal 13 is set to zero. To subtract two numbers by two’s compliment method, we are
adding the 2’s compliment of the second number to each of the four bits of the first numbers. The final
carry is neglected and the difference is taken from S3 S2 S1S0.
In the circuit a mode control is set such that when the mode control is zero, addition is performed and
subtraction is performed when the mode control is one. We use XOR gates to feed the input so that when
mode control is one, the complement of each of the four bits are fed and when mode control is zero, the
input as such is fed. In 1’s complement subtraction, the complement of the subtraction is taken and added
with the other number. The final carry is then added to the LSB of the result.
In case there is no carry, the complement of the result is taken and this will be a negative number. This
indicates that, subtraction is performed from a smaller number.
Pin Diagram IC7483
Theory:
The input to the 4-bit binary-to-Gray-code converter circuit is a 4-bit binary and the output is a 4-bit
Gray code. There are 16 possible combinations of 4-bit binary input and all of them are valid. Hence no
don’t care. The 4bit binary and the corresponding Gray code are shown in the conversion table. From the
conversion table, we observe that the expression for the outputs G4, G3, G2, and G1 are as follows:
The minimal expressions for the outputs obtained from the K-map are:
Logic Diagram for Gray to Binary Code Converter using XOR Gates:-
Logic Diagram for Gray to Binary Code Converter using NAND Gates:-
Truth-Table :- Binary To Gray Code Converter
Logic Diagram for Binary to Gray Code Converter using XOR Gates:-
Logic Diagram for Binary to Gray Code Converter using NAND Gates:-
Truth-Table:-
Procedure :
1. Insert the desired ICs into the bread board present in the trainer kit
4. Now give various inputs and verify the truth table i.e. In the case of gray-to-binary conversion, the
inputs G0,G1,G2 and G3 are giver at respective pins and outputs B0,B1,B2 and B3 are taken for all the
16 combination of inputs.
Procedure :
1. Insert the desired ICs into the bread board present in the trainer kit
2. Make the connections as shown in circuit Put GND and VCC at pins 7 and 14 respectively.
3. Now give various inputs and verify the truth table. i.e. In the case of binary-to-gray conversion, the
inputs B0, B1,B2 and B3 are giver at respective pins and outputs G0,G1,G2 and G3 are taken for all the
16 combination of inputs. Remove the ICs with the help of a tweezer.
Result: 1. The truth table has been verified.
EXPERIMENT NO. 7
Aim: 4-bit and 8-bit comparator Implementation using IC 7485 magnitude comparator chips
Theory:
A magnitude digital comparator is a combinational circuit that compares two digital or binary numbers
(consider A and B) and determines their relative magnitudes in order to find out whether one number is
equal, less than or greater than the other digital number.
Three binary variables are used to indicate the outcome of the comparison as A>B, A<B, or A=B. The
below figure shows the block diagram of a n-bit comparator which compares the two numbers of n-bit
length and generates their relation between themselves.
In addition to the normal comparator, this IC is provided with cascading inputs in order to facilitate the
cascading several comparators. Any number of bits can be compared by cascading several of these
comparator ICs.
Figure: IC7485 Magnitude
Comparator
For the lower order comparator, the A=B cascade input must be connected High, while the other two
cascading inputs A ,B must be connected to LOW. The outputs of the higher order comparator become
the outputs of this eight-bit comparator.
Procedure:
1. Insert the desired ICs into the bread board present in the trainer kit
2. Make the connections as shown in circuit
3. Put GND and VCC at pins 8 and 16 respectively.
4. Now give various inputs and verify the truth table for both 4-bit and 8-bit magnitude comparisons.
5. Remove the ICs with the help of a tweezer.
Result:
1. The truth table has been verified.
EXPERIMENT NO. 8
Aim:- Multiplexer: Truth-table verification and realization of half adder and Full adder using
IC74153 chip.
Theory: A multiplexer is a combinational circuit that selects binary information from one of many input
lines and directs it to a single output lines. The selection of particular input line is controlled by a set of
selection lines. Normally, there are (2)n input line and n- selection lines whose combinations determine
which input is selected. 74153 is a dual 4 line-to-1 line multiplexer.
(i) Half Adder: A logic circuit for the addition of two bits is called half adder. After the addition of
two bits, two outputs are generated one is sum and other is carry. While designing multiplexer, these two
bits act as selection lines. So, two selection lines are used. Thus 22=4 i.e. 4:1 multiplexer is used to
design a half adder. The IC used is 74153 and it is 16 pin IC.
Truth Table:
A B Sum Carry
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
Pin Diagram of IC 74153
The inputs A & B are provided at the selection line S1 & S0. Sum is realized on MUX A and carry is
realized on MUX B.
For Sum:
A=0, B=0 A=0, B=1 A=1, B=0 A=1, B=1
I0(a) = 0 I1(a) = 1 I2(a) = 1 I3(a) =0
For Carry:
(ii) Full Adder: A logic circuit for the addition of three bits is called full adder. After the addition of
three bits, two outputs are generated one is sum and other is carry. While designing multiplexer, these
two bits act as selection lines and line act as input line. So, two selection lines are used and one input line
is used. Thus, 22=4 i.e. 4:1 multiplexer is used to design a full adder.
Truth Table:
A B C Sum Carry
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
For Sum:
C A=0, B=0 A=0, B=1 A=1, B=0 A=1, B=1
0 0 1 1 0
1 1 0 0 1
I0(a)= C I1(a)=C’ I2(a)=C’ I3(a)=C
For Carry:
C A=0, B=0 A=0, B=1 A=1, B=0 A=1, B=1
0 0 0 0 1
1 0 1 1 1
I0(a)= 0 I1(a)=C I2(a)=C I3(a)=1
Procedure:
1. Insert the IC into the bread board of the trainer kit.
4. The inputs are applied to S1, S0 to the multiplexer and verify the truth table of half adder & full
adder circuit for both sum and carry.
5. Based on the selection lines one of the inputs will be selected at the output and thus verify the truth
table.
6. Remove the IC with the help of tweezers.
Result:
The truth table of half adder and full adder circuits has been verified.
Precautions:
1. Take the readings properly.
2. Make the connections properly.
EXPERIMENT NO. 9
Aim: Demultiplexer- Demultiplexer: Truth-table verification and realization of Half subtractor
and Full subtractor using IC74139 chip.
Theory: IC - 74139
IC – 74139 package contains two decoders. Each of these decoders has two address lines and four output
pins. The input address lines for one of the decoders is labelled 1A and 1B. The input pins for the other
decoder are labelled 2A and 2B. The output pins that are selectable because of a logic pattern on 1A and
1B are identified as 1Y0, 1Y1, 1Y2 and 1Y3.The output pins that are selectable because of a logic
pattern placed on the 2A and 2B input pins control the selection of the output pins identified as 2Y0,
2Y1, 2Y2, 2Y3.The integrated circuit 74LS139 contains two demultiplexers with 4 ways. Each one of
them has 2 entries of selection A and B, an input G and 4 exits (Y0 with Y3). The 74139 is also useful as
a learning tool to practice the use of the base 16 numbering system (HEX)to mentally represent a 16-bit
binary pattern.
Truth-table of IC-74139
The half-subtractor is a combinational circuit which is used to perform subtraction of two bits. It has two
inputs, X (minuend) and Y (subtrahend) and two outputs D (difference) and B (borrow).
Half-Subtractor circuit
a full subtractor is made by combining two half-subtractors and an additional OR-gate. A full subtractor
has the borrow in capability (denoted as BORIN in the diagram below) and so allows cascading which
results in the possibility of multi-bit subtraction. The circuit diagram for a full subtractor is given below.
Full Subtractor Circuit
Procedure :
1. Insert the desired IC's into the breadboard present in the trainer kit.
2. Make the connections as shown in the theory above.
4. The enable input must be connected to the lower level (since it is active low circuit) i.e. 1G and 2G
input.
5. Now give the various inputs and verify the truth table for the both half subtractor and full
subtractor.
Precautions :
3. Apply GND at pin no. 8 and VCC at pin no. 16 of the IC-74139.
EXPERIMENT NO. 10
Aim: Flip Flops: Truth-table verification of JK Master Slave FF, T-type and D-type FF using
IC7476 chip.
Apparatus: Regulated power supply, trainer kit, tweezers, connecting leads, IC-7476.
Theory:
Basically Flip-Flops are the bistable multivibrators that stores logic 1 and logic 0. Shift registers,
memory, and counters are built by using Flip – Flops. Any complex sequential machines are build using
Flip – Flops. Sequential circuit (machine) output depends on the present state and input applied at that
instant. Mealy Machine is one whose output depends on both the present state and the input. Moore
machines one whose output depends only on the present state of the sequential circuit. Note that the truth
table of J – K Flip – Flop is same as the Master – Slave. J – K Flip Flop and they must be remain same
because IC – 7476is –ve edge trigged flip – flop and we know that race around condition is eliminated by
edge triggered flip – flop. Another way of eliminating race around condition is by using Master – Slave J
–K Flip – Flop. When J = K = 1 (logic HIGH), J – K Flip – Flop changes output many times for single
clock pulse, it is Smaller than width of the clock pulse.
Race around condition is eliminated by using edge triggered clock pulse and using Master – Slave J - K
Flip Flops.
IC-7476
IC-7476 package contains two J-K F/F. Each F/F has two outputs and two inputs along with clock, preset
and clear inputs.
Implementation of Master Slave J-K Flip-Flop
0 1 x x x 1 0 1 0 Set
1 0 x x x 0 1 0 1 Reset
1 1 0 0 /Qm Qs /Qs
Qm
No change
1 1 0 1 0 1 0 1 Reset
1 1 1 0 0 1 0 Set
1
D type F/F:
It can be designed from SR- F/F & JK- F/F by putting an inverter or NOT gate between S & R or J & K
inputs are connected together to make a single input as shown in figure.
D type F/F is used whenever S = R=0 & S=R=1 combinations are not required for particular flip flop to
be used. This input D is called data input & thus it is named as D Flip flop. For d=0 either S=0 & r=1.
For this input, output Q is always reset i.e. 0.
Preset Clear D Clock Q /Q Status
1 1 0 Q /Q Reset
1 1 1 /Q Q Set
T type Flip Flop:
It can be designed using J-K flip flop by connecting J & K inputs together to make a single input T as
shown.
Due to toggling property it is known as toggle flip flop & are extensively used in counters to count the
pulses.
1 1 0 Q /Q No
Change
1 1 1 /Q Q Toggle
Procedure:
Precautions:
1. Connections should be neat and clean.
2. Insert and remove all ICs with care.
3. Apply GND at pin no. 13 and VCC at pin no. 5 of the IC-7476.
EXPERIMENT NO. 11
Aim: Asynchronous Counter: Realization of 4-bit up counter and Mod-N counter using IC7490 &
IC7493 chip. Apparatus: Power supply, digital trainer kit, connecting leads, IC7490 and IC7493.
Theory: In asynchronous, events do not occur at the same time as the clock is given to the first flip flop
and other successive flip flops are clocked by the output of preceding flip flop. In this every flip flop is
independent of input clock.
(i) 4-bit up counter: The clock pulse fed into 1st flip-flop is rippled through other flip-flops after
some propagation delay like ripple. As it is a 4-bit counter, this counter counts sequences from 0 to 15.
The IC which is used for 4-bit asynchronous counter is IC 7493.
Truth Table:
Count Q3 Q2 Q1 Q0
0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
4 0 1 0 0
5 0 1 0 1
6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1
10 1 0 1 0
11 1 0 1 1
12 1 1 0 0
13 1 1 0 1
14 1 1 1 0
15 1 1 1 1
Counter counts sequences from 0 to 15
The following points should be taken into consideration for its working.
4. Hence the counter is reset at the fifth clock pulse, which produces the output QC,QB,QA as 000. It
is called divide by 5th counter or mod 5 counter.
Truth Table:
Count Qc Qb Qa
0 0 0 0
1 0 0 1
2 0 1 0
3 0 1 1
4 1 0 0
Internal Diagram:
Internal diagram of IC 7490
Procedure:
1. Insert the IC into the bread board of the trainer kit.
8. Apply the inputs and clock, the output is obtained from the circuit.
Result: The working of 4 bit asynchronous counter & Mod-N Asynchronous counters is verified .
Precautions:
Theory: In Synchronous Counter, the external clock signal is connected to the clock input of EVERY
individual flip-flop within the Counter so that all of the flip-flops are clocked together simultaneously (in
parallel) at the same time giving a fixed time relationship. In other words, changes in the output occur in
“synchronization” with the clock signal. The result of this synchronization is that all the individual output
bits changing state at exactly the same time in response to the common clock signal with no ripple effect
and therefore, no propagation delay.
IC-7490 is a TTL MSI decade counter. It contains four master slave flip flops and additional gating to
provide a divide-by-two counter and a three-stage binary counter which provides a divide-by-5 counter.
The up/ down counter has “Up” and “Down” count modes by having 2 input AND gates, which
are used to detect the appropriate bit conditions for counting operation. OR gates are used to
combine the outputs of AND gate, from each JK flip flop.
We provide a up/ down control line which enables upper or lower series of AND gates to pass
the outputs of JK flip flops, Q , Q’ to the next stage of flip flop, in the cascaded arrangement.
If the up /down control line is set to HIGH, then the top AND gates are in enable state and the
circuit acts as UP counter. If the up /down control line is set to low, then the bottom AND gates
are in enable state and the circuit acts as DOWN counter.
A 4-bit decade synchronous counter can also be built using synchronous binary counters to produce a
count sequence from 0 to 9. A standard binary counter can be converted to a decade (decimal 10) counter
with the aid of some additional logic to implement the desired state sequence. After reaching the count of
“1001”, the counter recycles back to “0000”. We now have a decade or Modulo-10 counter.
The additional AND gates detect when the counting sequence reaches “1001”, (Binary 10) and causes
flip-flop FFC to toggle on the next clock pulse. Flip-flop FFA toggles on every clock pulse. Thus, the
count is reset and starts over again at “0000” producing a synchronous decade counter.
Result: The circuit for all the cases has been verified .
Precautions: