Hardware interview practice
Reason about same-region forked output order
Three sibling processes created by one fork each call $display immediately, with no delay, event, or other synchronization. What output order is guaranteed?
Starting point
Question code
fork
$display("A");
$display("B");
$display("C");
joinChoose one
Answer choices
- A. Source order
- B. Reverse source order
- C. No particular sibling order
- D. Alphabetical string order
