Forum Discussion
Altera_Forum
Honored Contributor
9 years agoYou can create a top level verilog file with the Parameter N, and then set the parameter from project settings.
If you're only interested in simulation at the moment, you can set the parameter when you run the simulation in modelsim using the -g option from the command line: vsim my_design -gN=8