Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
923 Views

[ModelSim] how to run a bash script from within ModelSim?

Hi All, 

 

I'd like to run a bash script from within ModelSim Transcript window. How can I do so?  

 

Thank you!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
52 Views

Modelsim runs TCL. Bash would need to be handed over to the OS. tcl has an "exec" command that passes instructions to the OS.

Altera_Forum
Honored Contributor I
52 Views

Also, anything the TCL interpreter doesnt understand, it should pass directly to the OS.

Reply