remaster_instance
remaster_instance
-view {s_fromView s_toView}
{-all | -set d_setObj}
[ -lib {s_fromLib s_toLib} ]
[ -cell {s_fromCell s_toCell} ]
[ -from_same_library [ true | false ] ]
[ -verbose ]
[ -check_terms {ignore | notify | enforce} ]
Description
Binds instances matching a given criteria in the entire design or in the given set to a new master. By default, the new master must have the same number of terminals as the old master.
Arguments
|
-all
|
Process all instances in the design that meet the lib/cell/view criteria.
|
|
-cell {s_fromCell s_toCell}
|
|
|
[Optional] Limits processing to instances whose master cell names match the 'from' cell. Matching instances will be changed to the corresponding 'to' master. Wildcards are permitted.
|
|
-check_terms {ignore | notify | enforce}
|
|
|
Specifies the level of checking to do on the new master from the following choices:
|
|
|
ignore
|
Remasters without checking.
|
|
|
notify
|
Issues a warning if the terminals for the old and new masters do not match. The warning message lists the "From" and the "To" lib/cell/view and the terminals that do not match. The instance is remastered even if the terminals do not match.
|
|
|
enforce
|
Issues a warning if the terminals for the old and new masters do not match. The warning message lists the "From" and the "To" lib/cell/view and the terminals that do not match. The instance is not remastered if the terminals do not match.
|
|
-from_same_library [ true | false ]
|
|
|
When this argument is true and the -lib argument is omitted, then only remaster instances if the targeted view is from the same library.
Default: true
|
|
-lib {s_fromLib s_toLib}
|
|
|
[Optional] Limits processing to instances in the 'from' library. Matching instances will be changed to the corresponding 'to' master. Wildcards are permitted. Setting this argument overrides the -from_same_library setting. To search all libraries, use -lib {* *}.
|
|
-set d_setObj
|
Processes only the instances in the given set that meet the lib/cell/view criteria.
|
|
-verbose
|
Issues a message as each instance is remastered.
|
|
-view {s_fromView s_toView}
|
|
|
All instances matching the 'from' view are changed to the corresponding 'to' view.
|
Value Returned
|
i_count
|
Is the number of instances remastered.
|
Examples
The following example remasters all instances in the selected set with myView view to the newView view.
remaster_instance -set [get_selection_set] -view {myView newView}
Related Topics
Edit Commands
create_instance
Return to top