Forum Discussion
Altera_Forum
Honored Contributor
17 years agois there a mechanism in verilog to validate parameter values?
I'm working on a very simple verilog module that has a parameter for the width of an input signal. I'll be using "[WIDTH-1:0] nomenclature for register instantiations, for instance.. Two quest...
Altera_Forum
Honored Contributor
17 years agoIs it going to be a custom component in SOPC Builder? If it is, you can add ranges to generics in your hw.tcl file that will notify the user and stop him/her from generating the project if the value is outside the range.