Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- FOR i IN 0 to 16383 LOOP synchro_gear_vect(13 DOWNTO 0) <= bit_vector(to_unsigned(synchro_gear,i)); END LOOP; END IF; --- Quote End --- above loop will be unrolled by compiler to last case of i = 16383. All other cases will be overwritten. regarding bit_vector, change them to std_logic and you are avoiding the old type