In reply to kvssrohit:
module test;
genvar i;
for (i=0; i<2; i=i+1) begin: gen_force
initial
force top.d[i].zzz = 1'b1;
end
endmodule
module top;
dut d[0:1] ();
endmodule
module dut;
int zzz;
endmodule
In reply to kvssrohit:
module test;
genvar i;
for (i=0; i<2; i=i+1) begin: gen_force
initial
force top.d[i].zzz = 1'b1;
end
endmodule
module top;
dut d[0:1] ();
endmodule
module dut;
int zzz;
endmodule