A hazard in a digital circuit is a temporary, unintended fluctuation at the output that occurs while the circuit inputs are changing. Hazards arise because different signal paths from inputs to outputs have different propagation delays through gates. As a result, when inputs change, the outputs do not always change simultaneously and may exhibit a brief incorrect value before settling to the intended steady value.
There are three commonly recognised categories of hazards:
This document discusses static hazards in detail and explains how to detect and remove them using Karnaugh maps (K-maps) and redundant (consensus) terms.
A static hazard occurs when the intended output value remains the same before and after an input change, but the output changes momentarily to the opposite value during the transition and then returns to its correct value. There are two kinds:

Static hazards are caused by unequal delays along different paths that contribute to the same output term. In a sum-of-products (SOP) implementation, two product terms that should cover adjacent minterms may both momentarily evaluate to 0 during a transition because a shared literal changes and the complementary paths do not switch at the exact same times. The missing overlap in the implemented cover (grouping) of minterms in the K-map allows a brief gap in coverage, producing the hazard.
For circuits implemented in SOP form we test for static-1 hazards by examining the K-map of the output function. The usual procedure is:
Each such uncovered adjacent pair of 1s corresponds to a transition where the implemented function may produce a momentary 0 even though the true function remains 1.
Example - Consider the circuit shown below.

We have the output, call it F, expressed as:

Let us draw the K-map for this Boolean function and examine the grouping of 1s:

In the K-map above, a pair of 1s encircled (green) are adjacent but are not included together in any of the product-term groupings used in the present SOP expression for F. That uncovered adjacent pair is a source of a static-1 hazard; during an input transition that moves between those two minterms, the circuit output may momentarily go to 0.
To remove a static-1 hazard in an SOP implementation we add a redundant product term (a consensus term) that covers the adjacent pair of 1s which was previously uncovered. Adding this term does not change the final truth table of the function but it fills the coverage gap that allowed the hazard.
In the example, the pair of 1s causing the hazard is covered by an additional implicant (shown in blue). We include this prime implicant in the SOP expression:

Adding the extra term does not change the set of minterms (the function remains logically equivalent), but it prevents the output from temporarily dropping to 0 during the transition. The resulting circuit (with the redundant gate/term included) is hazard-free for that static-1 case:

Static-0 hazards are dual to static-1 hazards. For circuits implemented in product-of-sums (POS) form:
In practice, if a function is implemented as SOP but you are concerned about static-0 hazards, you can either convert to an appropriate POS representation that covers 0s properly or add complementary redundancy in the network to prevent transient 1s on a 0 output.
Static hazards are temporary incorrect outputs caused by unequal path delays when inputs change. They are detected by searching for adjacent minterms (for static-1) or adjacent maxterms (for static-0) that are not jointly covered by a single implicant in the chosen implementation. The standard remedy is to include redundant consensus terms so that every adjacent pair is covered, thereby removing the momentary glitch without changing the logical function.
If you implement or simplify Boolean functions using K-maps, always inspect adjacent 1s (for SOP) or 0s (for POS) and add the necessary redundant terms to ensure reliable operation under real gate delays.
![]() | Explore Courses for Computer Science Engineering (CSE) exam |
![]() | Get EduRev Notes directly in your Google search |