- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all, please I need your help with this issue,
I save my image as text ( 256 * 256) gray scale, and I want to load it to SRAM before start modifying it, but I have no glue how , I meant to use VHDL with NIOS to be able to manage my image using pure VHDL. Thank you.Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is an option to initialize memory blocks with custom data. It should be fine if you need to modify your initial image seldom.You can create such memory initialization file with Quartus and when creating memory block guide the wizard to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- There is an option to initialize memory blocks with custom data. It should be fine if you need to modify your initial image seldom.You can create such memory initialization file with Quartus and when creating memory block guide the wizard to it. --- Quote End --- Thank you for your reply Linas, do you mean the mif file ? If so , I already create it but I couldn't transfer it's contents to my SRAM DQ. Do you have any idea? Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It works fine here. I use MegaWizard Plug-In Manager. When creating ROM IP I just select my mif file unter Parameter Settings / Mem Init / Browse and it does the rest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- It works fine here. I use MegaWizard Plug-In Manager. When creating ROM IP I just select my mif file unter Parameter Settings / Mem Init / Browse and it does the rest. --- Quote End --- I got this , thanks, but my issue is how to store these data in the SRAM? Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, in this case you also need SRAM controller connected to the same bus as ROM is and then some bus master to copy all the data from ROM to SRAM. Either you write your own module to do that or use Nios.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Well, in this case you also need SRAM controller connected to the same bus as ROM is and then some bus master to copy all the data from ROM to SRAM. Either you write your own module to do that or use Nios. --- Quote End --- Thank you Linas for your efforts , I initialized the mif file but till now I don't get how to load M4K with mif file data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
??? The memory megafunction ROM/RAM has already the contents of mif file after synthesis inside. At least it should. Or it isn't your case? Then you need open a ticket at Altera's support.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are further steps I am already searching for them. thanks

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