Write_xml_report, Usage, Options – Altera Quartus II Scripting User Manual

Page 400: Description, Example, Write_xml_report –270

Advertising
background image

3–270

Chapter 3: Tcl Packages & Commands

report

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

write_xml_report

Usage

write_xml_report <filename>

Options

<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

# 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)
load_report
file delete -force $project_name.xml
puts [write_xml_report $project_name.xml]
unload_report

# Close project
project_close

Advertising