get_cell_info (::quartus::sta)
The following table displays information for the get_cell_info Tcl command:
| Tcl Package and Version |
Belongs to ::quartus::sta 1.0 |
|||
| Syntax | get_cell_info [-h | -help] [-long_help] [-buried_nodes] [-buried_regs] [-in_pin_names] [-in_pins] [-location] [-name] [-out_pin_names] [-out_pins] [-pin_names] [-pins] [-type] [-wysiwyg_type] <cell_object> | |||
| Arguments | -h | -help | Short help | ||
| -long_help | Long help with examples and possible return values | |||
| -buried_nodes | Return a collection of buried node IDs | |||
| -buried_regs | Return a collection of buried register IDs | |||
| -in_pin_names | Return a list of input pin names | |||
| -in_pins | Return a collection of input pin IDs | |||
| -location | Return the atom location in device | |||
| -name | Return the cell name | |||
| -out_pin_names | Return a list of output pin names | |||
| -out_pins | Return a collection of output pin IDs | |||
| -pin_names | Return a list of input and output pin names | |||
| -pins | Return a collection of input and output pin IDs | |||
| -type | Return the cell type | |||
| -wysiwyg_type | Return the WYSIWYG type of the cell | |||
| <cell_object> | Cell object | |||
| Description |
Gets information about the specified cell (referenced by cell ID). You can obtain cell using the get_cells Tcl command. The "-type" option returns "cell". Options "-name", "-type", "-pin_name", "-in_pin_names", "-out_pin_names", "-pins", "-clock_pins", "-in_pins", "-out_pins", "-buried_nodes", "-buried_regs", "-location", and "-wysiwyg_type" are mutually exclusive. |
|||
| Example Usage |
project_open chiptrip
create_timing_netlist
set cells [get_cells]
foreach_in_collection cell $cells {
puts "[get_cell_info $cell -name]: [get_cell_info $cell -type]"
}
delete_timing_netlist
project_close
|
|||
| Return Value | Code Name | Code | String Return | |
| TCL_OK | 0 | INFO: Operation successful | ||
| TCL_ERROR | 1 | ERROR: Options are mutually exclusive: <string>. Specify only one of the these options. | ||
| TCL_ERROR | 1 | ERROR: Object with ID <string> is not an object of type <string>. Specify the ID of an object with the correct type. | ||
| TCL_ERROR | 1 | ERROR: Cannot find object of ID <string>. Specify an existing object ID. | ||
| TCL_ERROR | 1 | ERROR: Unsupported object type: <string>. Specify a supported object type. | ||