Static Hazards and Hazard-Free Realizations in Digital Design
1. Static Hazards: Definition and Types
A static hazard is a temporary glitch (unwanted transition) in the output of a combinational circuit when the input changes, even though the steady-state output should remain constant.
- Static-1 Hazard: Output should stay 1 but briefly drops to 0.
- Static-0 Hazard: Output should stay 0 but briefly rises to 1.
Example of a Static-1 Hazard:
Consider ( F = AB' + BC ). If ( A = 1 ), ( C = 1 ), and ( B ) transitions from 0 → 1, the output ( F ) should remain 1, but due to propagation delays in the circuit, ( F ) may temporarily drop to 0.
2. Detecting Static Hazards Using Karnaugh Maps
Static hazards arise when adjacent minterms (for SOP) or maxterms (for POS) are not covered by a single product/sum term.
Steps to Detect Static Hazards:
-
For Static-1 Hazard (SOP circuits):
- Check if two adjacent 1s in the K-map are not covered by a single product term.
- Example: ( F = AB' + BC ).
- K-map:
- Adjacent 1s at ( AB' ) (A=1, B=0) and ( BC ) (B=1, C=1) are not covered by a single term.
-
For Static-0 Hazard (POS circuits):
- Check if two adjacent 0s are not covered by a single sum term.
3. Eliminating Static Hazards
To eliminate static hazards, add redundant terms to cover the problematic transitions.
Methods:
-
Redundant Product/Sum Terms:
- For Static-1 Hazard (SOP): Add a term that covers the adjacent 1s.
- For Static-0 Hazard (POS): Add a term that covers the adjacent 0s.