The following table displays information for the periph::get_cell_info Tcl command:
Tcl Package and Version | Belongs to ::quartus::periph 1.0 |
||
Syntax | periph::get_cell_info [-h | -help] [-long_help] [-children] [-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 | ||
-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 |