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

simRunNetAndSimWithCmd

simRunNetAndSimWithCmd( 
t_libName | nil
t_cellName | nil
t_viewName | nil
t_simulatorName | nil
t_cmdToBeExecuted
g_runBackground
x_jobPriority
) 
=> t / nil 

Description

Runs a command that you specify in either foreground or background mode. The simulation environment must be initialized before simRunNetAndSimWithCmd is called. The simRunDir global variable specifies the current run directory. It is set when the simulation environment is initialized.

Arguments

t_libName

The name of the library containing the top-level cellview of the design to be analyzed.

t_cellName

The cell name of the top-level cellview of the design to be analyzed.

t_viewName

The view name of the top-level cellview of the design to be analyzed.

t_simulatorName

The name of the analysis tool.

t_cmdToBeExecuted

The string specifying the name of the function to be executed.

g_runBackground

Boolean value, which if set to t, the background process performs the specified command.

x_jobPriority

Priority of the background job.

The t_libName, t_cellName, t_viewName and t_simulatorName arguments overwrite the corresponding simulation environment variables. Specifying these arguments redefines the global environment and changes the values in the simulation run directory. If you want to use the current global environment, use nil as the value for these parameters. The arguments are processed according to the following rules:

Value Returned

t

The background process was successfully invoked. If the analysis is run in the foreground, t is returned if the analysis completed.

A return value of t does not necessarily mean that the analysis was completed successfully.

nil

The background process or foreground analysis failed.

Examples

simRunNetAndSimWithCmd( "myLib"
"fast_mux" "schematic"
"spice" "simin" t 10
)
simRunNetAndSimWithCmd( nil nil nil nil    "my_SKILL_function" nil 10
)

Related Topics

OSS Functions


Return to top
 ⠀
X