Yes, that's exactly correct. You are right.
My FIFO need to store an image of 3000 * 2000 bits size, so about 23000 words deep.
Every line of the image to extract is maximum 3000 bits lentgh and minimum 1024 bits length. so I need 4 to 12 consecutive read in my DDR2 memory to have all the line (and some useless bits!).
"If only 2 of the words aren't full, that's still pretty efficient on bit usage(unless it's extremely shallow)."
I doesn't understand very well what you mean. Please, before your vacation (lucky man ;-) ), could you give me more explanation about your solution.
Thank you very much Rysc! And have nice holliday!
See you.
Fabrice.