Export_stack_to, Usage, Options – Altera Quartus II Scripting User Manual
Page 182: Description, Example, Export_stack_to –52
3–52
Chapter 3: Tcl Packages & Commands
chip_planner
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
export_stack_to
Usage
export_stack_to [-applied] [-file <file name>] <position>
Options
-applied: Whether to export only applied changes
-file <file name>: Name of file to which the stack is exported
<position>: Position
Description
Exports the the command stack to the specified position as a Tcl script, CSV, or TXT file. If position is not
specified, exports the entire stack. The type of file is set by the extension specified in the name argument.
If a .csv or .txt extension is specified, a file of the specified type is produced. Otherwise, a Tcl script will be
produced.
Example
The following is a sample sequence of commands that produces a Tcl script and a CSV file of the changes
in the Command Manager:
project_open <project_name>
read_netlist
export_stack_to -@ARG(name) new_tcl_file.tcl
export_stack_to -@ARG(name) new_tcl_file.csv
project_close