Power and Thermal Analyzer User Guide

ID 865226
Date 9/29/2025
Public
Document Table of Contents

B.28. set_device

Usage

set_device [-h] [-help] [-long_help] <device to set>
Arguments
-h: Quick usage.
-help: Short help.
-long_help: Long help with examples and possible return values.
<device to set>: The device to use.

Tcl Package and Version

Belongs to ::quartus::pta 1.0 .

Description

This command sets the device to use for the current design. The device number is case insensitive.

Example Usage

set_device agfa012r24b2e4x
set_device AGFA012R24B2E4X

Return Value

Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_OK 0 INFO: Using default value for the following field(s): '<string>'.
TCL_ERROR 1 ERROR: The requested operation cannot be performed. The current design is not a valid design.
TCL_ERROR 1 ERROR: The specified device is not recognized.