Get_report_panel_data, Usage, Options – Altera Quartus II Scripting User Manual
Page 387: Description, Example, Get_report_panel_data –257

Chapter 3: Tcl Packages & Commands
3–257
report
© July 2013
Altera Corporation
Quartus II Scripting Reference Manual
get_report_panel_data
Usage
get_report_panel_data [-col
Options
-col
-col_name
-id
-name
-row
-row_name
Description
Returns non-empty data for the specified row and column of the specified panel. If the data is empty or if
the row, column, or panel do not exist, an error will be generated. To properly handle the error, make sure
to catch the result as in the following example:
if [catch {set data [get_report_panel_data ...]} result] {
puts "No data found"
} else {
puts "Got $data"
}
Using the panel id and row and column indices provides faster data access than using panel, row, and
column names.
Panel ids and row and column indices that you have cached may become outdated or invalid if the report
is unloaded or reloaded. This error occurs after compilation or with calls to the "project_close",
"unload_report", and "load_report" commands.
Panel, row, and panel names support wildcards.
The table of contents portion of the Compilation Report window shows short panel names for better
readability. However, the panel name used 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 used by this Tcl command is "Analysis &
Synthesis||Analysis & Synthesis Summary".
Example
load_package report
project_open chiptrip
load_report
# Set panel name and id
set panel {Flow Settings}
set id [get_report_panel_id $panel]
# Set row name
set rname {Revision Name}
# Get row 2 - column 1 data
get_report_panel_data -row 2 -col 1 -id $id
# Get row {Revision Name} - column 1 data
get_report_panel_data -row_name $rname -col 1 -id $id