Forum Discussion
Altera_Forum
Honored Contributor
15 years agoModelSim commands
Hey guys,
I got to know that ModelSim can be also operate through its "Transcript" window. E.g. if you type run in simulation mode, the simulation starts. Is there a summary of all those commands available? Thanks, Mel6 Replies
- Altera_Forum
Honored Contributor
Fine, thanks... I'll try to work with those things :)
- Altera_Forum
Honored Contributor
--- Quote Start --- In order to not to hang simulation, you should put "run 100 us" for example. --- Quote End --- Or write a decent testbench with a timeout if the simulation doesnt complete. - Altera_Forum
Honored Contributor
also log -r /*
- Altera_Forum
Honored Contributor
Hi, YES !, you get it in the help menu, especialy in pdf documentation.
You can put all your commands in a macro file (=text file with .do or .tcl extension that you can run with "source mymacro.do" or "do my macro.do" Those macros are TCL (see TCL langage) In order to not to hang simulation, you should put "run 100 us" for example. - Altera_Forum
Honored Contributor
Quick reference that I use all the time:
vcom (-work library) : compile VHDL (into the specific library) vlog : compile verilog vsim <module> : start simulation of "module" quit - sim run x ns (-all) : run for x ns (-all = untill simulation stops). - Altera_Forum
Honored Contributor
The commands can all be found in the modelsim documentation.