cgsl_0206: Data integrity and determinism in multitasking models

ID: Titlecgsl_0206: Data integrity and determinism in multitasking models
DescriptionFor multitasking models that are deployed with a preemptive (interruptible) operating system, protect the integrity of selected signals by doing one of the following:
ASelect the Rate Transition block parameter Ensure data integrity during data transfer .
BFor Inport blocks in Function Called subsystems, select the block parameter Latch input for feedback signals of function-call subsystem outputs.
To protect selected signal determinism, do one of the following:
CSelect the Rate Transition block parameter Ensure deterministic data transfer (maximum delay).
D
  • Select the configuration parameter Automatically handle rate transition for data transfer.

  • Set configuration parameter Deterministic data transfer to Whenever possible or Always.

Prerequisitescgsl_0205:Signal handling for multirate models
RationaleA,B,
C,D
Following this guideline protects data against possible corruption of preemptive (interruptible) operating systems.
Note

Multitasking systems with a non-preemptive operating system do not require data integrity or determinism protection. In this case, clear these parameters:

  • Rate Transition block parameter Ensure data integrity during data transfer

  • Configuration parameter Ensure deterministic data transfer (maximum delay)

Ensuring data integrity and determinism requires additional memory and execution time. To reduce this additional expense, evaluate signals to determine the level of protection that they require.

See Also
Last ChangedR2011a
Для просмотра документации необходимо авторизоваться на сайте