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 1.0

Syntax write_xml_report [-h | -help] [-long_help]
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
Writes the current Compilation Report or Simulation Report to the specified
XML Report Database File (.xml).
Example Usage
# Load the ::quartus::flow and ::quartus::report packages
load_package flow
load_package report

# Create new project
set project_name "chiptrip"
project_new $project_name -overwrite

# Run quartus_map
execute_module -tool map

## Create XML Report Database File (.xml)
file delete -force $project_name.xml
puts [write_xml_report $project_name.xml]

# Close project
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.