Forum Discussion
Altera_Forum
Honored Contributor
9 years agoconvert the integer to the signed type:
use ieee.numeric_std.all;;
op : out signed(1 downto 0);
op <= to_signed(some_integer, op'length);
Ill let you work out the arrays of 12 bits etc as I assume this is some assignment. There are plenty of VHDL tutorials out there.