- Joined
- Apr 7, 2015

- Messages
- 1

- Reaction score
- 0

BTW Didn't know where else to post a VHDL question x_x

I have to write a function where I get a bit_vector(7 downto 0) and turn it into an integer variable. The bit_vector is in that case a binary number. I would like to do it without some IEEE or other library, if that is possible. I thought of getting the bit_vector entrys seperatly and then multiply it with 2^(vector position). But I do not know, how i get the bit variable into an integer variable, so that i can multiply it.

Maybe someone has an idea?^^