Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Identify a specification-based negative test

Hardware interview practice

Identify a specification-based negative test

EasyVerification StrategySystemVerilog

A FIFO specification says that a write while full must be rejected, must set overflow_error, and must not change stored data. Which option is a negative test?

Try it in the question bankReason first. Then compare.

Keep this exact question selected while you check your answer and review the full solution.

Practice this question →
Choose one

Answer choices

  1. A. Compile the testbench with a syntax error.
  2. B. Write one item into an empty FIFO and read it back.
  3. C. Attempt a write while full, then check rejection, overflow_error, and unchanged stored data.
  4. D. Run an arbitrary constrained-random seed without targeting or checking invalid behavior.
Continue practicing

Related questions

Reference ModelsMatch transactions in strict order→RTL DesignBuild a synchronous FIFO and race-free BFM→Hardware-Software IntegrationCo-verify a memory-mapped minimum stack→
asic.fyi · Learn silicon end to end.info@asic.fyi