Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Working with SDF-SIM

&pagelevel(3)&pagelevel

Components for installing SDF-SIM

The statements that can be passed to SDF-SIM are defined in the syntax file SYSSDF.SDF-SIM.046.

The following files are supplied as part of SDF-SIM:

SYSLNK.SDF-SIM.046

SYSSDF.SDF-SIM.046

Library containing the module SDF-SIM.

Syntax file containing the SDF-SIM statements and the START-SDF-SIM command.

SYSMES.SDF-SIM.046

SDF-SIM message file


Coexistence between different SDF-SIM versions

The START-SDF-SIM command (see "Working with SDF-SIM") invokes the SDF-SIM version that was specified for the user ́s system by the system administrator. This will usually be the latest SDF-SIM version. It is, however, also possible to call an older SDF-SIM version if desired. The following steps are required for this purpose:

  1. Create a user syntax file with SDF-A and copy all SDF-SIM statements of the desired SDF-SIM version into it (using the COPY statement). The required SDF-SIM statements can be found in the system syntax file that was supplied with the desired SDF-SIM version (SYSSDF.SDF-SIM.<version>).
  2. Activate the created user syntax file with the MODIFY-SDF-OPTIONS command (see the “Commands” manual [4] (Related publications)).
  3. Call the desired SDF-SIM version with the following command:

/START-EXE *LIB-ELEM(LIBRARY=$.SYSLNK.SDF-SIM.vvv,ELEMENT=SDF-SIM) 1

<version> is the desired version number, e.g. 041 for SDF-SIM V4.1.

or

/START-SDF-SIM VERSION=<version>

<version> is the desired version number, e.g. 041 for SDF-SIM V4.1.


The command used here, START-EXECUTABLE-PROGRAM, is available in BLSSERV V2.3 and higher (the command START-PROGRAM is to be used if necessary).

Starting SDF-SIM

SDF-SIM is started by means of the following command:

START-SDF-SIM                                                    Abbreviation: SDF-SIM

VERSION = *STD / <product-version>

,MONJV = *NONE / <filename 1..54 without-gen-vers>

,CPU-LIMIT = *JOB-REST / <integer 1..32767 seconds>

VERSION=
Allows the user to select the desired SDF-SIM version if multiple versions of SDF-SIM were installed with IMON. If the version is specified within single quotes, it may be preceded by the letter C (C-STRING syntax).
If the product was not installed using IMON or if the specified version does not exist, VERSION=*STD applies (see also “Coexistence between different SDF-SIM versions”).

VERSION=*STD
Calls the SDF-SIM version with the highest version number.

VERSION=<product-version>
Specifies the SDF-SIM version in the format m.n[a[so]] (see also “product-version” (SDF syntax description)).

MONJV =
Specifies a monitoring job variable to monitor the SDF-SIM run.

MONJV = *NONE
No monitoring job variable is used.

MONJV = <filename 1..54 without-gen-vers>
Name of the job variable to be used.

CPU-LIMIT =
Maximum CPU time in seconds which the program may consume for execution.

CPU-LIMIT = *JOB-REST
The remaining CPU time available is to be used for the job.

CPU-LIMIT = <integer 1..32767 seconds>
Only as much time as is specified is to be used.

You can then enter the statements for preparing the simulation (DEFINE-TEST-OBJECT, DEFINE-ENVIRONMENT).

The simulation is started after entry of the START-SIMULATION statement. SDF-SIM first of all displays the current syntax file hierarchy, then it displays an asterisk (*) prompting you to enter the command or statement to be simulated.

Terminating SDF-SIM

During simulation ('*' prompting), SDF-SIM can be terminated by entering the string ’/*’.During the preparations for simulation (’%//’ prompting), this can also be done with the aid of the SDF standard statement END.

Features of a simulation run

The following example shows the basic features of a simulation run.

/START-SDF-SIM

%// ...

%// ...

%// ...


   

---- Statements for preparing simulation
%//START-SIMULATION
---- Starting simulation

* ...

* ...

* ...


---- Commands / statements to be simulated

*/*


The statements for preparing simulation can also be specified more than once. In such cases, the settings made with the last statement of the same sort apply.