Skip to main content
Ctrl+K
scade-design-rules - Home scade-design-rules - Home
  • Getting started
  • User guide
  • Metrics
  • Rules
  • Contribute
    • Examples
    • Release notes
Ctrl+K
  • GitHub
Ctrl+K
  • Getting started
  • User guide
  • Metrics
  • Rules
  • Contribute
  • Examples
  • Release notes
  • GitHub

Section Navigation

  • Annotations
  • Case
  • Configuration
  • Diagrams
  • Modelling
    • All constants types are used
    • All elements in one equation set
    • All private operators are used
    • No constant if..then..else
    • Constants have const pragma
    • Not recommended operators
    • Forbidden operators
    • Forbidden real comparisons
    • Illegal operations on constants
    • Initialization of arrays
    • Structure depth level
    • Modulo denominator non zero constant
    • No anonymous type
    • No boolean comparison
    • No extra clock
    • No floats
    • No last without default
    • No literals
    • No operator calls in expressions
    • No pointer branch
    • No struct table comparisons
    • No terminations
    • Number of operator calls in conditions
    • Pragma manifest
    • Local variable scope
    • Transition actions
    • Transition kind
  • Naming
  • Operators
  • Packages
  • Project structure
  • Readability
  • Scade types
  • Structure
  • Tool
  • Traceability
  • User defined operators
  • PyAnsys
  • Rules
  • Modelling
  • Not recommended operators

Not recommended operators#

Not recommended operators

Description#

Specific predefined SCADE operators should not be used: reverse (46), transpose (47), slice (51), Concatenation (52)

The rule parameter is a comma-separated string containing predefined operator identifiers. Available identifiers are documented in the SCADE Python API guide, under section Access to Predefined Operators in Python. Default parameter value is 46, 47, 51, 52 (Reverse, Transpose, Slice, Concatenation).

Rationale#

This enforces compliance with a specific modeling standard by ensuring that a given list of predefined operators is avoided in diagrams.

Note: this is a lighter version of rule Forbidden Operators: its severity is ADVISORY.

Verification#

This rule checks all operator calls in a model and fails if one of the listed operators is used.

Resolution#

Modify the offending operator calls as detailed in the rule failure message.

Customization#

N/A.

See also

  • Rule Forbidden Operators

On this page
  • Description
  • Rationale
  • Verification
  • Resolution
  • Customization
  • Show Source

© Copyright (c) 2025 ANSYS, Inc. All rights reserved.

Created using Sphinx 8.1.3.

Built with the Ansys Sphinx Theme 1.3.2.
Last updated on