Forum Discussion
Altera_Forum
Honored Contributor
10 years agosigned integer to std_logic_vector and vise versa
Hello Altera people ! I have two questions : 1 // I need to read a signed integer and compare it in vhdl ! Knowing that the output is std_logic (either vector or simple). how to do it ? wh...
Altera_Forum
Honored Contributor
10 years agouse ieee.numeric_std.all;
signal slv : std_logic_vector(10 downto 0); signal uns : signed(10 downto 0); uns <= SIGNED(slv);