W
Weng Tianxiang
Guest
Hi,
I copies the following notes from a web post in this group as for my
later use.
-- std_logic_vector( std_logic_vector ) : converting std_logic_vector
to std_logic_vector
-- std_logic_vector( std_logic_vector ) : converting std_logic_vector
to std_logic_vector
-- to_std_logic_vector( integer, n ) : converting integer to n bits
std_logic_vector
-- signed( std_logic_vector ) : converting std_logic_vector to integer
Finally when I wanted to use the function to_std_logic_vector( integer,
n ), I found ieee.numeric_std.all has no such function.
What function can I use to transfer an integer to std_logic_vector?
Thank you.
Weng
I copies the following notes from a web post in this group as for my
later use.
-- std_logic_vector( std_logic_vector ) : converting std_logic_vector
to std_logic_vector
-- std_logic_vector( std_logic_vector ) : converting std_logic_vector
to std_logic_vector
-- to_std_logic_vector( integer, n ) : converting integer to n bits
std_logic_vector
-- signed( std_logic_vector ) : converting std_logic_vector to integer
Finally when I wanted to use the function to_std_logic_vector( integer,
n ), I found ieee.numeric_std.all has no such function.
What function can I use to transfer an integer to std_logic_vector?
Thank you.
Weng