How can $deposit
be used when the path includes the index from the generate
loop. When I try:
for(int idx=0; idx<`NUM_OF_ENGIES; idx++)
$deposit(i_engines_array.engines_loop[i].engine_top.soft_reset_n, 1'b0);
I get the error:
Error-[STASKEC_IFAIDT] Illegal argument to $deposit task
The first argument passed to $deposit task: path is illegal.
Please pass net/reg/bitselect type to $deposit task and recompile.