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

simInitControl

simInitControl(
) 
=> t / nil

Description

Checks whether a file called control exists in the simulation run directory.

The following checks are done:

  1. If the simControlFile variable is nil, it locates the files specified by the simDefaultControl variable in the local/si directory.
  2. If not found, it locates the files in the etc/si directory using the prependInstallPath function and sets simControlFile to the resulting full pathname.
  3. Next, the function copies the file specified by the simControlFile variable to the run directory and names it control.

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

Arguments

None

Value Returned

t

The control file is found.

nil

The control file was not found.

Examples

simInitControl() 

Related Topics

OSS Functions


Return to top
 ⠀
X