Get_report_panel_names, Usage, Options – Altera Quartus II Scripting User Manual
Page 390: Description, Example, Get_report_panel_names –260

3–260
Chapter 3: Tcl Packages & Commands
report
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
get_report_panel_names
Usage
get_report_panel_names
Options
None
Description
Returns a list of panel names for the current report.
The table of contents portion of the Compilation Report window shows short panel names for better
readability. However, each panel name returned by this command is the full panel name as shown in the
right-hand side frame of the Compilation Report window or the .rpt file of the corresponding
command-line executable. For example, the table of contents shows the path "Analysis &
Synthesis||Summary". However, the corresponding full path returned by this Tcl command is "Analysis
& Synthesis||Analysis & Synthesis Summary".
Example
## Load report database and write Timing Analyzer Summary
## panel to file in HTML format
load_package report
project_open chiptrip
load_report
# Set panel name
set fmax_panel "Timing Analyzer Summary"
# Iterate through all the accessable panels
foreach panel [get_report_panel_names] {
# If find the panel '*Timing Analyzer Summary',
# write its content to file fmax.htm
if {[string match "*$fmax_panel" $panel] == 1} {
write_report_panel -file fmax.htm -html $panel
break
}
}
unload_report
project_close