Vector Slicing in assigments

Guest
Hi,

I want to assign to a vector of 64 bits "0001" and the rest to
zeroes

I tries

output <= ( 64 downto 4 => '0', 3 downto 0 => "0001" ) ;

but that didn't work. Does anyone know how I can achieve want I want to
do?

Thanks,
Noel
 
Try this
output(64 downto 4) <= (others => '0');
output(3 dowtno 0) <= "0001";

regards,
Arul
 
try:
output <= ( 64 downto 4 => (others => '0'), 3 downto 0 => "0001" ) ;
 

Welcome to EDABoard.com

Sponsor

Back
Top