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

tcl script capture on a txt file

Altera_Forum
Honored Contributor II
1,165 Views

hello I'm novice in the use of the tcl script. 

does anyone know how can I capture on a txt file the output coming from the schell following the script?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
450 Views

 

--- Quote Start ---  

 

hello I'm novice in the use of the tcl script. 

does anyone know how can I capture on a txt file the output coming from the schell following the script? 

--- Quote End ---  

 

 

I don't see how this has anything to do with a Tcl script. It sounds like what you want is to capture the output from a program, that just happens to accept a Tcl script on the command line. In that case, just use the shell: 

 

For example, here's a program that generates output: 

 

dwh@kiwi ~ $ quartus_stp Quartus II SignalTap II Version 9.0 Build 184 04/29/2009 Service Pack 1 SJ Web Edition Copyright (C) 1991-2009 Altera Corporation Usage: ------ quartus_stp | -v] quartus_stp <project name> quartus_stp -t <script file> quartus_stp -s quartus_stp --tcl_eval <tcl command>  

 

and here's that output redirected to a file 

 

dwh@kiwi ~ $ quartus_stp > tmp.txt  

 

Cheers, 

Dave
0 Kudos
Reply