This module implements functions that are required by a simulator based on multi-valued evaluation. For more information, see function SimulationStep that is the essential function of this module.
Function or value | Description |
Full Usage:
ComputeTrace aifS drvS
Parameters:
AIFSystem
drvS : SystemPart
Returns: (Environment * EnvUpdate * Environment * EnvUpdate) list
|
"ComputeTrace aifS drvS" executes "Simulate true aifS drvS" and returns the computed trace which is a list of tuples (drvEnv,drvNxtL,aifEnv,aifNxtL) as described in the comments on function Simulate.
|
Full Usage:
DriverTrace aifS drvS
Parameters:
AIFSystem
drvS : SystemPart
Returns: Environment list
|
"DriverTrace aifS drvS" executes "Simulate true aifS drvS" and returns a the driver part of the computed trace which consists of (drvEnv,drvNxtL) as described in the comments on function Simulate.
|
Full Usage:
PrintMicroStepFlag
Returns: bool ref
|
This global variable determines whether micro steps of the simulation are printed.
|
Full Usage:
Simulate collectEnv drvS aifS
Parameters:
bool
drvS : SystemPart
aifS : AIFSystem
Returns: (Environment * EnvUpdate * Environment * EnvUpdate) list
|
This function performs an entire simulation of AIF system aifS by driver drvS. The function simulates drvS until this module terminates and uses its outputs immediately as input stimuli for the aif system aifS. Thus, it first computes a fixpoint for drvS, and depending on this, another one for aifS. After this step, the environment must be complete, so that the assertions of the driver and the AIF system are checked and delayed assignments for the next macro step are determined and evaluated. Depending on the argument collectEnv, the following data is collected during the simulation:
|
|
|
Full Usage:
hasContinuousTransitions
Returns: bool ref
|
This global variable determines whether continuous transitions do occur.
|