Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- is there a way to instantiate the same module with different set of parameters based on an input register value --- Quote End --- No way. Module parameters as well generate expressions must be constants. Parameters define the hardware structure and logic wiring which can't be dynamically redefined. You need to redesign the module to take e.g. SamplesPerCycle as a variable input. A parameter may specify the maximum sample count or the variable width.