Altera_Forum
Honored Contributor
15 years agogenerate problem
Hi friends,
I try to replicate a module by N (parameter) times. Each small instance is connected (wire) with prev and next. In original design (fixed 8 cells) I just declared 8 wires wire out7, out6, out5, out4, out3, out2, out1, out0; But how can I do now when I am (try to be) parametrized? generate for ( i = 0; i <= N-1; i = i+1 ) begin: inst shiftcell ( .Load(Load), .Clock(invSCK), .Din(DataIn[i]), .Prev(Serial_In), .Dout(out7) ); end endgenerate For out7 wire name I need somehing like out{i}. Thanks very much for help in advance.