In reply to atinesh229:
No I am not saying that.
You can find examples on-line about how/where to write “if” statements and also how to instantiate a module.
Let me write a small template.
//How to write if statements
always @(posedge clk) begin
//if statement is present inside a always block
if(your condition) begin
your statements
end
end
//How to instatiate
module xyz;
//below instantiation is not inside always block
jkflop1(j1,…);
jkflop2(j2…);
//your codes
endmodule
Kiran