Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Providing SDF standard statements in the simulation

&pagelevel(4)&pagelevel

As of SDF V4.1 the SDF standard statements in the syntax file are defined by SDF. They are no longer assigned to the SDF-U syntax file and cannot be copied into the syntax file of the application program. Therefore, when standard statements are used in the simulation, a SDF parameter file must be specified which, as basic system syntax file, contains the syntax file.

In order to use the standard statements in SDF-SIM, it is necessary to carry out the following steps:

  • Create a parameter file which contains the syntax file of SDF as basic system syntax file. If the syntax file of the application program is a subsystem syntax file, it must be entered in the SDF parameter file (see “Creating a SDF parameter file with the help of SDF-SIM”).

  • Start SDF-SIM (START-SDF-SIM command)

  • Specify simulation environment and text object,

    • if the syntax file of the application program is a system syntax file:

      //DEFINE-ENVIRONMENT PARAMETER-FILE=MY-PARAMETER-FILE
      //DEFINE-TEST-OBJECT *STMT(PROGRAM-NAME=<internal-program-name>)
    • if the syntax file of the application program is a user syntax file:

      //DEFINE-ENVIRONMENT PARAMETER-FILE=MY-PARAMETER-FILE, USER=<program-syntax-file>
      //DEFINE-TEST-OBJECT *STMT(PROGRAM-NAME=<name>,LAYOUT=<layout>)
  • Start simulation (//START-SIMULATION).
    Then the SDF standard statements are available in addition to the statements of the application program.

Creating a SDF parameter file with the help of SDF-SIM

Nonprivileged users can also use the MODIFY-SDF-PARAMETERS command in SDF-SIM to create a SDF parameter file for the simulation:

/start-sdf-sim
%  BLS0523 ELEMENT 'SDF-SIM', VERSION 'V04.5A10' FROM LIBRARY ':2OSH:$TSOS.SY
SLNK.SDF-SIM.045' IN PROCESS

%  BLS0524 LLM 'SDF-SIM', VERSION ' ' OF '2001-04-19 16:11:57' LOADED
%  BLS0551 COPYRIGHT (C) SIEMENS AG 2001. ALL RIGHTS RESERVED
%  SDS0001 SDF-SIM VERSION 'V04.5A10' STARTED
%//define-environment parameter-file=*no(system=$.syssdf.sdf.045)
%//start-simulation
%  SDS0005 'SYSTEM' SYNTAX FILE '$.SYSSDF.SDF.045' ACTIVATED
%  SDS0005 'USER' SYNTAX FILE 'SDF.USER.SYNTAX' ACTIVATED
*modify-sdf-parameters
scope=*next-session(parameter-file-name=my-parameterfile),syntax-file-type=*system(name=$.syssdf.sdf.045)

(IN)       modify-sdf-parameters
scope=*next-session(parameter-file-name=myparameter-file),syntax-file-type=*system(name=$.syssdf.sdf.045)

%  CMD0681 SYNTAX FILE '$.SYSSDF.SDF.045' INSERTED IN PARAMETER FILE 'MY-
PARAMETER-FILE'

*modify-sdf-parameters
scope=*next-session(parameter-file-name=my-parameterfile),syntax-file-type=*subsystem(name=$.syssdf.sdf-a.041,sub-name=sdf-a)

(IN)       modify-sdf-parameters
scope=*next-session(parameter-file-name=myparameter-file),syntax-file-type=*subsystem(name=$.syssdf.sdf-a.041,sub-

name=sdf-a)

%  CMD0709 SYSTEM SYNTAX FILE '$.SYSSDF.SDF-A.041' INSERTED IN PARAMETER FILE
'MY-PARAMETER-FILE'

*/*