Forum Discussion
localparam and parameter values in Synthesis report
Only parameter will show in report. Yes, you can change localparams to parameters. If you want to use both localparam and parameter, you can use mix approach by specifying localparam equal to the parameter.
Well, take it as a suggestion for improvement then.
Using localparam instead of parameter is a way to protect constants from inadvertently being modified by instantiation, so assigning them from parameters is pointless. I tried to temporarily change localparams to parameters and that works, but it is of course tedious.
Also the display in Parameter Settings by Entity Instance is not the best, with some parameters (for some reason) being of the type unsigned binary being displayed in binary rather than decimal or hexadecimal.
- ShengN_altera1 month ago
Super Contributor
Sure, I had filed an enhancement ticket for the request