Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Events

Hardware interview practice

Events

EasyVerification UtilitiesSystemVerilog

What happens?

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 →
Starting point

Question code

event done;
initial begin
  @done;
  $display("seen at %0t", $time);
end
initial #2 -> done;
Choose one

Answer choices

  1. A. It prints at time 0
  2. B. The result is nondeterministic
  3. C. It never prints because events retain no state
  4. D. It prints at time 2
Continue practicing

Related questions

Verification UtilitiesMailboxes→Verification UtilitiesSemaphores→
asic.fyi · Learn silicon end to end.info@asic.fyi