Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

cphSetOccurRemoveDevice

cphSetOccurRemoveDevice(
g_physConfigID
t_path
t_removeDevice
)
=> t / nil

Description

Specifies a Remove device rule for the specified occurrence 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_path

Path to the specific occurrence of an 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 a resistor with terminal names PLUS and MINUS, the following example would short the terminals.

cphSetOccurRemoveDevice(physConfigID "I0/N0" "(short(PLUS MINUS))")

Return to top
 ⠀
X