Commit 6784d11c authored by Maxime Perrotin's avatar Maxime Perrotin
parents be90954f f7bcff26
......@@ -41,12 +41,12 @@ SUBCOMPONENTS
Taste::coordinates => "762 722 2102 1592";
Deployment::Port_Number => 0;
};
leon_rtems_posix : PROCESSOR ocarina_processors_leon::leon.rtems_posix {
leon3_rtems_posix : PROCESSOR ocarina_processors_leon::leon3.rtems51_posix {
Taste::coordinates => "594 473 2269 1716";
};
PROPERTIES
Taste::APLC_Binding => (reference (leon_partition)) APPLIES TO IV_Simple_C_Function;
Actual_Processor_Binding => (reference (leon_rtems_posix)) APPLIES TO leon_partition;
Actual_Processor_Binding => (reference (leon3_rtems_posix)) APPLIES TO leon_partition;
END Node1.others;
SYSTEM deploymentview
......
......@@ -41,7 +41,7 @@ SUBCOMPONENTS
Taste::coordinates => "762 722 2102 1592";
Deployment::Port_Number => 0;
};
leon_rtems_posix : PROCESSOR ocarina_processors_leon::gr740.rtems410_gaisler_posix {
leon_rtems_posix : PROCESSOR ocarina_processors_leon::gr740.rcc13rc4_posix {
Taste::coordinates => "594 473 2269 1716";
};
PROPERTIES
......
......@@ -129,7 +129,7 @@ SUBCOMPONENTS
Taste::coordinates => "154393 62725 186543 89579";
Deployment::Port_Number => 0;
};
gr740_rtems412_posix : PROCESSOR ocarina_processors_leon::gr740.rcc13rc4_posix {
gr740_rcc13rc4_posix : PROCESSOR ocarina_processors_leon::gr740.rcc13rc4_posix {
Taste::coordinates => "150374 55053 190562 93415";
};
leon_ethernet_raw : DEVICE deploymentview::DV::Node2::leon_ethernet_raw.others {
......@@ -139,8 +139,8 @@ CONNECTIONS
leon_ethernet_raw_ip_i_link : BUS ACCESS leon_ethernet_raw_ip_i -> leon_ethernet_raw.link;
PROPERTIES
Taste::APLC_Binding => (reference (gr740_partition)) APPLIES TO IV_LivesInGR740;
Actual_Processor_Binding => (reference (gr740_rtems412_posix)) APPLIES TO gr740_partition;
Actual_Processor_Binding => (reference (gr740_rtems412_posix)) APPLIES TO leon_ethernet_raw;
Actual_Processor_Binding => (reference (gr740_rcc13rc4_posix)) APPLIES TO gr740_partition;
Actual_Processor_Binding => (reference (gr740_rcc13rc4_posix)) APPLIES TO leon_ethernet_raw;
END Node2.others;
SYSTEM deploymentview
......
---------------------------------------------------
-- AADL2.1
-- TASTE type deploymentview
--
-- 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 x86_partition
END x86_partition;
PROCESS IMPLEMENTATION x86_partition.others
END x86_partition.others;
DEVICE generic_sockets_ip_pohic
EXTENDS ocarina_drivers::generic_sockets_ip
FEATURES
link : REFINED TO REQUIRES BUS ACCESS ocarina_buses::ip.i {
Taste::coordinates => "106642 116917";
};
PROPERTIES
Taste::Interface_Coordinates => "120784 150075" APPLIES TO link;
Deployment::Help => "Write your ASN.1 configuration here";
Deployment::Configuration => "{devname ""enx0050b6519447"", address ""192.168.0.151"", port 5116 }";
Deployment::Config => "/home/taste/tool-inst/include/ocarina/runtime/polyorb-hi-c/src/drivers/configuration/ip.asn";
Deployment::Version => "0.1beta";
END generic_sockets_ip_pohic;
DEVICE IMPLEMENTATION generic_sockets_ip_pohic.others
EXTENDS ocarina_drivers::generic_sockets_ip.pohic
END generic_sockets_ip_pohic.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 gr740_partition
END gr740_partition;
PROCESS IMPLEMENTATION gr740_partition.others
END gr740_partition.others;
DEVICE leon_ethernet_raw
EXTENDS ocarina_drivers::leon_ethernet
FEATURES
link : REFINED TO REQUIRES BUS ACCESS ocarina_buses::ip.i {
Taste::coordinates => "172100 116810";
};
PROPERTIES
Taste::Interface_Coordinates => "163932 150075" APPLIES TO link;
Deployment::Help => "Write your ASN.1 configuration here";
Deployment::Configuration => "{devname ""greth1"", address ""192.168.0.81"", gateway ""192.168.0.1"", netmask ""255.255.255.0"", version ipv4, port 5118 }";
Deployment::Config => "/home/taste/tool-inst/include/ocarina/runtime/polyorb-hi-c/src/drivers/configuration/ip.asn";
Deployment::Version => "0.1beta";
END leon_ethernet_raw;
DEVICE IMPLEMENTATION leon_ethernet_raw.others
EXTENDS ocarina_drivers::leon_ethernet.greth
END leon_ethernet_raw.others;
END deploymentview::DV::Node2;
PACKAGE deploymentview::DV
PUBLIC
WITH interfaceview::IV;
WITH ocarina_processors_x86;
WITH deploymentview::DV::Node1;
WITH ocarina_processors_leon;
WITH deploymentview::DV::Node2;
WITH ocarina_buses;
WITH Taste;
WITH Deployment;
WITH interfaceview::IV;
WITH TASTE_DV_Properties;
SYSTEM Node1
FEATURES
generic_sockets_ip_pohic_ip_i : REQUIRES BUS ACCESS ocarina_buses::ip.i;
END Node1;
SYSTEM IMPLEMENTATION Node1.others
SUBCOMPONENTS
IV_LivesInX86 : SYSTEM interfaceview::IV::LivesInX86.others {
Taste::FunctionName => "LivesInX86";
};
x86_partition : PROCESS deploymentview::DV::Node1::x86_partition.others {
Taste::coordinates => "91018 62191 117323 88272";
Deployment::Port_Number => 0;
};
x86_linux : PROCESSOR ocarina_processors_x86::x86.linux {
Taste::coordinates => "87730 54739 120611 91998";
};
generic_sockets_ip_pohic : DEVICE deploymentview::DV::Node1::generic_sockets_ip_pohic.others {
Taste::coordinates => "89257 97794 118522 116917";
};
CONNECTIONS
generic_sockets_ip_pohic_ip_i_link : BUS ACCESS generic_sockets_ip_pohic_ip_i -> generic_sockets_ip_pohic.link;
PROPERTIES
Taste::APLC_Binding => (reference (x86_partition)) APPLIES TO IV_LivesInX86;
Actual_Processor_Binding => (reference (x86_linux)) APPLIES TO x86_partition;
Actual_Processor_Binding => (reference (x86_linux)) APPLIES TO generic_sockets_ip_pohic;
END Node1.others;
SYSTEM Node2
FEATURES
leon_ethernet_raw_ip_i : REQUIRES BUS ACCESS ocarina_buses::ip.i;
END Node2;
SYSTEM IMPLEMENTATION Node2.others
SUBCOMPONENTS
IV_LivesInGR740 : SYSTEM interfaceview::IV::LivesInGR740.others {
Taste::FunctionName => "LivesInGR740";
};
gr740_partition : PROCESS deploymentview::DV::Node2::gr740_partition.others {
Taste::coordinates => "154393 62725 186543 89579";
Deployment::Port_Number => 0;
};
gr740_rtems412_posix : PROCESSOR ocarina_processors_leon::gr740.rcc13rc4_posix {
Taste::coordinates => "150374 55053 190562 93415";
};
leon_ethernet_raw : DEVICE deploymentview::DV::Node2::leon_ethernet_raw.others {
Taste::coordinates => "157178 99425 187601 116810";
};
CONNECTIONS
leon_ethernet_raw_ip_i_link : BUS ACCESS leon_ethernet_raw_ip_i -> leon_ethernet_raw.link;
PROPERTIES
Taste::APLC_Binding => (reference (gr740_partition)) APPLIES TO IV_LivesInGR740;
Actual_Processor_Binding => (reference (gr740_rtems412_posix)) APPLIES TO gr740_partition;
Actual_Processor_Binding => (reference (gr740_rtems412_posix)) APPLIES TO leon_ethernet_raw;
END Node2.others;
SYSTEM deploymentview
END deploymentview;
SYSTEM IMPLEMENTATION deploymentview.others
SUBCOMPONENTS
Node1 : SYSTEM Node1.others {
Taste::coordinates => "84565 50865 125666 138453";
};
Node2 : SYSTEM Node2.others {
Taste::coordinates => "144563 51022 194798 138018";
};
ip_i : BUS ocarina_buses::ip.i {
Taste::coordinates => "120784 150075 176373 182672";
};
interfaceview : SYSTEM interfaceview::IV::interfaceview.others;
CONNECTIONS
Connection2 : BUS ACCESS ip_i -> Node1.generic_sockets_ip_pohic_ip_i {
Taste::coordinates => "106642 116917 106642 133496 120784 133496 120784 150075";
};
Connection1 : BUS ACCESS ip_i -> Node2.leon_ethernet_raw_ip_i {
Taste::coordinates => "172100 116810 172100 133442 163932 133442 163932 150075";
};
PROPERTIES
Actual_Connection_Binding => (reference (ip_i)) APPLIES TO interfaceview.LivesInX86_PI_report_LivesInGR740_RI_report;
Actual_Connection_Binding => (reference (ip_i)) APPLIES TO interfaceview.LivesInGR740_PI_something_LivesInX86_RI_something;
END deploymentview.others;
PROPERTIES
Taste::coordinates => "0 0 297000 210000";
Taste::version => "1.3";
Taste::interfaceView => "InterfaceView.aadl";
Taste::HWLibraries => ("../../../tool-inst/share/ocarina/AADLv2/ocarina_components.aadl");
END deploymentview::DV;
......@@ -45,7 +45,7 @@ SUBCOMPONENTS
Taste::coordinates => "592 899 1728 1656";
Deployment::Port_Number => 0;
};
rtems_posix : PROCESSOR ocarina_processors_leon::leon.rtems_posix {
rtems_posix : PROCESSOR ocarina_processors_leon::leon3.rtems51_posix {
Taste::coordinates => "450 683 1870 1764";
};
PROPERTIES
......
......@@ -45,13 +45,13 @@ SUBCOMPONENTS
Taste::coordinates => "134427 102300 229315 152173";
Deployment::Port_Number => 0;
};
leon3_rtems412_posix : PROCESSOR ocarina_processors_leon::leon3.rtems412_posix {
leon3_rtems51_posix : PROCESSOR ocarina_processors_leon::leon3.rtems51_posix {
Taste::coordinates => "122566 88051 241176 159298";
};
PROPERTIES
Taste::APLC_Binding => (reference (leon3_partition)) APPLIES TO IV_F1;
Taste::APLC_Binding => (reference (leon3_partition)) APPLIES TO IV_F2;
Actual_Processor_Binding => (reference (leon3_rtems412_posix)) APPLIES TO leon3_partition;
Actual_Processor_Binding => (reference (leon3_rtems51_posix)) APPLIES TO leon3_partition;
END Node1.others;
SYSTEM deploymentview
......
......@@ -129,7 +129,7 @@ WITH ocarina_processors_x86;
Deployment::Port_Number => 0;};
pingee1_obj366 : SYSTEM interfaceview::IV::pingee1
{ Taste::Coordinates => "123 28 167 38" ;};
leoncpu_obj135 : PROCESSOR ocarina_processors_leon::leon.rtems_posix
leoncpu_obj135 : PROCESSOR ocarina_processors_leon::leon3.rtems51_posix
{ Taste::Coordinates => "113 14 178 46"; };
ram_obj223 : MEMORY ram_obj223.others
{ Taste::Coordinates => "115 51 177 67"; };
......@@ -209,7 +209,7 @@ WITH ocarina_processors_x86;
Deployment::Port_Number => 0;};
pingee2_obj377 : SYSTEM interfaceview::IV::pingee2
{ Taste::Coordinates => "216 25 266 36" ;};
leoncpu_obj146 : PROCESSOR ocarina_processors_leon::leon.rtems_posix
leoncpu_obj146 : PROCESSOR ocarina_processors_leon::leon3.rtems51_posix
{ Taste::Coordinates => "209 12 278 51"; };
ram_obj234 : MEMORY ram_obj234.others
{ Taste::Coordinates => "209 53 277 70"; };
......
This diff is collapsed.
......@@ -41,7 +41,7 @@ SUBCOMPONENTS
Taste::coordinates => "939 330 1459 670";
Deployment::Port_Number => 0;
};
leon_rtems_posix : PROCESSOR ocarina_processors_leon::leon.rtems_posix {
leon_rtems_posix : PROCESSOR ocarina_processors_leon::leon3.rtems51_posix {
Taste::coordinates => "873 260 1573 705";
};
PROPERTIES
......
.cache/
c_function.zip
sdl_function.zip
sdl_function/sdl_function.adb
sdl_function/sdl_function.ads
TASTE-Dataview DEFINITIONS ::= BEGIN
-- In this ACN model, you can specify custom binary encoding rules for
-- your data types. For example if you require a specific memory layout
-- for a record, or need to add padding fields, define endianness, etc.
-- you can do that with ACN. Refer to the ACN user manual for details.
-- TASTE-Boolean []
END
TASTE-Dataview DEFINITIONS ::=
BEGIN
IMPORTS T-Int32, T-UInt32, T-Int8, T-UInt8, T-Boolean FROM TASTE-BasicTypes;
TASTE-Boolean ::= BOOLEAN
-- ASN.1 Type definitions must start with an uppercase
-- Field names in records (SEQUENCE) must start with a lowercase
-- Underscores are not allowed: use dash (hyphen)
-- Simple types:
-- MyInteger ::= INTEGER (0..255)
-- MyReal ::= REAL (0.0 .. 1000.0)
-- MyBool ::= BOOLEAN
-- MyEnum ::= ENUMERATED { hello, world, how-are-you }
-- Complex types:
-- MySeq ::= SEQUENCE {
-- input-data MyInteger,
-- output-data MyInteger,
-- validity ENUMERATED { valid, invalid }
-- }
--
-- MyChoice ::= CHOICE {
-- a BOOLEAN,
-- b MySeq
-- }
--
-- MySeqOf ::= SEQUENCE (SIZE (2)) OF MyEnum
--
-- MyOctStr ::= OCTET STRING (SIZE (3))
--
-- -- You can also declare constants
-- myVar MySeqOf ::= { hello, world }
END
......@@ -22,7 +22,8 @@ END deploymentview::DV::Node1;
PACKAGE deploymentview::DV
PUBLIC
WITH interfaceview::IV;
WITH interfaceview::IV::SDL_Function;
WITH interfaceview::IV::C_Function;
WITH ocarina_processors_leon;
WITH deploymentview::DV::Node1;
WITH Taste;
......@@ -34,31 +35,23 @@ END Node1;
SYSTEM IMPLEMENTATION Node1.others
SUBCOMPONENTS
IV_Function1 : SYSTEM interfaceview::IV::Function1.others {
Taste::FunctionName => "Function1";
};
IV_Function2 : SYSTEM interfaceview::IV::Function2.others {
Taste::FunctionName => "Function2";
};
IV_Function3 : SYSTEM interfaceview::IV::Function3.others {
Taste::FunctionName => "Function3";
IV_SDL_Function : SYSTEM interfaceview::IV::SDL_Function::SDL_Function.others {
Taste::FunctionName => "SDL_Function";
};
IV_Function4 : SYSTEM interfaceview::IV::Function4.others {
Taste::FunctionName => "Function4";
IV_C_Function : SYSTEM interfaceview::IV::C_Function::C_Function.others {
Taste::FunctionName => "C_Function";
};
gr740_partition : PROCESS deploymentview::DV::Node1::gr740_partition.others {
Taste::coordinates => "141020 107883 218669 153435";
Taste::coordinates => "112791 80644 159958 108809";
Deployment::Port_Number => 0;
};
gr740_rtems412_posix : PROCESSOR ocarina_processors_leon::gr740.rtems412_posix {
Taste::coordinates => "131314 94868 228375 159942";
gr740_rtems51_posix : PROCESSOR ocarina_processors_leon::gr740.rtems51_posix {
Taste::coordinates => "106895 72597 165854 112832";
};
PROPERTIES
Taste::APLC_Binding => (reference (gr740_partition)) APPLIES TO IV_Function1;
Taste::APLC_Binding => (reference (gr740_partition)) APPLIES TO IV_Function2;
Taste::APLC_Binding => (reference (gr740_partition)) APPLIES TO IV_Function3;
Taste::APLC_Binding => (reference (gr740_partition)) APPLIES TO IV_Function4;
Actual_Processor_Binding => (reference (gr740_rtems412_posix)) APPLIES TO gr740_partition;
Taste::APLC_Binding => (reference (gr740_partition)) APPLIES TO IV_SDL_Function;
Taste::APLC_Binding => (reference (gr740_partition)) APPLIES TO IV_C_Function;
Actual_Processor_Binding => (reference (gr740_rtems51_posix)) APPLIES TO gr740_partition;
END Node1.others;
SYSTEM deploymentview
......@@ -67,14 +60,14 @@ END deploymentview;
SYSTEM IMPLEMENTATION deploymentview.others
SUBCOMPONENTS
Node1 : SYSTEM Node1.others {
Taste::coordinates => "119181 76276 240508 169238";
Taste::coordinates => "99525 61101 173224 118580";
};
interfaceview : SYSTEM interfaceview::IV::interfaceview.others;
END deploymentview.others;
PROPERTIES
Taste::coordinates => "0 0 297000 210000";
Taste::version => "1.3";
Taste::version => "2.0";
Taste::interfaceView => "InterfaceView.aadl";
Taste::HWLibraries => ("../../../tool-inst/share/ocarina/AADLv2/ocarina_components.aadl");
END deploymentview::DV;
......
---------------------------------------------------
-- AADL2.1
-- TASTE type interfaceview
--
-- generated code: do not edit
---------------------------------------------------
PACKAGE interfaceview::IV::SDL_Function
PUBLIC
WITH interfaceview::IV::C_Function;
WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SUBPROGRAM PI_pulse
END PI_pulse;
SUBPROGRAM IMPLEMENTATION PI_pulse.others
PROPERTIES
Compute_Execution_Time => 0 ms .. 0 ms;
END PI_pulse.others;
SUBPROGRAM RI_dosomething_unpro
FEATURES
a : IN PARAMETER DataView::T_UInt32 {
Taste::encoding => NATIVE;
};
END RI_dosomething_unpro;
SUBPROGRAM IMPLEMENTATION RI_dosomething_unpro.others
END RI_dosomething_unpro.others;
SUBPROGRAM RI_doSomething_spo
FEATURES
a : IN PARAMETER DataView::T_UInt32 {
Taste::encoding => UPER;
};
END RI_doSomething_spo;
SUBPROGRAM IMPLEMENTATION RI_doSomething_spo.others
END RI_doSomething_spo.others;
SUBPROGRAM PI_setanswer
FEATURES
a : IN PARAMETER DataView::T_UInt32 {
Taste::encoding => NATIVE;
};
PROPERTIES
Taste::Associated_Queue_Size => 1;
END PI_setanswer;
SUBPROGRAM IMPLEMENTATION PI_setanswer.others
PROPERTIES
Compute_Execution_Time => 0 ms .. 0 ms;
END PI_setanswer.others;
SYSTEM SDL_Function
FEATURES
PI_pulse : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::SDL_Function::PI_pulse.others {
Taste::coordinates => "103150 59684";
Taste::RCMoperationKind => cyclic;
Taste::RCMperiod => 1000 ms;
Taste::InterfaceName => "pulse";
};
RI_dosomething_unpro : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::C_Function::PI_dosomething_unpro.others {
Taste::coordinates => "129760 65984";
Taste::RCMoperationKind => any;
Taste::InterfaceName => "dosomething_unpro";
Taste::labelInheritance => "true";
};
RI_doSomething_spo : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::C_Function::PI_doSomething_spo.others {
Taste::coordinates => "129760 77009";
Taste::RCMoperationKind => any;
Taste::InterfaceName => "doSomething_spo";
Taste::labelInheritance => "true";
};
PI_setanswer : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::SDL_Function::PI_setanswer.others {
Taste::coordinates => "129760 84884";
Taste::RCMoperationKind => sporadic;
Taste::InterfaceName => "setanswer";
};
PROPERTIES
Source_Language => (SDL);
Taste::Active_Interfaces => any;
END SDL_Function;
SYSTEM IMPLEMENTATION SDL_Function.others
END SDL_Function.others;
END interfaceview::IV::SDL_Function;
PACKAGE interfaceview::IV::C_Function
PUBLIC
WITH interfaceview::IV::SDL_Function;
WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SUBPROGRAM PI_dosomething_unpro
FEATURES
a : IN PARAMETER DataView::T_UInt32 {
Taste::encoding => NATIVE;
};
END PI_dosomething_unpro;
SUBPROGRAM IMPLEMENTATION PI_dosomething_unpro.others
PROPERTIES
Compute_Execution_Time => 0 ms .. 0 ms;
END PI_dosomething_unpro.others;
SUBPROGRAM PI_doSomething_spo
FEATURES
a : IN PARAMETER DataView::T_UInt32 {
Taste::encoding => UPER;
};
PROPERTIES
Taste::Associated_Queue_Size => 1;
END PI_doSomething_spo;
SUBPROGRAM IMPLEMENTATION PI_doSomething_spo.others
PROPERTIES
Compute_Execution_Time => 0 ms .. 0 ms;
END PI_doSomething_spo.others;
SUBPROGRAM RI_setanswer
FEATURES
a : IN PARAMETER DataView::T_UInt32 {
Taste::encoding => NATIVE;
};
END RI_setanswer;
SUBPROGRAM IMPLEMENTATION RI_setanswer.others
END RI_setanswer.others;
SYSTEM C_Function
FEATURES
PI_dosomething_unpro : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::C_Function::PI_dosomething_unpro.others {
Taste::coordinates => "152122 68031";
Taste::RCMoperationKind => unprotected;
Taste::InterfaceName => "dosomething_unpro";
};
PI_doSomething_spo : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::C_Function::PI_doSomething_spo.others {
Taste::coordinates => "152122 75906";
Taste::RCMoperationKind => sporadic;
Taste::InterfaceName => "doSomething_spo";
};
RI_setanswer : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::SDL_Function::PI_setanswer.others {
Taste::coordinates => "152122 83781";
Taste::RCMoperationKind => any;
Taste::InterfaceName => "setanswer";
Taste::labelInheritance => "true";
};
PROPERTIES
Source_Language => (C);
Taste::Active_Interfaces => any;
END C_Function;
SYSTEM IMPLEMENTATION C_Function.others
END C_Function.others;
END interfaceview::IV::C_Function;
PACKAGE interfaceview::IV
PUBLIC
WITH interfaceview::IV::SDL_Function;
WITH interfaceview::IV::C_Function;
WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SYSTEM interfaceview
PROPERTIES
Taste::dataView => ("DataView");
Taste::dataViewPath => ("DataView.aadl");
END interfaceview;
SYSTEM IMPLEMENTATION interfaceview.others
SUBCOMPONENTS
SDL_Function : SYSTEM interfaceview::IV::SDL_Function::SDL_Function.others {
Taste::coordinates => "82675 59684 129760 97478";
};
C_Function : SYSTEM interfaceview::IV::C_Function::C_Function.others {
Taste::coordinates => "152122 61731 199680 102674";
};
CONNECTIONS
C_Function_PI_dosomething_unpro_SDL_Function_RI_dosomething_unpro : SUBPROGRAM ACCESS C_Function.PI_dosomething_unpro -> SDL_Function.RI_dosomething_unpro {
Taste::coordinates => "129760 65984 140941 65984 140941 68031 152122 68031";
};
C_Function_PI_doSomething_spo_SDL_Function_RI_doSomething_spo : SUBPROGRAM ACCESS C_Function.PI_doSomething_spo -> SDL_Function.RI_doSomething_spo {
Taste::coordinates => "129760 77009 140941 77009 140941 75906 152122 75906";
};
SDL_Function_PI_setanswer_C_Function_RI_setanswer : SUBPROGRAM ACCESS SDL_Function.PI_setanswer -> C_Function.RI_setanswer {
Taste::coordinates => "152122 83781 140941 83781 140941 84884 129760 84884";
};
END interfaceview.others;
PROPERTIES
Taste::dataView => ("DataView");
Taste::dataViewPath => ("DataView.aadl");
Taste::coordinates => "0 0 297000 210000";
Taste::version => "2.0";
END interfaceview::IV;
#!/bin/bash -e
# This script will build your TASTE system.
# You should not change this file as it was automatically generated.
# If you need additional preprocessing, there are three hook files
# that you can provide and that are called dring the build:
# user_init_pre.sh, user_init_post.sh and user_init_last.sh
# These files will never get overwritten by TASTE.'
# Inside these files you may set some environment variables:
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:${C_INCLUDE_PATH}
# unset USE_POHIC
CWD=$(pwd)
if [ -t 1 ] ; then
COLORON="\e[1m\e[32m"
COLOROFF="\e[0m"
else
COLORON=""
COLOROFF=""
fi
INFO="${COLORON}[INFO]${COLOROFF}"
if [ -f user_init_pre.sh ]
then
echo -e "${INFO} Executing user-defined init script"
source user_init_pre.sh
fi
# Use PolyORB-HI-C runtime
USE_POHIC=1
# Set Debug mode by default
DEBUG_MODE=--debug
# Detect models from Ellidiss tools v2, and convert them to 1.3
INTERFACEVIEW=InterfaceView.aadl
grep "version => \"2" InterfaceView.aadl >/dev/null && {
echo -e "${INFO} Converting interface view from V2 to V1.3"
TASTE --load-interface-view InterfaceView.aadl --export-interface-view-to-1_3 __iv_1_3.aadl
INTERFACEVIEW=__iv_1_3.aadl
};
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
fi
# Detect models from Ellidiss tools v2, and convert them to 1.3
grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
echo -e "${INFO} Converting deployment view from V2 to V1.3"
TASTE --load-deployment-view "$DEPLOYMENTVIEW" --export-deployment-view-to-1_3 __dv_1_3.aadl
DEPLOYMENTVIEW=__dv_1_3.aadl
};
SKELS="./"
# Check if Dataview references existing files
mono $(which taste-extract-asn-from-design.exe) -i "$INTERFACEVIEW" -j /tmp/dv.asn
# Generate code for OpenGEODE function sdl_function
cd "$SKELS"/sdl_function && opengeode --toAda sdl_function.pr system_structure.pr && cd $OLDPWD
cd "$SKELS" && rm -f sdl_function.zip && zip sdl_function sdl_function/* && cd $OLDPWD
cd "$SKELS" && rm -f c_function.zip && zip c_function c_function/* && cd $OLDPWD
[ ! -z "$CLEANUP" ] && rm -rf binary*
if [ -f ConcurrencyView.pro ]
then
ORCHESTRATOR_OPTIONS+=" -w ConcurrencyView.pro "
elif [ -f ConcurrencyView_Properties.aadl ]
then
ORCHESTRATOR_OPTIONS+=" -w ConcurrencyView_Properties.aadl "
fi
if [ -f user_init_post.sh ]
then
echo -e "${INFO} Executing user-defined post-init script"
source user_init_post.sh
fi
if [ -f additionalCommands.sh ]
then
source additionalCommands.sh
fi