Lab 11.
Circuits that
remember.
Cross couple two gates and the circuit remembers. On a 3D digital logic trainer, build SR, gated SR, gated D and gated J-K latches from gates, then compare the level triggered 7475 with the edge triggered 7474.
Read the concepts first →Your details
Free to use, no sign up. Your name is only printed on your own lab sheet, and your work is saved in this browser so you can continue later. Nothing is sent to a server.
Latches and Flip-Flops
This virtual lab shows how a circuit remembers. On a 3D digital logic trainer with a real breadboard you cross couple two gates into an SR latch, add an enable input for a gated SR latch, then build gated D and gated J-K latches and watch each one hold its state on the LEDs.
The last part compares two chips: the 7475, a level triggered latch that follows its input while enabled, and the 7474, an edge triggered D flip flop that changes only on the rising edge of the clock. Pulse switches and the clock show the difference clearly.

What you do on this bench
- Build an SR latch from two NOR or two NAND gates and test set, reset and hold.
- Add an enable input to make a gated SR latch.
- Build a gated D latch and a gated J-K latch from gates.
- Test the 7475 latch while the enable is high and low.
- Clock the 7474 flip flop and see that it changes only on the rising edge.
On the bench
- Digital logic trainer with 16 toggle switches, 16 LEDs, pulse switches, a clock and a two digit seven segment display
- Full size breadboard with power rails and jumper wires that are wired pin by pin
- Cabinet of TTL chips with real pinouts (7400 series)
- Logic probe, multimeter and a binder of chip data sheets
Free, runs in the browser, no sign up and nothing to install. A computer with a graphics card gives the smoothest 3D view.
Questions students ask
What is the difference between a latch and a flip flop?
A latch is level triggered: it follows its input whenever it is enabled. A flip flop is edge triggered: it takes its input only at a clock edge.
Why is S = R = 1 not allowed in a NOR SR latch?
Both outputs are forced to 0, so Q and Q' are no longer complements, and when both inputs return to 0 the next state depends on which gate is faster.
What does a J-K flip flop do with J = K = 1?
It toggles: the output changes to its complement on every clock edge, which is the basis of counters.
Read the concepts page for this lab · All Digital Logic Design virtual labs · All articles