mgUnRegisterDummyNetProc
mgUnRegisterDummyNetProc(s_userProc) =>t/ nil
Description
Unregisters a function that specifies a net for a given dummy instance ID and terminal ID.
Arguments
|
Specifies the name of the function to be unregistered. The function includes two parameters—instance ID and terminal ID—and returns a |
Value Returned
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