InterfaceView.aadl 1.97 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
PACKAGE interfaceview::IV
PUBLIC
WITH DataView;
WITH interfaceview::FV;
WITH Taste;

---------------------------------------------------
-- TASTE Interface View 
---------------------------------------------------

  --{ interfaceview obj234 2187 243 
  --The simplest possible demo.. If this one
  --does not build.. We are in big trouble!
  --}

  SYSTEM interfaceview
  END interfaceview;

  SYSTEM IMPLEMENTATION interfaceview.others
    SUBCOMPONENTS
      Simple_C_Function: SYSTEM interfaceview::IV::Simple_C_Function.others
        { Taste::Coordinates => "1109 406 1773 1095"; };
  END interfaceview.others;

  ---------------------------------------------------
  -- TASTE Function: interfaceview::IV::Simple_C_Function
  ---------------------------------------------------

  SYSTEM Simple_C_Function
    FEATURES
      cyclic_operation_obj197 : PROVIDES SUBPROGRAM ACCESS interfaceview::FV::cyclic_operation_obj197.others
        { Taste::Coordinates => "1109 558 1109 558";
          Taste::RCMoperationKind => cyclic;
          Taste::RCMperiod => 2000 ms;
          Taste::Deadline => 2000 ms;
          Taste::Importance => MEDIUM ;};
    PROPERTIES
      Source_Language => C;
      Taste::Instance_Name => "Function0";
  END Simple_C_Function;

  SYSTEM IMPLEMENTATION Simple_C_Function.others
    SUBCOMPONENTS
      cyclic_operation_obj197_impl : SUBPROGRAM interfaceview::FV::cyclic_operation_obj197.others
        { Compute_Execution_Time => 0ms..2000ms ;};
    CONNECTIONS
      SUBPROGRAM ACCESS cyclic_operation_obj197_impl  -> cyclic_operation_obj197;
  END Simple_C_Function.others;



PROPERTIES
  Taste::Coordinates => "0 0 2970 2100";
  Taste::dataView => ("DataView");
  Taste::dataViewPath => ("DataView.aadl");

END interfaceview::IV;

PACKAGE interfaceview::FV
PUBLIC

WITH DataView;
WITH TASTE;

  SUBPROGRAM cyclic_operation_obj197
  END cyclic_operation_obj197;

  SUBPROGRAM IMPLEMENTATION cyclic_operation_obj197.others
  END cyclic_operation_obj197.others;

END interfaceview::FV;