Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIncrementing loop index in vhdl generate statement
Hi, I am working on an HDL for an Altera design. I came a situation where i want to increment vhdl generate loop index by 2. An example is show below, LABEL: for i in 1 to CNTR_WIDTH ...
Altera_Forum
Honored Contributor
15 years agoHi Jaseel
I'd have suggested the same as Tricky... but he was faster in replying. If you don't like the i*2 solution you can use a while loop instead of for, so you can increment what you want.