Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHere is one way:
outputsignal <= x"00" & inputsignal & x"0000"; Here is another: outputsignal(31 downto 24) <= (others => '0'); outputsignal(23 downto 16) <= inputsignal; outputsignal(15 downto 0) <= (others => '0');