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

Page 397: Description, Example, Unload_report –267

Advertising
background image

Chapter 3: Tcl Packages & Commands

3–267

report

© July 2013

Altera Corporation

Quartus II Scripting Reference Manual

unload_report

Usage

unload_report

Options

None

Description

Unloads the report for the current revision or the specified revision name.

After the report is loaded or reloaded, the cached panel ids, and row and column indices, may become
outdated or invalid. Altera recommends that you update them before using them.

Example

# Load report package
load_package report
# Open chiptrip project
project_open chiptrip
# Load the current revision report
load_report

# Set panel name and id
set panel {Fitter||Fitter Summary}
set id [get_report_panel_id $panel]

# Get total logic elements
set rname {Total [Ll]ogic [Ee]lements}
set rindex [get_report_panel_row_index -id $id $rname]
set rname [get_report_panel_data -id $id -row $rindex -col 0]
set data [get_report_panel_data -id $id -row $rindex -col 1]
puts "$rname: $data"

# Get total pins
set rname {Total [Pp]ins}
set rindex [get_report_panel_row_index -id $id $rname]
set rname [get_report_panel_data -id $id -row $rindex -col 0]
set data [get_report_panel_data -id $id -row $rindex -col 1]
puts "$rname: $data"

# Unload the report
unload_report
# Close the project
project_close

Advertising