Main Content

cgsl_0302: Diagnostic settings for multirate and multitasking models

ID: Titlecgsl_0302: Diagnostic settings for multirate and multitasking models
Description

For multirate models using either single tasking or multitasking, set these configuration parameters to warning or error:

  • Single task rate transition

  • Enforce sample time specified by Signal Specification blocks

  • Detect multiple driving blocks executing at the same time step

For multitasking models, set these configuration parameters to warning or error:

  • Multitask task rate transition

  • Multitask conditionally executed subsystem

  • Tasks with equal priority

If the model contains Data Store Memory blocks, set these configuration parameters to Enable all as warnings or Enable all as errors:

  • Detect read before write

  • Detect write after read

  • Detect write after write

  • Multitask data store

RationaleSetting diagnostic configuration parameters improves run-time detection of rate and tasking errors.
See Also
Last Changed2016a