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 2.1

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.