Hazards Flashcards
What is a static hazard?
One input variable changes, the output changes momentarily when it shouldn’t.
What is a static-0 hazard?
An error which occurs when an output which should be 0, momentarily goes to 1 due to a glitch.
How can we represent a static-0 hazard using a gate level implementation?
An AND circuit in which one input contains a NOT gate. A NOR circuit in which on input contains a NOT gate
What is a static-1 error?
An error which occurs when an output which should be 1, momentarily goes to 0 due to a glitch.
What does the truth table look like for a 2-input AND gate?
What does the truth table look like for a 2-input NOR gate?
The AND gate is equivalent to:
logic multiplication
The OR gate is equivalent to:
logic sum
How can we represent a static-1 hazard using a gate level implementation?
An OR circuit in which one of the inputs has a NOT gate.
A NAND circuit in which one of inputs has a NOT gate.
How can we detect a static-0 hazard from an expression?
Expand the function as much as possible.
Determine the combination of the values of the variables that reduce the circuit to XX’
How can we detect a static-1 hazard from an expression?
Expand the expression as much as possible.
Determin the combination of variable that lead to the function X + X’
How can we detect a static-0 error from a K-map?
A static-0 error can be identified by two logically adjacent maxterms (0’s).
- Draw the K-map
- Group all 0’s
- Identify any pairs of 0’s which exist in two groups i.e. there is an overlap
How can we detect a static-1 hazard from a K-map?
A static hazard will occur when there are two logically adjacent essential prime implicants.
- Circle all the prime implicants which are adjacent sum terms = 1
- If there exists any pair of cells with 1’s are not contained in one group, i.e there is an overlap. This means there will be a static-1 hazard
What is meant my logical adjacency?
Only one variable changes between them when we from one to another.
How do we design a hazard free circuit?
By eliminating the XX’ and X + X’ hazards that occur.
We can do this by forming the function, determining the values of the combination of variables that cause the error and then including these components in the SOP or POS.