Posted by Michael van Dam on January 25, 1998 at 18:31:42:
In Reply to: Type Conversion posted by Howard Chou on January 24, 1998 at 02:39:57:
Yep, there is a predefined function which takes care of this.
Include
LIBRARY ieee;
USE ieee.std_logic_arith.ALL;
in your code, and then the function to use is
CONV_STD_LOGIC_VECTOR(int_value, vector_size)
Hope this helps...
Mike