Hardware interview practice
Read Attempt on an Empty FIFO
At each edge, pop and empty are sampled before the operation. occupancy is the number of stored entries immediately after the edge. Rule to apply: A pop is legal only when empty is 0. A pop while empty is 1 is an underflow attempt. What causes the error at C3?
Choose one
Answer choices
- A. push and pop are asserted together.
- B. occupancy becomes negative.
- C. pop is asserted while empty is high.
- D. empty remains high for more than one cycle.
