Altera_Forum
Honored Contributor
16 years agoHow do I choose between more than two values in verilog
I'm working on a project that requires me to improve on an already existing project. The contains this syntax
wire [15:0]music1=(instru)?music1_ramp:music1_sin; which is to choose between music1_ramp and music1_sin. I want to expand this in such a way that I can choose between more than two options (say five), please can anyone tell me a syntax I could use to do this as I am still new to the language