Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21335 Discussions

Tcl script to invoke time quest

Altera_Forum
Honored Contributor II
1,701 Views

Hi, 

 

I had a simple question, what is the command to invoke time quest in the TCL script? i need this result urgent. 

 

Any help would be very much appreciated. 

thanks 

Best regards 

ken
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
967 Views

qexec "quartus_sta <project_name>"

0 Kudos
Altera_Forum
Honored Contributor II
967 Views

Thanks for your prompt replying, 

 

I had tried to use the command and it works well. I am trying to used quartus_sta myproject -c myproject_hcii base on the TCLReference Manual but failed. 

 

I am trying to save the result in one of the file? how do I do it? 

BTW, is that possible for us to invoke this command once the compilation finish? If can what I need to do to include the command above? 

currently I run the TCL script by tools -> tcl scripts -> run 

 

Is that possible to call the Timequest menu out and right click on the slack failure and report timing after the simulation done? 

 

I am sorry; I am quite new in this TCL script. Kindly assist. 

Thanks
0 Kudos
Altera_Forum
Honored Contributor II
967 Views

this should help with automatically running your scripts: 

http://www.altera.com/support/examples/tcl/auto_processing.html 

 

you can redirect output to a file: 

 

qexec "quartus_sta <project_name> > <log_name>.txt"
0 Kudos
Altera_Forum
Honored Contributor II
967 Views

Thanks for your great help!

0 Kudos
Altera_Forum
Honored Contributor II
967 Views

Hi, 

 

I am very new to tcl script and I saw a post regarding this. So I tried to used "POST_FLOW_SCRIPT_FILE" but I am not sure when it is executed. 

 

I want to execute the same tcl script AFTER the time_quest sta finished at once. 

 

Is "POST_FLOW_SCRIPT_FILE" appropriate to realize the operation above ? 

 

I don't want to execute the scripts before timequest sta. 

 

Thanks for any help in advance. 

Best regards 

Angel
0 Kudos
Reply