Logic circuits use boolean gates to perform some function as a result of some inputs. An ideal gate has an instantaneous change in state when its inputs change, but in reality there is actually some delay.
A Hazard or glitch in digital logic is a fault in the logic system due to a change at the input. A static hazard is when the output of a logic circuit momentary changes when its final value is the same as its value before the hazard (when the output is "trying" to remain the same, it jumps once, then settles down). For example, output going from 0 to 1 to 0 (it's "trying to stay at zero but failing once - thus the hazard). A dynamic hazard (or oscillation hazard) where a logic circuit will momentarily change back to its original value while changing to a new value. For example, output going from 0 to 1 to 0 and finnaly to 1 (its "trying" to go from simply 0 to 1).
The cause of hazards is timing delay of different components in the circuit. When certain paths through the circuit allow a variable-change to propagate faster than other paths, this may cause glitches.
The resulting glitches in the circuit may or may not induce additional problems - other then increased issues due to switching noise. It is good design practice to design circuits to minimize these hazards.
There are two types of Static hazards: a low going glitch (or static one hazard) is where the high output transitions to a low and back high (1-0-1) and a high going glitch (or static zero hazard) is where the low output transitions to a high and back low (0-1-0).
Static 0 hazards occur in Product-Of-Sums implementations, but do not occur in Sum-Of-Products implementations. Static 1 hazards occur in Sum-Of-Products implementations, do not occur in Product-Of-Sums implementations.
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Hazard (logic)".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world