DemoDV.aadl 6.2 KB
Newer Older
Jerome Legrand's avatar
Jerome Legrand committed
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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
---------------------------------------------------
-- AADL2.1
-- TASTE type deploymentview
-- (c)Ellidiss Technologies
-- generated code: do not edit
---------------------------------------------------

PACKAGE deploymentview::DV::Node1
PUBLIC

WITH ocarina_buses;
WITH ocarina_drivers;
WITH Taste;
WITH Deployment;
WITH TASTE_DV_Properties;
PROCESS App1
END App1;

PROCESS IMPLEMENTATION App1.others
END App1.others;

DEVICE driver
EXTENDS ocarina_drivers::generic_serial
FEATURES
  link : REFINED TO REQUIRES BUS ACCESS ocarina_buses::serial.generic {
    Taste::coordinates => "113835 67430";
  };
PROPERTIES
  Taste::Interface_Coordinates => "138660 69107" APPLIES TO link;
  Deployment::Help => "Write your ASN.1 configuration here";
END driver;

DEVICE IMPLEMENTATION driver.others
EXTENDS ocarina_drivers::generic_serial.raw
END driver.others;

END deploymentview::DV::Node1;

PACKAGE deploymentview::DV::Node2
PUBLIC

WITH ocarina_buses;
WITH ocarina_drivers;
WITH Taste;
WITH Deployment;
WITH TASTE_DV_Properties;
PROCESS App2
END App2;

PROCESS IMPLEMENTATION App2.others
END App2.others;

DEVICE driver
EXTENDS ocarina_drivers::generic_serial
FEATURES
  link : REFINED TO REQUIRES BUS ACCESS ocarina_buses::serial.generic {
    Taste::coordinates => "174666 67541";
  };
PROPERTIES
  Taste::Interface_Coordinates => "148276 69330" APPLIES TO link;
  Deployment::Help => "Write your ASN.1 configuration here";
END driver;

DEVICE IMPLEMENTATION driver.others
EXTENDS ocarina_drivers::generic_serial.raw
END driver.others;

END deploymentview::DV::Node2;

PACKAGE deploymentview::DV
PUBLIC

WITH interfaceview::IV::Sensors::S1;
WITH interfaceview::IV::Sensors::S2;
WITH interfaceview::IV::Processing::Preproc;
WITH ocarina_processors_x86;
WITH deploymentview::DV::Node1;
WITH interfaceview::IV::Processing::Postproc;
WITH interfaceview::IV::Actuators::A1;
WITH interfaceview::IV::Actuators::A2;
WITH deploymentview::DV::Node2;
WITH ocarina_buses;
WITH Taste;
WITH Deployment;
WITH interfaceview::IV;
WITH TASTE_DV_Properties;
SYSTEM Node1
FEATURES
  driver_serial_generic : REQUIRES BUS ACCESS ocarina_buses::serial.generic;
END Node1;

SYSTEM IMPLEMENTATION Node1.others
SUBCOMPONENTS
  IV_S1 : SYSTEM interfaceview::IV::Sensors::S1::S1.others {
    Taste::coordinates => "97509 90800 110033 101982";
    Taste::FunctionName => "S1";
  };
  IV_S2 : SYSTEM interfaceview::IV::Sensors::S2::S2.others {
    Taste::coordinates => "98627 106678 109139 117413";
    Taste::FunctionName => "S2";
  };
  IV_Preproc : SYSTEM interfaceview::IV::Processing::Preproc::Preproc.others {
    Taste::coordinates => "90129 91918 96391 116966";
    Taste::FunctionName => "Preproc";
  };
  App1 : PROCESS deploymentview::DV::Node1::App1.others {
    Taste::coordinates => "88619 84547 111386 119724";
    Deployment::Port_Number => 0;
  };
  x86_linux : PROCESSOR ocarina_processors_x86::x86.linux {
    Taste::coordinates => "85656 73624 119650 123877";
  };
  driver : DEVICE deploymentview::DV::Node1::driver.others {
    Taste::coordinates => "95720 64410 113835 70001";
  };
CONNECTIONS
  driver_serial_generic_link : BUS ACCESS driver_serial_generic -> driver.link;
PROPERTIES
  Taste::APLC_Binding => (reference (App1)) APPLIES TO IV_S1;
  Taste::APLC_Binding => (reference (App1)) APPLIES TO IV_S2;
  Taste::APLC_Binding => (reference (App1)) APPLIES TO IV_Preproc;
  Actual_Processor_Binding => (reference (x86_linux)) APPLIES TO App1;
  Actual_Processor_Binding => (reference (x86_linux)) APPLIES TO driver;
END Node1.others;

SYSTEM Node2
FEATURES
  driver_serial_generic : REQUIRES BUS ACCESS ocarina_buses::serial.generic;
END Node2;

SYSTEM IMPLEMENTATION Node2.others
SUBCOMPONENTS
  IV_Postproc : SYSTEM interfaceview::IV::Processing::Postproc::Postproc.others {
    Taste::coordinates => "172654 91694 178692 118755";
    Taste::FunctionName => "Postproc";
  };
  IV_A1 : SYSTEM interfaceview::IV::Actuators::A1::A1.others {
    Taste::coordinates => "182941 90129 192782 101758";
    Taste::FunctionName => "A1";
  };
  IV_A2 : SYSTEM interfaceview::IV::Actuators::A2::A2.others {
    Taste::coordinates => "184059 106902 192334 118308";
    Taste::FunctionName => "A2";
  };
  App2 : PROCESS deploymentview::DV::Node2::App2.others {
    Taste::coordinates => "170561 85106 195689 121378";
    Deployment::Port_Number => 0;
  };
  x86_linux : PROCESSOR ocarina_processors_x86::x86.linux {
    Taste::coordinates => "167018 74742 202443 126560";
  };
  driver : DEVICE deploymentview::DV::Node2::driver.others {
    Taste::coordinates => "174666 64410 195242 70672";
  };
CONNECTIONS
  driver_serial_generic_link : BUS ACCESS driver_serial_generic -> driver.link;
PROPERTIES
  Taste::APLC_Binding => (reference (App2)) APPLIES TO IV_Postproc;
  Taste::APLC_Binding => (reference (App2)) APPLIES TO IV_A1;
  Taste::APLC_Binding => (reference (App2)) APPLIES TO IV_A2;
  Actual_Processor_Binding => (reference (x86_linux)) APPLIES TO App2;
  Actual_Processor_Binding => (reference (x86_linux)) APPLIES TO driver;
END Node2.others;

SYSTEM deploymentview
END deploymentview;

SYSTEM IMPLEMENTATION deploymentview.others
SUBCOMPONENTS
  Node1 : SYSTEM Node1.others {
    Taste::coordinates => "81407 59266 123899 131056";
  };
  Node2 : SYSTEM Node2.others {
    Taste::coordinates => "162590 59937 206871 133963";
  };
  serial_generic : BUS ocarina_buses::serial.generic {
    Taste::coordinates => "138660 64410 148276 104666";
  };
  interfaceview : SYSTEM interfaceview::IV::interfaceview.others;
CONNECTIONS
  Connection1 : BUS ACCESS serial_generic -> Node1.driver_serial_generic {
    Taste::coordinates => "113835 67430 126247 67430 126247 69107 138660 69107";
  };
  Connection2 : BUS ACCESS serial_generic -> Node2.driver_serial_generic {
    Taste::coordinates => "174666 67541 161471 67541 161471 69330 148276 69330";
  };
PROPERTIES
  Actual_Connection_Binding => (reference (serial_generic)) APPLIES TO interfaceview.Processing.Preproc_PI_getVal_Postproc_RI_getVal;
  Taste::Coordinates => "142462 76039 144474 89234" APPLIES TO interfaceview.Processing.Preproc_PI_getVal_Postproc_RI_getVal;
END deploymentview.others;

PROPERTIES
  Taste::coordinates => "0 0 297000 210000";
  Taste::version => "2.0";
  Taste::interfaceView => "DemoIV.aadl";
  Taste::HWLibraries => ("common/ocarina_components.aadl");
END deploymentview::DV;