mgRegisterDummyNetProc
mgRegisterDummyNetProc(s_userProc) =>t/ nil
Description
Registers a function that specifies a net for a specified dummy instance ID and terminal ID.
Arguments
|
Specifies the name of a function that includes two parameters—instance ID and terminal ID—and returns a |
Value Returned
Example
The following example first defines a procedure GateChangesForDeviceType, and then registers it:
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)
Return to top