Download Expert ExpertViews

Transcript
Expert Interface Scripts (XI-Shell)
•
b.ypos is the y-coordinate of the lower side of the bounding box;
•
bb.xpos is the x-coordinate of the left side of the bounding box;
•
bb.ypos+box.ysize is the y-coordinate of the top side of the bounding box.
•
bb.xpos+box.xsize is the x-coordinate of the right side of the bounding box.
GET_CELL_OBJECT_COUNT
Returns the number of layout objects in the specified cell.
Syntax
count = GET_CELL_OBJECT_COUNT(cell_name)
Parameters
cell_name (type STRING)
The name of the cell.
Return Value
count (type INTEGER)
Number of layout objects in the cell cell_name.
Example
>num = get_cell_object_count(“gates::INVERTER”)
GET_CELL_STATUS
Returns TRUE if the specified status is set, and FALSE is otherwise.
Syntax
ret = GET_CELL_STATUS(cell_name, status_flag)
Parameters
cell_name (type STRING)
The name of the cell.
status_flag
status_flag can be one of following predefined constants:
•
CS_TOP: the cell is a top-level cell in the project’s hierarchy.
•
CS_READONLY: the cell is read only (e.g., not checked out).
•
CS_CHECKEDOUT: the cell is from the shared library and checked out.
•
CS_MODIFIED: the cell is modified, but not saved.
•
CS_PARAMETERIZED: the cell is a P-cell.
Return Value
ret (type BOOLEAN)
TRUE if the status is set, and FALSE otherwise.
Example
>display(get_cell_status(“nand2”, CS_TOP));
GET_EDITED_CELL_NAME
Returns the full name of the edited cell.
Simucad
17-17