G
Gietek
Guest
Hi,
I try this:
Y <= (Sel => X, others => '0');
|
non-locally static or null range choice must be only choice
I try this:
but it does an error:entity demultiplex is
generic(N :integer := 4);
port(X :in bit;
Sel :integer range 0 to N-1;
Y ut bit_vector(N-1 downto 0));
end demultiplex;
architecture dataflow of demultiplex is
begin
Y <= (Sel => X, others => '0');
end dataflow;
Y <= (Sel => X, others => '0');
|
non-locally static or null range choice must be only choice