Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16556 Discussions

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

Altera_Forum
Honored Contributor II
1,592 Views

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 II
721 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.

0 Kudos
Altera_Forum
Honored Contributor II
721 Views

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

0 Kudos
Reply