Write a code for fork join none using fork join

write a code for fork join none using fork join

In reply to Prudhvi Krishna :

That is not a question. But here is an answer.

module with_join_none;
  initial 
    fork
      #1 $display("Hello");
      #2 $display("World");
    join_none
endmodule
module with_join;
  initial 
    fork
      #1 $display("Hello");
      #2 $display("World");
    join
endmodule

1 Like

i didn’t get your question.could you elaborate it?

It’s a trick interview question. It can;t be answered without asking more questions.

the actual question was: to develop a code with Fork Join, we need Fork -Join none behavior