Abs.emam 212 Bytes
Newer Older
Bernhard Rumpe's avatar
BR-sy    
Bernhard Rumpe committed
1
/* (c) https://github.com/MontiCore/monticore */
Jean-Marc Ronck's avatar
Jean-Marc Ronck committed
2
3
4
5
6
7
8
9
10
11
12
package de.rwth.armin.modeling.autopilot.common;

component Abs {
  port
    in Q input,
    out Q output;

  implementation Math {
    output = abs(input);
  }
}