Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi Witty. I think I have a solution to your task. You can write a Tcl script for the whole process of the compilation step by step and let the "quartus_sh -t xxxx.tcl" command run the script for you. You can use "[catch { } result]" command in the Tcl script file to capture the returned report for every step in the compilation process.
Here are some examples: Script style 1: load_package ::quartus::flow project_open execute_flow -compile project_close Script style 2: load_package ::quartus::flow project_open execute_module -tool map execute_module -tool fit execute_module -tool sta execute_module -tool asm project_close Script to get the reports: load_package ::quartus::report project_open load_report get_report_panel_id write_report_panel unload_report project_close