hdbIsIterInst
hdbIsIterInst(t_instName[t_nameSpace] ) =>(t_baseInstName t_leftIndex t_rightIndex) / nil
Description
Determines whether an instance name is of an iterated instance. If it is of an iterated instance, the base instance name and range indexes are returned.
Arguments
|
The name space you want to use for library/cell/view and instance names when using the Hierarchy Editor interface. |
Value Returned
|
The base part of the iterated instance name. For example, if the iterated instance name is |
|
Example
Determines whether an instance name is of a scalar instance or of an iterated instance and retrieves information about the iterated instance from its instance name.
iterInstInfo = hdbIsIterInst(instName) if( null(iterInstInfo) then printf("%s is a scalar instance\n" instName) else baseInstName = car(iterInstInfo) left = cadr(iterInstInfo) right = caddr(iterInstInfo) printf("%s is an iterated instance with range %x : %x\n" baseInstName left right)
)
Related Topics
Parent/Child Database Functions
Return to top