Product Documentation
Virtuoso Technology Data SKILL Reference
Product Version IC23.1, June 2023

tcRegPostSetRefTrigger

tcRegPostSetRefTrigger(
s_trigFunc 
[ x_priority ]
)
=> t / nil

Registers a trigger function that the system calls after setting the reference for the specified technology database. You can use this function to keep track of the technology database reference when a technology database is updated.

Arguments

s_trigFunc

Name of the trigger.

x_priority

Priority of the trigger. Trigger functions are called in order of priority, with 0 having the highest priority. If you do not specify a priority argument, the default is the lowest priority (that is, it executes after any other trigger function that specifies a priority).

Value Returned

t

The trigger function is registered successfully.

nil

The trigger function is not registered. The SKILL procedure either does not exist or is incomplete.

Example

procedure(myPostSetRefTrig(libName)
    println("myPostSetRefTrig")
    tf =  techGetTechFile(ddGetObj(libName))
    printf("Set Ref '%L' to techLib '%s'.\n" tf~>refLibNames libName)
)
tcRegPostSetRefTrigger('myPostSetRefTrig)
=> t

Registers the myPostSetRefTrig trigger.


Return to top
 ⠀
X