tiger_shark
Member level 1
Hi!
In VHDL, you could use GENERIC and use for loop to instantiate variable number of modules, if need be. The synthesizer would then unfold the for loop and basically replicate the code as required.
My question is : Do we have the same approach for verilog? For instance, I have a submodule My_MODULE and I need to instantiate it X times where X is defined as PARAMETER (fixed). Then how would the naming for those generated modules would be?
Thank you very much
TS
In VHDL, you could use GENERIC and use for loop to instantiate variable number of modules, if need be. The synthesizer would then unfold the for loop and basically replicate the code as required.
My question is : Do we have the same approach for verilog? For instance, I have a submodule My_MODULE and I need to instantiate it X times where X is defined as PARAMETER (fixed). Then how would the naming for those generated modules would be?
Thank you very much
TS