- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am new to altera modesim. wt is .do file???? I have created a nios system.i am faollowing http://www.altera.com/literature/an/an351.pdf . but at end while simulating I am not able to find any .do file in my design. from ecipse run as >>>nios II modelsim a modelsim window comes. selecting variabls and running in wave window not giving output. In the above pdf it is written to load wave.do file. but I am not finding any macro file in load> macro file. how to generate .do file or maco fi I modelsim?? Any reply highly appreciated. Thank youLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Hi, I am new to altera modesim. wt is .do file???? I have created a nios system.i am faollowing http://www.altera.com/literature/an/an351.pdf . but at end while simulating I am not able to find any .do file in my design. from ecipse run as >>>nios II modelsim a modelsim window comes. selecting variabls and running in wave window not giving output. In the above pdf it is written to load wave.do file. but I am not finding any macro file in load> macro file. how to generate .do file or maco fi I modelsim?? Any reply highly appreciated. Thank you --- Quote End --- I haven't used modelsim with a nios processor but in general you have to generate an input (stimulus) to your system in order to see the output. In a .do file you can generate the clock signal, the reset signal, input signal needed to run the simulation. Another (more flexible but a little complicated) way is to create a tesbench in vhdl. Have a look here: http://pages.cs.wisc.edu/~david/courses/cs552/s10/includes/modelsim.html#do http://www.tkt.cs.tut.fi/tools/public/tutorials/mentor/modelsim/getting_started/gsms.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a .do file is just a script file for modelsim. It is written in TCL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After setting up your simulation, with the required signals in a Wave window, press the 'save' icon in the wave window. This generates the wave.do file with all the signal names in it. Next time you open this simulation, you can restore the wave settings by typing 'do wave.do' at the modelsim prompt.
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