Product Documentation
Cadence SKILL Development Reference
Product Version IC23.1, June 2023

defCapDepends

defCapDepends( 
s_context 
l_dependsList 
) 
=> t

Description

Specifies which contexts depend on which other contexts.

This can be specified in the .skinit file, which must reside in either the user’s home directory or your_install_dir/local directory.

We recommend that developers put the defCapDepends function call in the beginning of the startup.il file because if SKILL Lint sees this call while analyzing the context it will determine the dependent contexts. When SKILL Lint is run on the context s_context, it loads all the dependent contexts from which it will be able to effectively type check the function calls made by the context being analyzed.

Arguments

s_context

Context that depends on the contexts specified by l_dependsList.

l_dependsList

List of contexts upon which s_context depends. In other words, l_dependsList should contain all the definitions for all the functions called in s_context that are not defined in s_context.

Value Returned

t

Always returns t.

Examples

Informs SKILL Lint that myContext depends on the contexts skillCore and hiBase.

defCapDepends('myContext '(skillCore hiBase))

Related Topics

Context Functions

loadContext

defInitProc


Return to top
 ⠀
X