Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

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

Altera_Forum
Honored Contributor II
3,724 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
2,853 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
2,853 Views

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

0 Kudos
Reply