Get_rtl_cell_info, Usage, Options – Altera Quartus II Scripting User Manual

Page 402: Description, Example, Get_rtl_cell_info –272

Advertising
background image

3–272

Chapter 3: Tcl Packages & Commands

rtl

Quartus II Scripting Reference Manual

© July 2013

Altera Corporation

get_rtl_cell_info

Usage

get_rtl_cell_info [-in_pins] [-name] [-out_pins] [-pins] [-type] <cell_object>

Options

-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

project_open chiptrip
load_rtl_netlist
set cells [get_rtl_cells]
foreach_in_collection cell $cells {
puts "[get_rtl_cell_info $cell -name]: [get_rtl_cell_info $cell \
-type]"
}
unload_rtl_netlist
project_close

Advertising