The following statements are SDF standard statements and are therefore defined for all programs if the activated syntax file was created correctly. These statements are not simulated by SDF-SIM; they are actually executed. 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, an SDF parameter file must be specified which, as basic system syntax file, contains the syntax file (see the example on "Providing SDF standard statements in the simulation").
These statements include:
MODIFY-SDF-OPTIONS:
This activates or deactivates a user syntax file and modifies the SDF options for simulation.SHOW-SDF-OPTIONS:
This displays the active syntax files and the SDF options set for simulation.SHOW-INPUT-HISTORY:
This shows a list of preceding inputs.RESTORE-SDF-INPUT:
This restores the input.SHOW-INPUT-DEFAULTS:
This shows task-specific default values.SHOW-STMT:
Show the syntax of a statementRESET-INPUT-DEFAULTS
This resets task-specific default values.WRITE-TEXT:
This displays text that has been entered.REMARK:
This provides comments on statement sequences.STEP:
This interrupts the spin-off mechanism.END:
This terminates the simulated program.
The SDF standard statements EXECUTE-SYSTEM-CMD and HOLD-PROGRAM (as of SDF V4.0 and BS2000/OSD-BC V2.0) are no longer supported in SDF-SIM.
Program notes
If the program name specified in the DEFINE-TEST-OBJECT statement is not defined in the activated syntax file hierarchy, execution of START-SIMULATION is followed by the display of the syntax file hierarchy, output of the message
% SDS0006 PROGRAM ’...’ NOT DEFINED IN ACTIVATED SYNTAX FILES
and the termination of SDF-SIM.The SDF-A statement ADD-PROGRAM ... COMMENT-LINE=... can be used to add comment lines to programs. If COMMENT-LINE=*STD was specified, no comment line will appear in the simulation, since SDF-SIM cannot access this internal program information.