shaiko
Advanced Member level 5
Re: Quartus synthesis error
FvM,
I agree with what you say.
But, there's also reason behind mrflibble's thought...from the point of having the shift register handle all mishaps that it's neighboring logic might throw at it ( i.e - asserting a shift command when the shift width is 0 )
This will take care of the "problem" right ?
FvM,
I agree with what you say.
But, there's also reason behind mrflibble's thought...from the point of having the shift register handle all mishaps that it's neighboring logic might throw at it ( i.e - asserting a shift command when the shift width is 0 )
This will take care of the "problem" right ?
Code:
if left_shift = '1' and data_width > 0 then
data_out ( 0 ) <= input;
for i in data_out ' length - 1 downto 1
loop
if i < data_width then
data_out ( i ) <= data_out ( i - 1 );
end if;
end loop;
else
Last edited: