Guest
Hello Folks,
I would like to shift some set of bits in a std_logic_vector array
CALCROCESS(CLK)
signal REG_S: std_logic_vector (15 downto 0);
begin
if (CLK = '1' and CLK'event) then
REG_S(15 to 13) <= REG_S(14 to 12);
REG_S(11 to 6) <= REG_S(10 to 5);
REG_S(4 to 1) <= REG_S(3 to 0);
end if;
end process CALC;
I am getting an warning message as "The range is "null range" and error
message as "Direction of the discrete range must be the same as that of
the prefix of the slice name"
I didnt understand the error ? Can anyone explain this prob ?
Thanks in advance,
ALI
I would like to shift some set of bits in a std_logic_vector array
CALCROCESS(CLK)
signal REG_S: std_logic_vector (15 downto 0);
begin
if (CLK = '1' and CLK'event) then
REG_S(15 to 13) <= REG_S(14 to 12);
REG_S(11 to 6) <= REG_S(10 to 5);
REG_S(4 to 1) <= REG_S(3 to 0);
end if;
end process CALC;
I am getting an warning message as "The range is "null range" and error
message as "Direction of the discrete range must be the same as that of
the prefix of the slice name"
I didnt understand the error ? Can anyone explain this prob ?
Thanks in advance,
ALI