- Asked 2/22
- 2074 Chaitra · 4+2 marks
- 2074 Asoj · 3 marks
Static and dynamic hazards and their elimination
Short answer
Static hazard: output momentarily changes when it should stay constant (e.g., static-1: 1→0→1). Dynamic hazard: output changes multiple times during a transition. Example: F = AB + A'C with B=C=1 causes a static-1 glitch. Eliminate by adding consensus term BC to cover adjacent 1s in the K-map.
What do you mean by static and dynamic hazards? Give example of static hazards and explain how do you eliminate such hazards?
A hazard is an unwanted short pulse (glitch) at the output of a combinational circuit. It happens when an input changes and different signal paths have different propagation delays, so the output briefly takes a wrong value even though the steady-state value is correct.
Static hazard
The output should stay at the same value, but it momentarily changes and comes back.
- Static-1 hazard: output should stay 1 but goes . Occurs in SOP (AND-OR) circuits.
- Static-0 hazard: output should stay 0 but goes . Occurs in POS (OR-AND) circuits.
Dynamic hazard
The output should change once ( or ) but it changes three or more times, e.g. . It happens in multi-level circuits where one input reaches the output through three or more paths of different delay. A circuit that is free of static hazards at every level (a two-level hazard-free design) is also free of dynamic hazards.
Example of a static-1 hazard
Let . Then for both values of A, so F should stay at 1.
A ──┬──────────[AND]── AB ──┐
│ B ───┘ [OR]── F
└─[NOT]──A'─[AND]─ A'C ─┘
C ────┘
When A falls from 1 to 0, AB goes to 0 at once, but A'C rises only after the inverter delay. For that short time both AND outputs are 0, so F dips to 0: a static-1 hazard.
A ‾‾‾‾‾|_________
AB ‾‾‾‾‾|_________
A'C ______|‾‾‾‾‾‾‾‾ (late by inverter delay)
F ‾‾‾‾‾|_|‾‾‾‾‾‾‾ (glitch)
Eliminating the hazard
On the K-map, the two groups AB (cells 6, 7) and A'C (cells 1, 3) sit next to each other (cells 3 and 7) but no group covers both. A move between two adjacent 1-cells that are in different groups is a hazard.
The fix is to add a redundant group (the consensus term) that covers the adjacent cells:
When , the extra term holds F at 1 while A changes, so the glitch is removed. The logic function is unchanged because is the consensus of and .
Rule: in an SOP circuit, make sure every pair of adjacent 1s on the K-map is covered by at least one common group. For POS circuits, do the same with the 0s to remove static-0 hazards.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Switch bounce; negative edge RS flip-flop · Digital Logic, chapter 6
- Why choose static or dynamic list · Data Structure and Algorithm, chapter 3
- Array list; static or dynamic choice · Data Structure and Algorithm, chapter 3
- Static and dynamic data structures; array list · Data Structure and Algorithm, chapter 3
- Static vs dynamic mathematical model · Simulation and Modeling, chapter 2 · asked 3×