- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
Due to some constraints, I need to design a customized RAM for my project. It works pretty well but here got a little problem. I initialize the content of RAM by giving initial value in simulation waveforms. I find that this is not a efficient way and therefore I came across a Memory Initialization File (.mif). Then created a .mif file. Is that anyone knows how to initialize the RAM using this .mif file? Thanks and Regards ty6Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It depends on what you mean by RAM
1) in case it is external RAM to your FPGA you will need to initialize it from your FPGA design, by upload circuits or by a embedded processor like a NIOS-II or (in case your board provides this) by a monitor program supplied by the board manufacturer. 2) in case it is on-chip RAM you created by means of MegaWizard, you can specify the .mif file during one of the dialog menus in the Wizard. Hope this helps.
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