get_rtl_cell_info (::quartus::rtl)
The following table displays information for the get_rtl_cell_info Tcl command:
Tcl Package and Version |
Belongs to ::quartus::rtl 1.0 |
|||
Syntax |
get_rtl_cell_info [-h | -help] [-long_help]
[-in_pins]
[-name]
[-out_pins]
[-pins]
[-type]
<cell_object> |
|||
Arguments | -h | -help | Short help | ||
-long_help | Long help with examples and possible return values | |||
-in_pins | Return a collection of input pin IDs | |||
-name | Return the cell name | |||
-out_pins | Return a collection of output pin IDs | |||
-pins | Return a collection of input and output pin IDs | |||
-type | Return the cell type | |||
<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. Options "-name", "-type", "-pins", "-in_pins" and "-out_pins" are mutually exclusive. |
|||
Example Usage |
project_open chiptrip load_rtl_netlist set cells [get_rtl_cells] foreach_in_collection cell $cells { set cell_name [get_rtl_cell_info $cell -name] set cell_type [get_rtl_cell_info $cell -type] puts "$cell_name: $cell_type " } unload_rtl_netlist project_close |
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful | ||
TCL_ERROR | 1 | ERROR: Can't read compiler database. Run the Analysis and Synthesis (quartus_map) successfully before using this command. | ||
TCL_ERROR | 1 | ERROR: You must open a project before you can use this command. | ||
TCL_ERROR | 1 | ERROR: sgate netlist does not exist. Use load_rtl_netlist to create the sgate netlist. | ||
TCL_ERROR | 1 | ERROR: Cannot find object of ID <string>. Specify an existing object ID. |