Flip Flops and Latches

For the embedded simulations to function Java MUST be installed!

Follow this LINK for download instructions and to begin the download process.

If you HAVE downloaded java and still recieve this message, you probably have Java disabled in your web browser. Go HERE for instructions on how to enable java.

Circuit #1 - SR Flip-Flop (NOR)

The image above shows a thumbnail of the interactive Java applet embedded into this page. Unfortunately, your browser is not Java-aware or Java is disabled in the browser preferences.

To check if java is disabled (and you are using IE) goto TOOLS | Internet Options | Advanced (tab) | Scroll down the list and look for Java it should appear as shown:

If Java is not listed. You will need instal it. After the installation is complete you might have to restart the browser.



SR - Flip Flop (NOR) Truth Table

SetResetQNot Q
00QlastNot Qlast
0101
1010
11Illegal



Circuit #2 - Gated SR Flip-Flop (NOR)

The image above shows a thumbnail of the interactive Java applet embedded into this page. Unfortunately, your browser is not Java-aware or Java is disabled in the browser preferences.

To check if java is disabled (and you are using IE) goto TOOLS | Internet Options | Advanced (tab) | Scroll down the list and look for Java it should appear as shown:

If Java is not listed. You will need instal it. After the installation is complete you might have to restart the browser.



Gated SR - Flip Flop (NOR) Truth Table

SetResetGATEQNot Q
XX0QlastNot Qlast
001QlastNot Qlast
10110
01101
111Illegal

X - Don't Care


Circuit #3 - SR Flip-Flop (NAND)

The image above shows a thumbnail of the interactive Java applet embedded into this page. Unfortunately, your browser is not Java-aware or Java is disabled in the browser preferences.

To check if java is disabled (and you are using IE) goto TOOLS | Internet Options | Advanced (tab) | Scroll down the list and look for Java it should appear as shown:

If Java is not listed. You will need instal it. After the installation is complete you might have to restart the browser.



SR - Flip Flop (NAND) Truth Table

NOT SetNOT ResetQNot Q
11QlastNot Qlast
1001
0110
11Illegal

As with the NOR Flip Flop, A gate can be added to the NAND Flip Flop.


Circuit #4 - D Latch

The image above shows a thumbnail of the interactive Java applet embedded into this page. Unfortunately, your browser is not Java-aware or Java is disabled in the browser preferences.

To check if java is disabled (and you are using IE) goto TOOLS | Internet Options | Advanced (tab) | Scroll down the list and look for Java it should appear as shown:

If Java is not listed. You will need instal it. After the installation is complete you might have to restart the browser.



D Latch
DCQNot Q
X0QlastNot Qlast
1110
0101



Circuit #5 - Edge Trigger

The image above shows a thumbnail of the interactive Java applet embedded into this page. Unfortunately, your browser is not Java-aware or Java is disabled in the browser preferences.

To check if java is disabled (and you are using IE) goto TOOLS | Internet Options | Advanced (tab) | Scroll down the list and look for Java it should appear as shown:

If Java is not listed. You will need instal it. After the installation is complete you might have to restart the browser.


These circuits allow the latch to be triggered (clocked) on the rising or falling edge of a pulse instead on just the ON GATE used in the previous examples.

These circuits work due to PROPAGATION DELAY. Propagation delay is the TIME it takes for a change in the input to be seen on the output pin. The simulation above is slowed down so you can see the output does toggle when the correct edge is detected. In a typical NOT gate, the propagation delay is ~ 10 nSec per gate.


Circuit #6 - D Flip Flop (Rising edge Trigger)

The image above shows a thumbnail of the interactive Java applet embedded into this page. Unfortunately, your browser is not Java-aware or Java is disabled in the browser preferences.

To check if java is disabled (and you are using IE) goto TOOLS | Internet Options | Advanced (tab) | Scroll down the list and look for Java it should appear as shown:

If Java is not listed. You will need instal it. After the installation is complete you might have to restart the browser.


Since flip flops contain multiple gates and they get tedious to draw, the above is a standard way of drawing a d-flip flop. Note the triangle on the clock input. This symbol represents a "EDGE TRIGGER". If a circle was on the line coming into this, then it would be a "FALLING EDGE TRIGGER" but since no circle is present, it is a "RISING EDGE TRIGGER".