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

mgUnRegisterDummyNetProc

mgUnRegisterDummyNetProc(
s_userProc
)
=> t / nil

Description

Unregisters a function that specifies a net for a given dummy instance ID and terminal ID.

Arguments

s_userProc

Specifies the name of the function to be unregistered. The function includes two parameters—instance ID and terminal ID—and returns a netName or netId.

Value Returned

t

The function was unregistered.

nil

The command was unsuccessful.

Example

The following example first defines a procedure GateChangesForDeviceType, then registers it, and then unregisters the function:

procedure( GateChangesForDeviceType(instId termId)
  let((net)
    when(exists(name ciGetTermNames("gate") name==termId~>name)
      when(ciIsDevice(instId "nmos")
        net = dbMakeNet(instId~>cellView "vdda_nmos")
      )
      when(ciIsDevice(instId "pmos")
        net = "vdda_pmos"
      )
    )
    net
  )
)
mgRegisterDummyNetProc('GateChangesForDeviceType)
mgUnRegisterDummyNetProc('GateChangesForDeviceType)

Return to top
 ⠀
X