Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Fork-join_none

Hardware interview practice

Fork-join_none

MediumVerification UtilitiesSystemVerilog

What is the guaranteed print order?

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

initial begin
  fork
    $display("child");
  join_none
  $display("parent");
  #0;
end
Choose one

Answer choices

  1. A. child, then parent
  2. B. The order is nondeterministic
  3. C. Only parent
  4. D. parent, then child
Continue practicing

Related questions

Verification UtilitiesFork-join_any→Verification UtilitiesWait fork→
asic.fyi · Learn silicon end to end.info@asic.fyi