simRunNetAndSimWithArgs
simRunNetAndSimWithArgs(t_libName| nilt_cellName| nilt_viewName| nilt_simulatorName| nilg_doNetlist g_doSimulation g_runBackground x_jobPriority) => t / nil
Description
Starts an analysis job in either foreground or background mode.
The simulation environment must be initialized before the simRunNetAndSim function is called. Specifically, you must call the simInitEnv or simInitEnvWithArgs function before calling simRunNetAndSim. The simRunDir global variable specifies the current run directory. It is set when the simulation environment is initialized.
Arguments
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:
-
If t_libName is not
nil, assign it to the simLibName environment variable. -
If t_simulatorName is not
nil, assign it to the simSimulator environment variable. -
If t_cellName or t_viewName are not
nil, assign them to the simCellName and simViewName environment variables, respectively.
Therefore, the t_libName argument must not be nil if the t_cellName and/or t_viewName arguments are used (not nil).
Value Returned
Examples
simRunNetAndSimWithArgs( "myLib" "fast_mux"
"schematic" "spice" t t t 10)
simRunNetAndSimWithArgs( nil nil nil nil
t t t 10)
Related Topics
Return to top