Академический Документы
Профессиональный Документы
Культура Документы
Tcl Scripting
2014.06.30
QII52003 Subscribe Send Feedback
Tcl Scripting
Developing and running Tcl scripts to control the Altera
Quartus
, and Altera
software. It allows you to create customcommands and works seamlessly across most development platforms.
You can create your own procedures by writing scripts containing basic Tcl commands and Quartus II API
functions. You can then automate your design flow, run the Quartus II software in batch mode, or execute
the individual Tcl commands interactively in the Quartus II Tcl interactive shell.
The Quartus II software supports Tcl/Tk version 8.5, supplied by the Tcl DeveloperXchange.
ISO
9001:2008
Registered
2014 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words
and logos are trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other
words and logos identified as trademarks or service marks are the property of their respective holders as described at
www.altera.com/common/legal.html. Altera warrants performance of its semiconductor products to current specifications in accordance with
Altera's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes
no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly
agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device specifications before relying on any published
information and before placing orders for products or services.
www.altera.com
101 Innovation Drive, San Jose, CA 95134
Related Information
External References on page 3-22
For a list of recommended literature on Tcl.
Tcl Scripting Basics on page 3-17
For more information on Tcl scripting, or if you are are a Tcl beginner.
tcl.activestate.com/
Quartus II Tcl Packages
The Quartus II Tcl commands are grouped in packages by function.
Table 3-1: Quartus Tcl Packages
Package Description Package Name
Back annotate assignments backannotate
Identify and modify resource usage and routing with the Chip Editor chip_planner
Manage version-compatible database files database_manager
Get device and family information from the device database device
Compile a project, run command-line executables and other common flows flow
Manipulate design partitions and LogicLock regions, and settings related to
incremental compilation
incremental compila-
tion
Read and edit memory contents in Altera devices insystem_memory_edit
interact with the In-System Sources and Probes tool in an Altera device insystem_source_
probe
Control the JTAG chain jtag
Query and modify the logic analyzer interface output pin state logic_analyzer_
interface
Performmiscellaneous tasks such as enabling natural bus naming, package loading,
and message posting
misc
Create and manage projects and revisions, make any project assignments including
timing assignments
project
Manipulate Quartus II Rapid Recompile features rapid_recompile
Get information from report tables, create custom reports report
Traversing and querying the RTL netlist of your design rtl
Specifies constraints and exceptions to the TimeQuest Timing Analyzer sdc
Altera-specific SDC commands sdc_ext
Configure and perform simulations simulator
Contains the set of Tcl functions for obtaining advanced information from the
Quartus II TimeQuest Timing Analyzer
sta
Tcl Scripting Altera Corporation
Send Feedback
QII52003
Quartus II Tcl Packages 3-2
2014.06.30
Package Description Package Name
Run the SignalTap