9,776 views
2 2 votes
what is race condition in flip flop  is it the situation when both inputs of SR flip flop is 1 (and hence the invalid state) or something else

1 Answer

Best answer
4 4 votes

When both inputs of a SR flip flop are 0, suppose one input goes high (i.e., 1) immediately. Then, the feedback loop in the flip flop is already busy propagating the previous 0 through both the gates until a stable state is reached. When the other input also goes to 1 immediately, this change also starts to propagate, before the effect of the first change has settled. The effects of the two changes are literally "racing" for priority and it is absolutely not worth guessing as to which one wins. This is called race condition. Thus a R=0,S=0 input is forbidden in a SR flip flop.

selected by
Position:
Show:

Related questions

4 4 votes
1 1 answer
154
154 views
GO Classes asked Jun 27
154 views
In a level-triggered JK flip-flop, race around condition occurs when:$\mathrm{J}=0,\mathrm{K}=0$ and clock pulse width is very small $\mathrm{J}=1,\mathrm{K}=1$ and clock...
0 0 votes
0 0 answers
692
692 views
Sanjay Sharma asked Oct 31, 2016
692 views
how race condition is resolved in master slave flip flops if we having rs master slave flip flop then what will be the output of master flip flop when both inputs are 1 o...
1 1 vote
1 1 answer
121
121 views
GO Classes asked Aug 3
121 views
A shared variable $x$ is initially equal to $10$.Two threads execute the following operations exactly once without synchronization:Thread $T_1$$x = x + 1$Thread $T_2$$x =...
0 0 votes
1 1 answer
2.2k
2.2k views
A_i_$_h asked Oct 13, 2017
2,206 views
if mutual conditiion holds there will no race conditionis there any case where mutual exclusion doesnt hold and there is no race conditioni want to know if mutual exclusi...