M
mrfirmware
Guest
I'm using fork-joins in my testbench and I just want to be sure that
the more succinct version is functionally identical to the long
version (shown below).
// Succinct
fork
run_test(instance_1);
run_test(instance_2);
join
// Long
fork
begin
run_test(instance_1);
end
begin
run_test(instance_2);
end
join
I'm using SystemVerilog but I don't think this would be different in
Verilog.
Thanks,
- Mark
the more succinct version is functionally identical to the long
version (shown below).
// Succinct
fork
run_test(instance_1);
run_test(instance_2);
join
// Long
fork
begin
run_test(instance_1);
end
begin
run_test(instance_2);
end
join
I'm using SystemVerilog but I don't think this would be different in
Verilog.
Thanks,
- Mark