Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.26.16. save_report_database (::quartus::report)

The following table displays information for the save_report_database Tcl command:

Tcl Package and Version

Belongs to ::quartus::report

Syntax save_report_database [-h | -help] [-long_help]
Arguments -h | -help Short help
  -long_help Long help with examples and possible return values
Description

Saves the report database, including any new report panel.

Example Usage
load_package report
project_open chiptrip
load_report

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

# If panel exists, add a row to it. Otherwise, print an error message.
if {$id != -1} {
    add_row_to_table -id $id {{New Field} Yes No}
    # Save the changes to the report database
    save_report_database
} else {
    puts "Error: Table $panel does not exist."
}

unload_report
project_close
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: You must open a project before you can use this command.
TCL_ERROR 1 ERROR: Report not loaded for revision name: <string>. Type load_report to load the report.

Did you find the information on this page useful?