Forum Discussion
Tim10
New Contributor
7 years ago10996 Verilog HDL error at <location>: parameter "<name>" has no initial or actual value
Hi, I'm trying to pass a parameter down a chain of modules, but I get an error in top.v about the parameter having no initial nor actual value. Any ideas? Simple typo? Thanks, Tim. testbench.v ...
Tim10
New Contributor
7 years agoSomething that tripped me up is that if you synthesise the testbench (i.e. set testbench.v as the top level entity instead of top.v), then the parameter is passed down the chain even without default parameter values.
It is possible to use a parameter in a Verilog literal? e.g.
my_reg <= WIDTH'd0;If not, where is the best place to go to request a Verilog language change and garner feedback on whether anyone would find it useful?