Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

3.1.22.2. periph::get_cell_info (::quartus::periph)

The following table displays information for the periph::get_cell_info Tcl command:

Tcl Package and Version

Belongs to ::quartus::periph

Syntax periph::get_cell_info [-h | -help] [-long_help] [-children] [-guide_cell_id] [-ip_type] [-links] [-location] [-name] [-parent] [-type] <cell_id>
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-children Return the the cell id of the children cells
-guide_cell_id Returns the guide cell's elem_id
-ip_type Returns the IP type if the cell is an IP cell or an empty string otherwise
-links Return the given design element's connections to other cells
-location Returns the location ID if the cell is placed or an empty string otherwise
-name Return the cell name of the cell id
-parent Return the the cell id of the parent cells
-type Return the the type of the cell
<cell_id> Single cell id
Description

Gets information about the specified cell (referenced by cell ID). You can obtain cell using the periph::get_cells Tcl command.

Example Usage
project_open onewire_nf

blueprint::initialize
periph::update_plan

foreach cell [periph::get_cells -type IO_CLUSTER] {
	puts "Found cell ID $cell named [periph::get_cell_info -name $cell]"
}

blueprint::shutdown
project_close
Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: The supplied cell id <string> is invalid.
TCL_ERROR 1 ERROR: At least one cell ID must be supplied, but no cell IDs were supplied
TCL_ERROR 1 ERROR: <string> cell IDs were expected but <string> were supplied

Did you find the information on this page useful?

Characters remaining:

Feedback Message