- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
i am working on cyclone II. As i am new in vhdl so i do not know how to deal with images in vhdl. i want to read an image that is already stored in memory. please can you help me how i can read an image in vhdl or verilog ? Thank you RizwanLink Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this on an FPGA or in a testbench?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this on an FPGA or in a testbench?
Hi Tricky yes, it is on FPGA. Thank you Rizwan- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I it stored in internal or external memory? either way, you need an address controller to read the image out in the correct order. This is usueally just a couple of counters for x and y position.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Tricky!
i think there is some understanding mistake, the image is already stored in PC memory and i want to read that image from PC memory and store it in the ROM of FPGA. Secondly, what type of memory is more feasible to use? (if my image size is 120X150 greyscale). Thank you. Rizwan- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you want to store it as a ROM, you need to create a .mif file so that the onboard memory can be powered with the contents already in there.
If you want to transfer from PC to FPGA on the fly, then you have to transfer it via some means - RS232, ethernet. etc. It isnt anything more exciting that just a data transfer.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Tricky!
If I use ROM then i should use .mif or hex file. (Is there any difference to use .mif or hex file on design point of view or both of these files use for same purpose ? ) Thank you- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Both files can be used for the same purpose.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page