Forum Discussion
BSuma
New Contributor
5 years agolocalparam and parameter values in Synthesis report
I am writing a parameterized Verilog module. In the module I calculate some localparam values using the parameter valued passed. Please seed the code below for example. I want to know the values cal...
cblixt1
New Contributor
19 days agoWell, 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_altera
Super Contributor
18 days agoSure, I had filed an enhancement ticket for the request