06.02.2014 Views

Latches and Flip Flops

Latches and Flip Flops

Latches and Flip Flops

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.

<strong>Flip</strong> <strong>Flops</strong><br />

@ P. Klimo<br />

Excerxise: R-S Latch with Low Asserted Inputs.<br />

Design a sequential circuit which is described by the following Next State table:<br />

Base your design on NAND gates.<br />

Solution:<br />

Inputs Next State (*)<br />

R S Q* (Q’)* Comment<br />

1 1 Q Q’ hold<br />

1 0 1 0 set<br />

0 1 0 1 reset<br />

0 0 0 0 unstable<br />

TABLE 2<br />

Step 1: Implement as a combinatorial circuit with a (single) feedback loop:<br />

Step 2: Break the feedback loop <strong>and</strong> analyse the transition from the present state Q to<br />

the next state Q*:<br />

Step 3: Draw the K map for output Q* in terms of inputs R, S <strong>and</strong> Q:<br />

INPUTS<br />

Q R S<br />

00 01 11 10<br />

0 X 0 0 1<br />

1 X 0 1 1<br />

K-map for Q*<br />

2

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

Saved successfully!

Ooh no, something went wrong!