cphSetInstRemoveDevice
cphSetInstRemoveDevice(
g_physConfigID
t_logLib
t_logCell
t_logView
t_inst
t_removeDevice
)
=> t / nil
Description
Specifies a Remove device rule for the specified instance in the specified physical configuration. A remove device rule causes parasitic devices to be ignored by merging nets connected to the terminals of a single instance.
Arguments
|
g_physConfigID
|
ID of the physical configuration cellview.
|
|
t_logLib
|
Name of the library where concerned instance is instantiated.
|
|
t_logCell
|
Name of the cell where concerned instance is instantiated.
|
|
t_logView
|
Name of the logical view where concerned instance is instantiated.
|
|
t_inst
|
Name of the instance.
|
|
t_removeDevice
|
String specifying a Remove device rule.
For example, for a resistor with terminal names PLUS and MINUS,
-
(short(PLUS MINUS)) would short the terminals. -
(short(PLUS MINUS) funcR(r)) would short the terminals only if the user-defined SKILL function funcR returns non-nil.
A sample funcR for the above case would be as follows.
procedure( funcR(r) if(r<100 then t else nil) )
|
Value Returned
|
t
|
Remove device rule was set.
|
|
nil
|
Remove device rule was not set.
|
Example
For an instance with terminal names PLUS and MINUS, the following example would short the terminals.
cphSetInstRemoveDevice(physConfigID "cph" "TopCell" "schematic" "(short(PLUS MINUS))")
Return to top