Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- 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