Get_report_panel_row, Usage, Options – Altera Quartus II Scripting User Manual

Page 391: Description, Example, Get_report_panel_row –261

Advertising
background image

Chapter 3: Tcl Packages & Commands

3–261

report

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

get_report_panel_row

Usage

get_report_panel_row [-id <table_id>] [-name <table_name>] [-row <row>] [-row_name
<row_name>]

Options

-id <table_id>: Id of panel from which to get data

-name <table_name>: Name of panel from which to get data

-row <row>: Row (or Y) coordinate

-row_name <row_name>: Row (or Y) name

Description

Reports data of the specified panel row.

Using the panel id and row index provides faster data access than using panel name and row name,
respectively.

Panel ids and row indices that you have cached may become outdated or invalid if the report gets
unloaded or reloaded. This error occurs after compilation or with calls to the "project_close",
"unload_report", and "load_report" commands.

Panel and row names support wildcards.

The table of content portion of the UI 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 UI Compilation Report window or the .rpt file of the corresponding
command-line executable. For example, the table of content 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 {Revision Name} data (use panel id)
get_report_panel_row -row_name $rname -id $id
# Get row 2 data (use panel id)
get_report_panel_row -row 2 -id $id
# Get row 3 data (use panel name)
get_report_panel_row -row 3 -name $panel

## Get the last row data
set row_cnt [get_number_of_rows -id $id]
set last_rindex [expr $row_cnt - 1]
get_report_panel_row -row $last_rindex -id $id

unload_report
project_close

Advertising