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 ago@jb123 yes that is what i have asked; at few places in my code i have to deal with large integers like 0:64 :10000 , i can't keep giving values; i think i have to create a loop to define a array as such and then gave the array range to the for loop ;
Correct me if I am wrong; @Tricky : How do i use a constraint without using a while loop? any alternative loop which can be synthesisable and serves the purpose??