![]() | ![]() | |||
TAMS / Java / Hades / applets: contents | previous | next | ||||
Hades Applets contents visual index ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | D-type latch with NAND gates
Circuit Description
The D-type latch uses two additional gates in front of the
basic NAND-type RS-flipflop,
and the input lines are usually called C (or clock)
and D (or data).
The function of the D-latch is as follows.
First, note that the clock signal is connected to both of the front NAND gates.
Therefore, if the clock signal is zero, the outputs of the NAND gates
are both 1, and this implies that the RS flipflop stores the previous value.
Therefore, if the C input is 0, the flipflop stores its value.
On the other hand, if the clock signal is 1, the output of the first
NAND gate is the inverse of the D input signal,
and the output of the second nand gate is not(not(D) = D.
This leads to the input values R=0/S=1 or R=1/S=0 on the RS-flipflop,
which in turns enters the corresponding state.
Therefore, if the C input is 1, the flipflop output value follows
to the value on its D input (the latch is 'transparent').
The following timing diagram illustrates this behaviour:
![]() | |||
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/16-flipflops/20-dlatch/dlatch.html |