Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15321 Discussions

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

Altera_Forum
Honored Contributor II
1,019 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
148 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 II
148 Views

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

Reply