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 2.1 |
||
| 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. | |