Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 10/04/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.14. read_xml_report (::quartus::report)

The following table displays information for the read_xml_report Tcl command:

Tcl Package and Version

Belongs to ::quartus::report

Syntax read_xml_report [-h | -help] [-long_help] <filename>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
<filename> Name of XML Report Database File from which to read
Description

Creates the current Compilation Report from the specified XML Report Database File (.xml).

Example Usage
# Set project name
set project_name "chiptrip"

load_package report
project_open $project_name

# Read XML Report Database File (.xml)
read_xml_report $project_name.xml

load_report

# Get all the panel names
puts {All Report Panel Names:}
puts [get_report_panel_names]

unload_report
project_close
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_OK 0 INFO: Report read from XML Report Database File: <string>. No action is required.
TCL_ERROR 1 ERROR: Can't read XML Report Database File: <string> . Make sure that the file exists and does not contain syntax errors.