Get_cell_info, Get_cell_info –81 – Altera SDC and TimeQuest API User Manual

Page 91

Advertising
background image

Chapter 2: SDC and TimeQuest API Package and Commands

2–81

sta

© December 2009

Altera Corporation

SDC and TimeQuest API Reference Manual

get_cell_info

Usage

get_cell_info [-buried_nodes] [-buried_regs] [-in_pin_names] [-in_pins] [-location]
[-name] [-out_pin_names] [-out_pins] [-pin_names] [-pins] [-type] [-wysiwyg_type]
<cell_object>

Options

-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

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

Advertising