Forum Discussion
Altera_Forum
Honored Contributor
12 years agoThanks for the response. I tried your suggestion and I get this from Modelsim:
** Error: /some/file.sv(427): (vlog-2118) The function 'makeFoo' is not a valid constant function.
** Error: /some/file.sv(427): Parameter value must be constant.
I'm currently running: Model Technology ModelSim DE vsim 10.1 Simulator 2011.12 Dec 5 2011 which is clearly a bit old, so I'm not sure if that's part of the problem. I know that Modelsim (along with Quartus) does multi-pass static elaboration, but apparently it's having a problem with that here.