Forum Discussion
Altera_Forum
Honored Contributor
14 years agoFor loop-VHDL
How do i write for i= 0:63 :360 (matlab code) in VHDL .searched for long about for loops but couldn't see any instance of the above form. Is defining an array and writing "for in A"the only way??
Altera_Forum
Honored Contributor
14 years agoSorry, but I'm very poor at matlab.
Does your example evaluates in the following: for i = 0, 63, 126, 189, 252, 315 : the loop body is executed i = 378 : the loop is exited Do you have to compare i to 360 instead of 378?