Line 47: curr_depth_bufbuf is declared as a 9 bits vector and you are trying to store it in wr which is 16 bits
Line 71: shift_p is declared as a 16 bits vector, thus 2* shift_p fits on 17 bits. I guess something is wrong with the error you get, but code is indeed incorrect.
You did not provide enough data on what you are trying to acheive for me to suggest a correction.
Message édité par h3bus le 30-01-2017 à 13:32:12
---------------
sheep++