Fundamentals of Digital Logic Circuits 43
To continue our discussions on further investigations, we now assume that S input goes high (from 0
to 1), as shown in the timing diagram of Figure 3.17 (b). The other input (R) remains low. This condition
forces the output from lower NOR gate (Q¯) as 0, and for upper NOR gate, as both of its inputs are 0, its
output Q must be 1. This is again another stable state and known as setting the output as 1. What would
happen to this if S goes low at this point? We have already discussed this topic in Section 3.6.2 and we
know that Q would remain stable and would not change in such a case. Refer the second row of the table
of Figure 3.17 (c) for this correlation of input-output.
Now, we investigate the last condition, making S as low and R as high (refer the timing diagram). If
R = 1, then Q output must be low, forcing the output of the lower NOR gate (Q¯) as 1. Therefore, both
inputs of the upper NOR gate would be high, generating another stable state. The reader can now check
that when R goes low, it would leave the old state of Q unchanged. This relation is documented in the
third row of the table of Figure 3.17 (c).
At this stage, the reader may ask that what would happen to Q if both S and R inputs are high (1)?
The answer is, in that case both Q as well as Q¯ would be low, which is a stable but undesirable state
(non-complementary outputs) for any ip- op. Note that initially we have assumed that both outputs
from the ip- op would be complementary to each other. Therefore, for any S-R latch, we do not allow
both S and R inputs to be simultaneously becoming 1. Logically also, it is correct, i.e., we should not
deliver ‘ set ’ and ‘ reset ’ commands simultaneously, as these commands themselves are complementary
to each other. However, in a later section (D ip- op) we shall see that how this problem may be
eliminated.
3.6.4 Clocked S-R Flip-Flop
Figure 3.18 shows the circuit of clocked S-R ip- op. It is an upgradation of S-R latch (shaded area),
which we have discussed above. Comparing this with Figure 3.17 (a), we nd the addition of a pair of
dual-input AND gates through which S and R inputs are propagated to the NOR gate pair. A common
clock input for the pair of AND gates ensures that the S and R inputs to the NOR gates would only be
valid as long as the clock input is high. When the clock input goes low, old outputs at Q and Q¯ would
remain unchanged.
Introduction of the clock signal is essential for computer circuits as all operation of computer are
always synchronized with a central clock. However, unlike S-R latch, here the change of output would
not be instantaneous. This is known as asynchronous operation.
Figure 3.18 Clocked S-R flip-flop
M03_GHOS1557_01_SE_C03.indd 43M03_GHOS1557_01_SE_C03.indd 43 4/29/11 5:02 PM4/29/11 5:02 PM