Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- I think you should use "vector" signals instead of sign or unsign. --- Quote End --- A signed/usnigned is a vector type. and is perfectly suitable here. --- Quote Start --- I do not write: met <= met + 25 because I want to increase the variable 'met' step by step. Specifically I want 'met' to take the values 1 then 2 then 3 and etc and this is the reason that I use the the loop in my code. --- Quote End --- Then you would not use a for loop. loops unrol into parrallel logic. You need a clock. And a good VHDL tutorial (I think you need to go back to step one and start again. Writing VHDL is NOT like writing C)