Forum Discussion
Altera_Forum
Honored Contributor
13 years agoIm assuming lsb is a std_logic_vector? you forgot to cast it to an unsigned at the end of the line before using the to_integer conversion.
PS. I dont think you'll get the circuit to synthesise if msbd and lsb are signals.