If I have a module defined like this:
module mux_1x2(in, out, select);
and I need 32 of them, I know that using structural coding I can do:
mux_1x2 mux01(in[0], out[0], select);
mux_1s2 mux02(in[1], out[1], select);
etc...
But how can I use behavioral programming to make 32 of these in some sort of loop without having to explicitly define each one?
edit: Just for context, I'm trying to make a 2-stage 64-bit carry-select adder