InterfaceView.aadl 1.74 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 73 74 75 76 77 78
---------------------------------------------------
-- AADL2.0
-- TASTE
-- 
-- 
---------------------------------------------------

PACKAGE interfaceview::FV::my_function
PUBLIC

WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SUBPROGRAM PI_my_cycle
PROPERTIES
  Taste::Associated_Queue_Size => 1;
END PI_my_cycle;

SUBPROGRAM IMPLEMENTATION PI_my_cycle.others
END PI_my_cycle.others;

END interfaceview::FV::my_function;

PACKAGE interfaceview::IV
PUBLIC

WITH interfaceview::FV::my_function;
WITH interfaceview::FV;
WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SYSTEM my_function
FEATURES
  PI_my_cycle : PROVIDES SUBPROGRAM ACCESS interfaceview::FV::my_function::PI_my_cycle.others {
    Taste::coordinates => "995 1559";
    Taste::RCMoperationKind => cyclic;
    Taste::RCMperiod => 500 ms;
    Taste::Deadline => 500 ms;
    Taste::InterfaceName => "my_cycle";
  };
PROPERTIES
  Source_Language => (Micropython);
END my_function;

SYSTEM IMPLEMENTATION my_function.others
SUBCOMPONENTS
  my_cycle_impl : SUBPROGRAM interfaceview::FV::my_function::PI_my_cycle.others {
    Compute_Execution_Time => 0 ms .. 0 ms;
  };
CONNECTIONS
  OpToPICnx_my_cycle_impl : SUBPROGRAM ACCESS my_cycle_impl -> PI_my_cycle;
END my_function.others;

SYSTEM interfaceview
END interfaceview;

SYSTEM IMPLEMENTATION interfaceview.others
SUBCOMPONENTS
  my_function : SYSTEM interfaceview::IV::my_function.others {
    Taste::coordinates => "415 385 2170 1559";
  };
END interfaceview.others;

PROPERTIES
  Taste::dataView => ("DataView");
  Taste::dataViewPath => ("DataView.aadl");
  Taste::coordinates => "0 0 2970 2100";
  Taste::version => "1.3.19";
END interfaceview::IV;

PACKAGE interfaceview::FV
PUBLIC

WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
END interfaceview::FV;