Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • has a Direction. It can be an input, an output, or both, 
  • can be Static (optional),  
  • has a Datatype (integer, boolean, real, string, void), 
  • has a an Name,
  • can be initialised (optional),
  • can get a CombineOperator(optional) (-, +, *, max, min, or, and, host).

...

  • input boolean A; 
  • output boolean A;
  • input output boolean A; // double direction (input and output))
  • input static boolean A; //static variable
  • boolean A; //local, without direction
  • input integer I=10; //the variable I is initialised
  • input integer I with '+' //the combine operator is '+'

 

 

Signal Declarations

Signals are extended from Events. A signal has a direction and a Name.

 

...

4 views to implement signals:

  • don't use signals. Use only variables
  • Boolean variables are interpreted as signals (no Boolean variables available)
  • Yakindu events are interpreted as signals
  • declare a new declarations type named signal

...