- 2079 Bhadra · 6 marks
D flip-flop with excitation table
Short answer
The D flip-flop samples D at the active clock edge, so Q+ = D. It uses an SR latch with S = D and R = D' via an inverter, preventing S=R=1. Its excitation table: for Q→0, D=0; 0→1, D=1; 1→0, D=0; 1→1, D=1.
Explain the operation of D flip-flop with necessary diagrams truth tables and make its excitation table.
A D (data/delay) flip-flop has a single input D. At the active clock edge, Q takes the value of D and holds it until the next active edge. It is formed from a clocked S-R flip-flop by feeding D to S and D' to R.
Logic diagram
D --+------------>+------+ S* +------+
| | NAND |----->| NAND |---> Q
| CLK --+-->| G1 | Q'->| G3 |
| | +------+ +------+
| | +------+ R* +------+
| +-->| NAND |----->| NAND |---> Q'
+--[NOT]----->| G2 | Q-->| G4 |
+------+ +------+
S = D and R = D' : the forbidden S=R=1 never occurs
Symbol
+---------+
D ---| D Q |--- Q
CLK -|> |
| Q' |--- Q'
+---------+
Operation
- No active clock: G1 and G2 outputs are 1, so the NAND latch (G3, G4) keeps the old state.
- D = 1 at the clock: S = 1, R = 0. G1 gives S* = 0, which sets the latch: Q = 1, Q' = 0.
- D = 0 at the clock: S = 0, R = 1. G2 gives R* = 0, which resets the latch: Q = 0, Q' = 1.
- The inverter guarantees , so the invalid S = R = 1 condition of the S-R flip-flop is removed.
Truth (characteristic) table
| CLK | D | Q+ | Action |
|---|---|---|---|
| no edge | x | Q | No change |
| edge | 0 | 0 | Reset |
| edge | 1 | 1 | Set |
| D | Q | Q+ |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |
Characteristic equation: .
Excitation table
To produce a required change , D must simply equal the next state:
| Q | Q+ | D |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
Timing diagram (positive edge triggered, Q initially 0)
1 2 3 4 5 6 7
CLK _|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|
D ‾‾‾‾‾‾‾|___|‾‾‾|_______|‾‾‾|
Q _|‾‾‾‾‾‾‾|___|‾‾‾|_______|‾‾
Q follows D only at rising edges, so Q is D delayed by up to one clock period.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- JK flip-flop characteristic and excitation tables · Digital Logic, chapter 6 · asked 2×
- Edge triggered JK flip-flop with excitation table · Digital Logic, chapter 6
- SR flip-flop diagram, excitation table, equation · Digital Logic, chapter 6
- JK flip-flop with tables and timing diagram · Digital Logic, chapter 6 · asked 2×
- SR flip-flop with tables, equation, timing · Digital Logic, chapter 6 · asked 2×
- SR drawbacks; D flip-flop operation · Digital Logic, chapter 6
- JK flip-flop operation and truth table · Basic Electronics Engineering, chapter 6
- SR flip-flop operation · Basic Electronics Engineering, chapter 6 · asked 6×
- Encoder; NAND and XOR truth tables · Basic Electronics Engineering, chapter 6
- Types of flip-flops; JK flip-flop · Basic Electronics Engineering, chapter 6 · asked 2×