S
Stefan Duenser
Guest
Hello
A very easy problem for most of you I assume: Normally when I want to shift
left I do it the following way:
result((arraylength-2) downto 0) & '0';
So far so good, the problem is how can I write this statement when I want to
shift for example by 100 positions?
It wouldnt make sense to write result((arraylength-101) downto 0) &
"0000000.....000" 100 times a zero.
I tried it this way but it didnt work: result((arraylength-101) downto 0) &
(others=>'0');
Any other suggestions?
Thanks a lot
A very easy problem for most of you I assume: Normally when I want to shift
left I do it the following way:
result((arraylength-2) downto 0) & '0';
So far so good, the problem is how can I write this statement when I want to
shift for example by 100 positions?
It wouldnt make sense to write result((arraylength-101) downto 0) &
"0000000.....000" 100 times a zero.
I tried it this way but it didnt work: result((arraylength-101) downto 0) &
(others=>'0');
Any other suggestions?
Thanks a lot