13.07.2015 Views

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

Digital Electronics: Principles, Devices and Applications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

390 <strong>Digital</strong> <strong>Electronics</strong>b d f h j ln(a)a c e g i km(b)Figure 10.33 Solution to example 10.4.SolutionRefer to the flip-flop of Fig. 10.32(b). Q is initially ‘0’. This makes the J <strong>and</strong> K inputs be initially ‘1’<strong>and</strong> ‘0’ respectively. With the first trailing edge of the clock input, Q goes to the ‘1’ state. Thus, J<strong>and</strong> K acquire a logic status of ‘0’ <strong>and</strong> ‘1’ respectively. With the next trailing edge of the clock input,Q goes to logic ‘0’. This process continues, <strong>and</strong> Q alternately becomes ‘1’ <strong>and</strong> ‘0’. The Q outputwaveform for this case is shown in Fig. 10.33(a). In the case of the flip-flop of Fig. 10.32(c), J <strong>and</strong> Kare initially ‘0’ <strong>and</strong> ‘1’ respectively. Thus, J is active. With the first leading edge of the clock input,Q <strong>and</strong> therefore J go to the logic ‘1’ state. The second leading edge forces Q to go to the logic ‘0’state as now it is the K input that is in the logic ‘0’ state <strong>and</strong> active. This circuit also behaves in thesame way as the flip-flop of Fig. 10.32(b). The output goes alternately to the logic ‘0’ <strong>and</strong> ‘1’ state.However, the transitions occur on the leading edge of the clock input. Figure 10.33(b) shows the Qoutput waveform for this case. The frequency of the Q output waveform in the two cases is equal tohalf the frequency of the clock input, for obvious reasons, <strong>and</strong> is therefore 50 kHz.10.6 Toggle Flip-Flop (T Flip-Flop)The output of a toggle flip-flop, also called a T flip-flop, changes state every time it is triggered atits T input, called the toggle input. That is, the output becomes ‘1’ if it was ‘0’ <strong>and</strong> ‘0’ if it was ‘1’.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!