Forum Discussion
Altera_Forum
Honored Contributor
17 years agoI don't think you can do that in hardware design. The interface of any module has to be constant. If you are an IP designer then you will go for that in software to let the user choose a given interface. But at the end the compiler wants to see a fixed interface.
You can use an alternative. Let your module have fixed maximum bits then pass a variable value to this bus.