Altera_Forum
Honored Contributor
13 years agooverflow in clocked video input (HD-SDI as input)
Hi
I'm doing frame buffering for HD-SDI video (720p). The connection of several important components in my design is: SDI rx-->CVI-->SGDMA-->DDR3 My problem is that the copied data in DDR3 are not correct. I'm guessing the overflow in CVI may cause me this problem. (The first one or two lines are correct but the following lines are incorrect. Incorrect data are repeated two-byte data such as YCbYCb (0xa8 0x2c 0xa8 0x2c ...). I'm expecting something like YCbYCr (0xa8 0x2c 0xa8 0x87). (0xa8 0x2c 0xa8 0x87 indicate two pixels in the color bar) So I check this forum and find that CVI overflow may cause this problem. Then, I check the overflow bit in CVI status register and find the overflow bit is 1'b1. The FIFO setting in CVI is 1920 pixels for HD-SDI and I've tried to increase it. However, the problem still exists. What should I do to avoid the overflow in CVI in order to get correct copied data in DDR3? Does anyone have some ideas about it? Thanks a lot.