A glitch is an unwanted short duration pulse. Such pulses can cause circuit malfunction, and so they are hazards.
In combinational circuits, hazards are not so critical, but in sequential circuits glitches can initiate unwanted actions.
The following two types of hazards commonly occur in combinational circuits:
Hazards are caused by asymmetries in signal paths with different propagation delays.
As an example of a static hazard, consider the combinational logic circuit of Figure 170 for a function F.
The K-map is shown in Figure 171.
Now . Let's set X=Z=1. Then we have , for any value of Y ideally. Now consider a transition for Y from 1 to 0 - this will produce a glitch in F, because there will be a short time during which a=b=0 (these should be complementary). This is illustrated in Figure 172.
This hazard can be removed with the aid of a hazard cover.
This is achieved by doing an extra loop in the K-map which overlaps
the existing loops in Figure 171; this is shown in
Figure 173.
Exercise. Draw the hazard-free circuit and verify that the hazard has been removed. Simulate in PSPICE. Use the PSPICE file shaz.sch.
ANU Engineering - ENGN2211