FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6343 Discussions

Can FrameBuffer be connected to onchip-FIFO,and then to SGDMA?

Altera_Forum
Honored Contributor II
1,214 Views

Hello,now I design a custom board using cyclone IV EP4CGX15 to transfer video to our SOC. 

 

And now there is no on-board external RAM connected to FPGA,so I have to use on-chip memory. 

 

For I just transfer the video without any processing.can I connect the FrameBuffer's out to onchip-memory? 

 

It is said in the spec that the FrameBuffer buffers frame data to EXTERNAL RAM. 

For If I connect FrameBuffer---->onchio-FIFO(opt)---->SGDMA. 

Does this link have any problem? 

 

Thanks for any suggestions. 

 

Regards.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
288 Views

Just connect simple 1 port 32bit wide RAM to SGDMA and that's it. No point to use FIFO.

0 Kudos
Altera_Forum
Honored Contributor II
288 Views

Socrates,Thank you very much! 

 

Sorry for I'm so newbie in FPGA,I'm not quite clear about your meanings. 

 

I think I didn't express our applications pretty clear. 

We want to use FPGA to act as a Bridge which sends raw video data to out SOC through PCIe. 

And use SGDMA to send video data to PCIe IP provided by altera. 

 

You mean that I should use a dual-port RAM? 

Just like "FrameBuffer--> DualPort RAM--->SGDMA“? 

 

Regards!
0 Kudos
Altera_Forum
Honored Contributor II
288 Views

I'd offer to download framebuffer demo from alterawiki.com :)

0 Kudos
Altera_Forum
Honored Contributor II
288 Views

What is the resolution and bit depth of the video you want to frame buffer? 

Do you want a double or triple buffer? 

 

You will almost certainly not have enough on-board memory if you have video of any  

significant size. 

 

For instance, to triple buffer color video at VGA resolution, you would need a minimum of 

24 (bits per pixel) * 640 (columns) * 480 (rows) * 3 (buffers) = 21,600 Kbits 

of embedded memory, which not even the largest Cyclone V devices are supporting. 

 

You will almost certainly need an external SDRAM or SRAM in order to frame buffer your video. 

 

 

 

 

--- Quote Start ---  

I'd offer to download framebuffer demo from alterawiki.com :) 

--- Quote End ---  

0 Kudos
Altera_Forum
Honored Contributor II
288 Views

Thank you gwall. 

 

The FrameBuffer write video buffer to RAM with address is added. 

I thought I can Link FrameBuffer to onchip FIFO in Qsys. 

It should be wrong.The FrameBuffer write data with the writing address is added after every write cycle,not write to a constant address. 

 

Thanks Socrates.Regards!
0 Kudos
Reply