- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I designed a custom component in Sopc builder to insert in a Nios system...my custom component is based on a Rom memory that during simulation I loaded with a file.mif using the megawizard tool...now when I created my custom component with an avalon MM interface in Sopc builder...How should I do to load this file in a stable way?? RegardsLink Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any answer??? any idea???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How did you infer your memory in your custom component? If you used an altera memory component, then you can use a parameter to control what file to use to init the contents.
Have a look at the recommended hdl coding styles (www.altera.com/literature/hb/qts/qts_qii51007.pdf) pages 11-33 and over. Alternatively you can also use code generated by the megawizard.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I load a .mif file created by me using the megawizard of the ALT_ROM memory...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
so....where should I insert this .mif file in my sopc system????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the .mif file should be called by the hdl code generated by the megawizard, you don't need to include it in SOPC builder. Just include your custom component in SOPC builder as any other one.

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