Hades logoHades applet banner
latches

applet icon

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 start the applet, please enable Java and reload this page. (You might have to restart the browser.)

Circuit Description

A demonstration of the RTLIB level-triggered latches (with and without reset input).

Just click the input switches to play with the standard latch register (set to 8 bit width) on the left part of the schematics. When the clk input is high, the latch is transparent and propagates its D input value to the Q output. As soon as clk goes low, the latch becomes passive and stores the current value.

The logic on the right part of the applet again illustrates the common master-slave design approach for latch-based circuits with feedback path. Two latches controlled by separate, non-overlapping clock signals are used to avoid races through transparent latches.

Note: for sake of simplicity, an overlapping two-phase clock signal is used in the applet (when clock goes low, nclock is still high due to the delay of the inverter. This only works here, because the propagation delays of the latches are longer than the inverter delay.) For real designs, a non-overlapping two-phase clock signal would be used.

Print version | Run this demo in the Hades editor (via Java WebStart)
Usage | FAQ | About | License | Feedback | Tutorial (PDF) | Referenzkarte (PDF, in German)
Impressum http://tams.informatik.uni-hamburg.de/applets/hades/webdemos/50-rtlib/20-registers/latch.html