Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHello,
Sorry to hijack this thread, but this seems like a good thread too. I'm building a frame grabber using FPGA I have decided to use c3088 camera which uses ov6620 from Omnivision on my project. I would like to grab 2 frames into the FPGA. The camera has VSYNC, HREF, PCLK AND 8 bit for each pixel data. VSYNC tells us the start of a new frame, HREF tells us the start of new line while PCLK tells us a new pixel coming in. The camera provides 352x292 pixel but I'm only interested in the 1st 50x50 of the frame in the upper left corner. I would like to save the array of data into the SDR SDRAM. I've read some other project which is somewhat similar to mine. The fella build a component to receive the data from the camera in vhd and then add that component into sopc builder. I've also build component that would able to extract the first 50x50 pixels. and this is where i couldn't go further. The problem that im facing is how do i actually save this array of data into the SDRAM? I didnt saw any megacore ip for this SDRAM but i do found that there's a sdram controller in sopc builder. As, I'm quite new to this. I would like to know what is avalon in sopc builder, and what actually sopc builder do? I followed the instructions for building a nios system. but how does this system actually helps me in saving the array of data in SDRAM? What i know is that we can run C program in a nios ii system. but i do not need to run a c program for this system.