Forum Discussion
Altera_Forum
Honored Contributor
13 years agoYes you can do that.
I often do stuff like: module module_name# ( parameter BUS_WIDTH = 32, parameter BUS_WIDTH_DEC = clogb2(BUS_WIDTH) )( ports.... where clogb2 is a function so I can overload the parameter at the instantiation and have it propogate to the other parameter