- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Im wondering if it possible to store some pictures file in the FPGA and having them loaded to the monitor screen? If yes, how do I do that? thank you very much! =)Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I only need to display the image file to the screen ...no arithmetic or manipulation onto the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You can use the RAM memory block of the FPGA to store a picture, but there will be maybe a problem of size, because the onchip memory is not very large (depend on the FPGA you have). Which FPGA do you use ? What is the size of the picture to store ? Jérôme- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are using Altera FPGA the onchip-memory can be initialised by a hex file, you can configure that option in the SOPC-Builder settings of the module. If you generate yourself a compatible hex-file then you can have a picture in the FPGA right from the start. (works fine for 640x480 here, I scale it in the ouputchain afterwards)
Good luck!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- If you are using Altera FPGA the onchip-memory can be initialised by a hex file, you can configure that option in the SOPC-Builder settings of the module. If you generate yourself a compatible hex-file then you can have a picture in the FPGA right from the start. (works fine for 640x480 here, I scale it in the ouputchain afterwards) Good luck! --- Quote End --- Thanks for the reply. Im not too sure.. can you give me a detail description on how can it be done?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Hello, You can use the RAM memory block of the FPGA to store a picture, but there will be maybe a problem of size, because the onchip memory is not very large (depend on the FPGA you have). Which FPGA do you use ? What is the size of the picture to store ? Jérôme --- Quote End --- Hi thanks for the reply.. Im using Cyclone II EP2C35F672C6 from the de2 development and education board. As for the picture. Im not very sure at the moment. Say if the onchip memory is sufficient, how do i do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your FPGA has only 473 kbit. To know if it is enough or not you have to know (or estimate) the size of your picture and the resolution (number of bits to code one pixel).
Else on your board there are also 8 MB SDRAM and 512 kB SRAM that you can use.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Your FPGA has only 473 kbit. To know if it is enough or not you have to know (or estimate) the size of your picture and the resolution (number of bits to code one pixel). Else on your board there are also 8 MB SDRAM and 512 kB SRAM that you can use. --- Quote End --- ok, so how do i store the image to the fpga and display it on the monitor? any sample code/tutorial that i can refer/follow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I never work with it, but I think you can find tutorials and examples in the DE2 CD-ROM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I never work with it, but I think you can find tutorials and examples in the DE2 CD-ROM. --- Quote End --- thanks! =D
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same answer from me, try to look into some example code provided with the board and read the manual from Altera. If you still want to try to fit your Image into the onchip_memory, then I advise to start from SOPC. When you open any module added to a Nios-CPU, there for most modules is a link to the description available. (button in the right upper corner of the opened module) So you could read into that specific description.
Good luck.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Same answer from me, try to look into some example code provided with the board and read the manual from Altera. If you still want to try to fit your Image into the onchip_memory, then I advise to start from SOPC. When you open any module added to a Nios-CPU, there for most modules is a link to the description available. (button in the right upper corner of the opened module) So you could read into that specific description. Good luck. --- Quote End --- thank u very much!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page