Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Reason about same-region forked output order

Hardware interview practice

Reason about same-region forked output order

EasySystemVerilog SchedulingSystemVerilog

Three sibling processes created by one fork each call $display immediately, with no delay, event, or other synchronization. What output order is guaranteed?

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

fork
  $display("A");
  $display("B");
  $display("C");
join
Choose one

Answer choices

  1. A. Source order
  2. B. Reverse source order
  3. C. No particular sibling order
  4. D. Alphabetical string order
Continue practicing

Related questions

Testbench ConcurrencyCapture per-iteration values in fork...join_none→Testbench ConcurrencyRace a transaction against a scoped watchdog→VerificationFix event-loss and shared-state monitor bugs→
asic.fyi · Learn silicon end to end.info@asic.fyi