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.19. write_xml_report (::quartus::report)

The following table displays information for the write_xml_report Tcl command:

Tcl Package and Version

Belongs to ::quartus::report

Syntax write_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 to which to write
Description

Writes the current Compilation Report or Simulation Report to the specified XML Report Database File (.xml).

Example Usage
load_package report

set project_name "chiptrip"
project_open $project_name

## Create XML Report Database File (.xml)
load_report
file delete -force report.xml
puts [write_xml_report report.xml]
unload_report

# Close project
project_close
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_OK 0 INFO: Report written to XML Report Database File: <string>. No action is required.
TCL_ERROR 1 ERROR: Can't write XML Report Database File: <string> -- report does not exist. Make sure that an existing report is loaded. Type load_report -h for more information.

Did you find the information on this page useful?

Characters remaining:

Feedback Message