simRunNetAndSimWithCmd
simRunNetAndSimWithCmd(t_libName| nilt_cellName| nilt_viewName| nilt_simulatorName| nilt_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
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 and/or t_viewName are not
nil, assign them to the simCellName and simViewName environment variables, respectively. -
Thus, the t_libName argument must not be
nilif the t_cellName and t_viewName arguments are used (notnil).
Value Returned
Examples
simRunNetAndSimWithCmd( "myLib"
"fast_mux" "schematic"
"spice" "simin" t 10
)
simRunNetAndSimWithCmd( nil nil nil nil "my_SKILL_function" nil 10
)
Related Topics
Return to top