Forum Discussion
amrmesh
New Contributor
6 years agoHello again,
Sorry, I don't understand why at line 67 the compiler complains about out-of-bounds, do you know which part causes out-of-bounds access?
at first I thought I'm mixing shift register size with block size, but I don't see any problem with that, do you know which part causing it?
HRZ
Frequent Contributor
6 years agoSorry, I had to manually define BLOCK_SIZE and II_CYCLES to test your code and forgot to adjust the line numbers accordingly. You should deduct 3 from the line numbers I posted above to match your code. The second warning is on line 64 on your code where "presult[e+1]" would be out of bounds for e=II_CYCLES.