cphSetCellRemoveDevice
cphSetCellRemoveDevice(
g_physConfigID
t_logLib
t_logCell
t_removeDevice
)
=> t / nil
Description
Sets the Remove device rule for the specified logical cell 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 containing the logical cell.
|
|
t_logCell
|
Name of the logical cell.
|
|
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 a cell with terminal names PLUS and MINUS, the following example would short the terminals.
cphSetCellRemoveDevice(physConfigID "cph" "nand" "(short(PLUS MINUS))")
Return to top