L
Lee
Guest
Dear all,
I have the following code,
module model_proto;
.....
endmodule
module test;
model_proto inst 1
..
..
..
model_proto inst n
endmodele
Here, can I make n as flexible number (variable). When I call the
module in the other module, I can initialize n.
I need a module that have different number of instances. I don't like
to maintain two or more files. How can I make it?
Thanks,
Adrian
I have the following code,
module model_proto;
.....
endmodule
module test;
model_proto inst 1
..
..
..
model_proto inst n
endmodele
Here, can I make n as flexible number (variable). When I call the
module in the other module, I can initialize n.
I need a module that have different number of instances. I don't like
to maintain two or more files. How can I make it?
Thanks,
Adrian