Forum Discussion

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

image processing

We r using cyclone III EP3C120F780C7 .

Through DVI daughter card we want to send images to the board for processing and after that will retrieve those images again on the pc

Please tell us it is possible for us to send single image through dvi to the board and if it is possible then what would be the source through we could send image

We r going to use hyperspectral image

17 Replies

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

    As Tricky said, the relatively simple task of getting your image into the FPGA so it can process it is being complicated by your choice of trying to use DVI for something which it was not intended.

    Sure, you can probably eventually get something working.

    But I really think you would be better off taking Tricky's advice and use some other interface (USB, JTAG, RS232, Ethernet, PCIe, .... ) which already has the necessary support on the PC side to accomplish your task.

    Good luck!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It is possible to get image into the board using jtag? yeah, is it. Beacause board has one embedded usbjtag and external jtag header

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

    There are other methods, but one common approach with JTAG is to add the JTAG Avalon-MM Master component and connect it to your memory. Then use a TCL script via System Console to copy the image data from your PC hard drive to the memory in your FPGA.

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

    so we r using dual channel ddr2 ram as memory.The system console would be the nios ii soft system console, is it?

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

    The program name is "system-console" or maybe "system-console.exe" You can launch it from Eclipse on the "Nios II" menu -> "System Console", or you can launch it manually from the command prompt or any shell script you might write.

    http://www.altera.com/products/software/quartus-ii/subscription-edition/qsys/systems/qts-systems-console.html

    The debugging handbook and training video are worthwhile:

    http://www.altera.com/literature/hb/qts/qts_qii53028.pdf

    http://www.altera.com/education/training/courses/oemb1117
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Sir, please tell us where and how we can see and display the image stored in memory??? will it display on nios ii console or system console terminal window???

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

    --- Quote Start ---

    Sir, please tell us where and how we can see and display the image stored in memory??? will it display on nios ii console or system console terminal window???

    --- Quote End ---

    You can use the system-console to dump the memory that contains the image. You can transfer the processed image back to the PC and display it there.