Verification #48 · 2026-11-10 · fork/join_none · Easy · about 10 min

Four workers, all with the same number

spawner in spawner.sv starts workers without waiting for them. start_all(n) launches n threads with fork ... join_none and returns at once. Worker k waits k+1 rising edges of clk, then appends k to finished.

So after start_all(4), finished should grow by one entry per edge: 0, then 1, 2, 3. Batches can overlap, and each call must behave the same way.

Run shows finished filling with the wrong numbers. Fix spawner.sv.

Write and run your answer in the browser. The hidden tests check it, and it’s free.