Forum Discussion
Altera_Forum
Honored Contributor
15 years agoInteger to Bit Vector VHDL code error
I'm new to VHDL and I am trying to convert an integer to a 14 bit vector. Here is the protion of my code. gear_calc <= to_integer(unsigned(to_stdlogicvector(Input_2))); synchro_g...
Altera_Forum
Honored Contributor
15 years agoSo do I need to shift the bits over as they are read into the synchro_gear_vect() bit vector to get a full 14 bit resultant?