iseStartInteractive
iseStartInteractive( ) => t / nil
Description
Sets up the default interactive simulation environment.
Before you start an interactive simulation session, you must have initialized the simulation environment by running the Initialize command, which can be found in the Simulation menu.
Three new windows are created which overlay any windows currently displayed. The creation and size of each window is controlled by global SKILL variables. The opening of windows is performed by executing the function specified by the iseOpenWindowsFunc variable.
One window displays waveforms. If a waveform file already exists in the run directory, the waveforms are read in, and the menu for that window is set to be the Waveform menu. Initialization of the waveform window is performed by executing the function specified by the iseInitWaveWindowFunc variable.
The second window displays the design. The top level of the design, as specified by the variables simLibName, simLibConfigName, simCellName, simViewName, and simVersionName, is automatically displayed.
The third window lets you interact with the simulator. To initialize this window, the function specified by the iseInitSimWindowFunc variable is run. The default for this variable is the iseInitSimWindow function. The simulator is automatically started and associated with this window. First, the function specified by iseStartSimulatorFunc is executed. The default value for this variable is the iseStartSimulator function. This function ensures that the simulation window is available and evaluates the iseInvokeSimulatorFunc variable to invoke the simulator. If it is nil, whichindicates that you have not defined it, the variable iseRunSimulatorCommand must be defined (the command string to invoke the simulator) so ISE can invoke your simulator. If the variable iseInvokeSimulatorFunc is set to the name of a function, that function is called so you can do any required preprocessing. Before the preprocessing function is called, the variable iseRunSimulatorCommand may or may not be defined. If it is not defined, it is expected to be defined before the preprocessing routine returns. The command string in iseRunSimulatorCommand is used by ISE to invoke your simulator.
The iseInvokeSimulatorFunc function takes precedence over iseRunSimulatorCommand. If both are defined at the beginning of the routine iseStartSimulator, the variable iseInvokeSimulatorFunc is always evaluated first; that is, the preprocessing routine will be called. If the variable iseInvokeSimulatorFunc is undefined (with value nil) and the variable iseRunSimulatorCommand is defined, the command string in iseRunSimulatorCommand is used directly to invoke the simulator. If both are undefined, or the preprocessing function evaluates to nil, this function will return nil and the simulator will not be invoked.
The menu for this window is set to the menu whose menu handle is specified by the iseSimulatorMenuHandle variable.
Because this default initialization sequence may not suit the needs of every user, many features can be separately parameterized with global SKILL variables.
Arguments
Value Returned
Examples
iseStartInteractive()
Related Topics
Return to top