- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I hope someone has been down the path I'm on and can shed some light on my problems. I have been following the instructions found on: performing a functional simulation with the modelsim software. (http://www.altera.com/support/software/nativelink/simulation/modelsim/eda_pro_msimfull_func_sim.html) I am trying to simulate a firmware design incoporating a filter whose coeffecients are stored in an altsyncram component. I want to simulate my design using the coeffecients stored in my .mif file. Following the instructions cited above, I exported a .rif file. At this point, the instructions I get lost:confused: . My project is written in VHDL. I do not know what is meant by 'add the parameter LPM_FILE = "<memory>.rif" to the top level of your test bench or design file'. I have a number of other issues that take place after this particular hang up, but I don't think they are worth investgating until I know how exactly to make ModelSim know to find my coeffecient.rif file. Thanks in advance.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know all possible options with memory initialisation files, I always used *.hex files (also declared with altsyncram instance respectively in Megawizard). The *.hex file had to be placed in ModelSim project top (where modelsim.ini is located). Always exciting, if ModelSim gets it all!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the hint of putting the file in the same directory as the .ini. I will be sure to do that. I am still confused as to the 'parameter LPM_FILE = "yaddayadda.rif"' or similar command that I need to add to my source in order for ModelSim to see it.

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