Forum Discussion
Altera_Forum
Honored Contributor
15 years agoNow, another question.
I thougth my video problems could come from unsufficent bandwidth, so i've set the clipper to clip a 320*240 portion of the 720*576 input. and i've downsampled the color planes form 8bits per color plane to 5 bits per color plane, so i'll have 15 bit per pixel in RGB. DE2 has a SDR SDRAM, whose controller works properly only at 50Mhz. So, sdram clock and sdram controller clock works both at 50Mhz. Data width of the sdram is 16 bits, so 16bits*50mhz=800mb/s Am I right? using a framebuffer with triple buffering, i should have 3 buffers, so 6 avalon buses. tre buffers means that i must have at least 320*240(video heigth and width)*2 (write and read)*50hz(pal interlaced frequency)*3(numeber of buffers)= 345600000b/s as transfer rate. So, my bandwidth should be correct. For the framebuffer, I've set avalon mm masters port width 64 write only masters interface FIFO depth 64 write only master interface burst depth 32 read only masters interface FIFO depth 64 read only master interface burst depth 32 I am not using pipeline rigth now.. I'ìve tryed other values, but they don't seems to work properly. I think this should be "the problem" in my system pipeline. and the deinterlacer i am using doesn't use buffering, only performs bob duplication. Or should I set fifos for cvi and cvo to any particular values in order to have a working system? Could you give me any other hint, please? Best regards Phate