Appearance
D Type Flip Flop
The D type flip flop is one of three types of flip flop, also known as bistable devices (a device with two stable states), supported by Digital Works, the others being the RS and JK flip flops. The D type flip flop is a master-slave (master-slave architecture) clocked device whose output is enabled on the rising edge (edge-sensitive triggering) of the clock signal.
Truth Table
| D | clk | Comments |
|---|---|---|
| 0 | 0 | No change in the outputs |
| 0 | 1 | RESET action. Q = 0, Q̄ = 1 |
| 1 | 0 | No change in the outputs |
| 1 | 1 | SET action. Q = 1, Q̄ = 0 |
Clear and Preset
In addition to its D input, the device has two further inputs, as shown below.

Setting the clear input to logic high will reset the device. Setting the preset input to logic high will set the device. The device does not have to be clocked for clear and preset to work.
Placing the Device
To place a flip flop object into a circuit workspace, select the appropriate icon with the object selector and move the mouse into the active view. Press the left mouse button to fix the device at the required location.