DELD Unit-3 Solution
DELD Unit-3 Solution
T-Flip-Flop to JK-Flip-
Flop
Ans.
2.Design Ring Counter for 1100 bits and analyze how many Flip flop required and
jus fy why D flip flop used in Ring counter?
Ans.
1.Direct Data Transfer:
D flip-flops have a dedicated data input (D) that directly receives the state of the
previous flip-flop in the ring. This simplifies the connec on within the counter, as
each flip-flop's output directly feeds into the next flip-flop's input.
2. Synchronous Opera on:
D flip-flops are synchronous, meaning they update their state only on the rising (or
falling) edge of the clock signal. This ensures that all flip-flops in the ring counter
change their states simultaneously, maintaining a consistent and predictable
sequence of states.
3. Clock Edge Triggering:
The clock edge triggering of D flip-flops ensures that transi ons occur only at
specific clock edges, reducing the possibility of glitches or errors due to signal
propaga on delays. This makes them more reliable in ring counter applica ons.
4. Simple Implementa on:
D flip-flops are rela vely simple in their design and logic, making them easier to
implement in hardware compared to other types of flip-flops. This contributes to
their cost-effec veness and widespread use in ring counter circuits.
5. No Addi onal Logic:
Unlike some other flip-flops (like JK flip-flops), D flip-flops don't require addi onal
logic gates to control their state transi ons based on exis ng inputs. This simplifies
the overall design of the ring counter, reducing its complexity and poten al for
errors.
3.Design 3 Bit Ayschronus down counter using T flip flop analyze how many Flip flop
required.
Ans.
The block diagram of 3-bit Asynchronous binary down counter is similar to the
block diagram of 3-bit Asynchronous binary up counter. But, the only
difference is that instead of connecting the normal outputs of one stage flip-
flop as clock signal for next stage flip-flop, connect the complemented outputs of
one stage flip-flop as clock signal for next stage flip-flop. Complemented
output goes from 1 to 0 is same as the normal output goes from 0 to 1.
0 0 0
1 1 1 1
2 0 1 1
3 1 0 1
4 0 0 1
5 1 1 0
6 0 1 0
7 1 0 0
Here Q0 toggled for every negative edge of clock signal. Q1 toggled for
every Q0 that goes from 0 to 1, otherwise remained in the previous state.
Similarly, Q2toggled for every Q1 that goes from 0 to 1, otherwise remained in the
previous state.
The initial status of the T flip-flops in the absence of clock signal is Q2Q1Q0=000.
This is decremented by one for every negative edge of clock signal and reaches to
the same value at 8th negative edge of clock signal. This pattern repeats when
further negative edges of clock signal are applied.
Edge triggering is particularly helpful in applications Level triggering lacks the ability to
that need precise timing. regulate precise timing.
Basic Principle Flip-flop utilizes an edge triggering Latch follows a level triggering
approach. approach.
Clock Signal The clock signal is present. The clock signal is absent.
Designed Using You can design it using Latches along You can design it using Logic gates.
with a clock.
Sensitivity Flip-flop is sensitive to the applied input Latches are sensitive to the applied
and the clock signal. input signal- only when enabled.
Classification You can classify a flip-flop into a A user cannot classify the Latch this
synchronous or asynchronous flip-flop. way.
Working Flip-Flops work using the binary input Latches operate only using binary
and the clock signal. inputs.
Analysis of It is quite easy to perform circuit analysis. Analyzing the circuit is quite complex.
Circuit
8.What is counter ? Design Mod 10 counter using IC7490?
9.What is race around condi on? How to avoid race condi on?
Ans. For J-K flip-flop, if J=K=1, and if clk=1 for a long period of me, then Q output
will toggle as long as CLK is high, which makes the output of the flip-flop unstable
or uncertain. This problem is called race around condi on in J-K flip-flop.
The Master-Slave Flip-Flop is basically a combina on of two JK flip-flops connected
together in a series configura on. Out of these, one acts as the “master” and the
other as a “slave”. The output from the master flip flop is connected to the two
inputs of the slave flip flop whose output is fed back to inputs of the master flip
flop. In addi on to these two flip-flops, the circuit also includes an inverter. The
inverter is connected to clock pulse in such a way that the inverted clock pulse is
given to the slave flip-flop. In other words if CP=0 for a master flip-flop, then CP=1
for a slave flip-flop and if CP=1 for master flip flop then it becomes 0 for slave flip
flop.
0 0 0 X
0 1 1 X
1 0 X 1
1 1 X 0
Below is the block diagram of the 4-bit ring counter. Here, we use 4 D flip flops. The
same clock pulse is passed to the clock input of all the flip flops as a synchronous
counter. The Overriding input(ORI) is used to design this circuit.
Working
The ORI input is passed to the PR input of the first flip flop, i.e., FF-0, and it is also
passed to the clear input of the remaining three flip flops, i.e., FF-1, FF-2, and FF-3.
The pre-set input set to 0 for the first flip flop. So, the output of the first flip flop is
one, and the outputs of the remaining flip flops are 0. The output of the first flip flop
is used to form the ring in the ring counter and referred to as Pre-set 1.
Ans.
S.NO Synchronous Counter Asynchronous Counter
One of the main disadvantages of asynchronous counters is that they can be slower
and less reliable than synchronous counters, since they have more propagation
delay and glitches that can cause errors. Another disadvantage is that they can be
more limited and inflexible than synchronous counters, since they have a fixed
counting sequence and mode.
Ans.
Step 1: Find the number of flip flops.
A flip flop stores only one bit, hence for a 3 bit counter, 3 flip flops(n=3) are needed to design
the counter.
Number of states = 2n = 23 = 8 states(000, 001, 010, 011, 100, 101, 110, 111)
Since the type of flip flop is given in the problem, let us use JK flip flops.
Using Karnaugh maps, the input functions for the 3 flip flops are derived. The present states
are the input for all the flip-flops. Since there are three inputs(QC, QB, QA), 8 cell K-map is
used.
Step 6: Draw the logic diagram of the counter.
14.Design Mod-24 counter using 7490
Ans.