Commit 4a566557 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Separate deployment views

parent b04bdf41
---------------------------------------------------
-- AADL2.2
-- TASTE type deploymentview
--
-- generated code: do not edit
---------------------------------------------------
PACKAGE deploymentview::DV::leon3
PUBLIC
WITH Taste;
WITH Deployment;
WITH TASTE_DV_Properties;
WITH deploymentview::DV;
WITH Memory_Properties;
WITH ARINC653;
PROCESS leon3_partition
END leon3_partition;
PROCESS IMPLEMENTATION leon3_partition.others
END leon3_partition.others;
END deploymentview::DV::leon3;
PACKAGE deploymentview::DV
PUBLIC
WITH interfaceview::IV::Function1;
WITH interfaceview::IV::Function2;
WITH ocarina_processors_leon;
WITH deploymentview::DV::leon3;
WITH Taste;
WITH Deployment;
WITH interfaceview::IV;
WITH TASTE_DV_Properties;
SYSTEM leon3
END leon3;
SYSTEM IMPLEMENTATION leon3.others
SUBCOMPONENTS
IV_Function1 : SYSTEM interfaceview::IV::Function1::Function1.others {
Taste::FunctionName => "Function1";
};
IV_Function2 : SYSTEM interfaceview::IV::Function2::Function2.others {
Taste::FunctionName => "Function2";
};
leon3_partition : PROCESS deploymentview::DV::leon3::leon3_partition.others {
Taste::coordinates => "113087 73044 151788 94342";
Deployment::Port_Number => 0;
};
leon3_rtems51_posix : PROCESSOR ocarina_processors_leon::leon3.rtems51_posix {
Taste::coordinates => "108249 66959 156626 97384";
};
PROPERTIES
Taste::APLC_Binding => (reference (leon3_partition)) APPLIES TO IV_Function1;
Taste::APLC_Binding => (reference (leon3_partition)) APPLIES TO IV_Function2;
Actual_Processor_Binding => (reference (leon3_rtems51_posix)) APPLIES TO leon3_partition;
END leon3.others;
SYSTEM deploymentview
END deploymentview;
SYSTEM IMPLEMENTATION deploymentview.others
SUBCOMPONENTS
leon3 : SYSTEM leon3.others {
Taste::coordinates => "102202 58266 162673 101730";
};
interfaceview : SYSTEM interfaceview::IV::interfaceview.others;
END deploymentview.others;
PROPERTIES
Taste::coordinates => "0 0 297000 210000";
Taste::version => "2.4";
Taste::interfaceView => "InterfaceView.aadl";
Taste::HWLibraries => ("../../../../tool-inst/share/ocarina/AADLv2/ocarina_components.aadl");
END deploymentview::DV;
......@@ -12,8 +12,13 @@ c: test-parse-c # Polyorb_HI_C output
cp function1/function1.c work/function1/C/src
cp function2/function2.cc work/function2/CPP/src
cp function2/function2_state.h work/function2/CPP/src
cp function1/function1.c work.leon3/function1/C/src
cp function2/function2.cc work.leon3/function2/CPP/src
cp function2/function2_state.h work.leon3/function2/CPP/src
$(MAKE) -C work
$(MAKE) -C work build-rtems-ada
$(MAKE) -C work.leon3
native:
test-parse-ada: clean-ada
$(KAZOO) --gw \
......@@ -22,9 +27,16 @@ test-parse-ada: clean-ada
--debug
test-parse-c: clean-c
$(KAZOO) -p --gw \
$(KAZOO) -p \
-c DeploymentView_Native.aadl \
--gw \
-o work \
--glue -g
$(KAZOO) -p \
-c DeploymentView_Leon3.aadl \
--gw \
-o work.leon3 \
--glue -g
buildsupport_pohic:
buildsupport -o output.buildsupport.pohic -p --aadlv2 --glue -i InterfaceView.aadl -c DeploymentView.aadl -d DataView.aadl ../common/ocarina_components.aadl ../common/TASTE_IV_Properties.aadl ../common/TASTE_DV_Properties.aadl
......@@ -41,7 +53,7 @@ clean-ada:
rm -rf output.ada
clean-c:
rm -rf work
rm -rf work work.leon3
skeletons:
$(KAZOO) -p --gw --glue -o work && make -C work dataview
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment