Product Documentation
Digital Design Netlisting and Simulation SKILL Reference
Product Version IC23.1, June 2023

simIfNoProcedure

simIfNoProcedure( 
procedureDefinition
)
=> t

Description

Same as the SKILL keyword procedure, except the procedure definition given as an argument is only defined if it is not currently defined. This function is used instead of the SKILL procedure to permit the overriding of procedures defined in SE by procedures in .simrc.

The function is defined in /etc/skill/si/caplib/util.ile. You can modify this function.

Arguments

procedureDefinition

SKILL procedure definition passed as an argument.

Value Returned

t

The command is successful.

Examples

simIfNoProcedure( cat(file) 
let( (cmd status)
sprintf( cmd "exec cat %s" file )
status = simExecute(cmd)
status
)
)

Related Topics

OSS Functions


Return to top
 ⠀
X