Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

vhdl integer to std_logic_vector

use ieee.numeric_std.all;
...
my_slv <= std_logic_vector(to_unsigned(my_int, my_slv'length));
Source by electronics.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #vhdl #integer
ADD COMMENT
Topic
Name
4+2 =