Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

VHDL and SOPC together

Hello,

i'm currently working on cyclone III (ep3c120f780c7n) development board and try to do something without any idea on how to realize it

i made working the following project "cycloneIII_3c120_dev_niosII_standard" with the simple_socket_server and the web_server

now i would like to reuse this design but for a more specific application,

I have a camera (mt9m011) which is working after an I2C configuration and send me some pixels datas

what I want to know is : (how) can I put my vhdl code in that design to keep pixels in the ddr2 and then send this datas to the PC

any ideas is welcome because I am working on this since weeks without result and I don't understand verilog code as the top level code

thanks in advance

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello,

    1> Regarding loading the Camera Pixel Data to DDR:

    You can add a custom module, It has to do the following

    a) takes input from the camera sensor,

    b)write it into a fifo wrt to camera_clk and then read from the fifo wrt[with respect to] ddr_clk

    c) Then write it to the ddr by designing a simple avalon bus interface that supports the DMA component already available in the SOPC builder in VHDL/verilog

    DMA component is instanced to your design in the SOPC along with the custom component [above explained] you designed.

    Regards,

    Jagadeesh.B