Commit 416d8a3b authored by Rafal Babski's avatar Rafal Babski

MSP430 tests

parent faa5f63c
Pipeline #1566 failed with stage
in 8 minutes and 16 seconds
ConcurrencyView_Properties.aadl
function1.zip
function2.zip
This diff is collapsed.
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
---------------------------------------------------
-- AADL2.2
-- TASTE type deploymentview
--
-- generated code: do not edit
---------------------------------------------------
PACKAGE deploymentview::DV::msp430_node
PUBLIC
WITH Taste;
WITH Deployment;
WITH TASTE_DV_Properties;
WITH deploymentview::DV;
WITH Memory_Properties;
WITH ARINC653;
PROCESS msp430_partition
END msp430_partition;
PROCESS IMPLEMENTATION msp430_partition.others
END msp430_partition.others;
END deploymentview::DV::msp430_node;
PACKAGE deploymentview::DV
PUBLIC
WITH interfaceview::IV::function1;
WITH interfaceview::IV::function2;
WITH ocarina_processors_msp;
WITH deploymentview::DV::msp430_node;
WITH Taste;
WITH Deployment;
WITH interfaceview::IV;
WITH TASTE_DV_Properties;
SYSTEM msp430_node
END msp430_node;
SYSTEM IMPLEMENTATION msp430_node.others
SUBCOMPONENTS
IV_function1 : SYSTEM interfaceview::IV::function1::function1.others {
Taste::FunctionName => "function1";
};
IV_function2 : SYSTEM interfaceview::IV::function2::function2.others {
Taste::FunctionName => "function2";
};
msp430_partition : PROCESS deploymentview::DV::msp430_node::msp430_partition.others {
Taste::coordinates => "109746 65335 176531 113541";
Deployment::Port_Number => 0;
};
msp430_cpu : PROCESSOR ocarina_processors_msp::msp430.freertos {
Taste::coordinates => "103384 56913 188814 117005";
};
PROPERTIES
Taste::APLC_Binding => (reference (msp430_partition)) APPLIES TO IV_function1;
Taste::APLC_Binding => (reference (msp430_partition)) APPLIES TO IV_function2;
Actual_Processor_Binding => (reference (msp430_cpu)) APPLIES TO msp430_partition;
END msp430_node.others;
SYSTEM deploymentview
END deploymentview;
SYSTEM IMPLEMENTATION deploymentview.others
SUBCOMPONENTS
msp430_node : SYSTEM msp430_node.others {
Taste::coordinates => "94959 48031 205979 129918";
};
interfaceview : SYSTEM interfaceview::IV::interfaceview.others;
END deploymentview.others;
PROPERTIES
Taste::coordinates => "0 0 297000 210000";
Taste::version => "2.3";
Taste::interfaceView => "InterfaceView.aadl";
Taste::HWLibraries => ("/home/taste/tool-inst/share/ocarina/AADLv2/ocarina_components.aadl");
END deploymentview::DV;
---------------------------------------------------
-- AADL2.2
-- TASTE type interfaceview
--
-- generated code: do not edit
---------------------------------------------------
PACKAGE interfaceview::IV::function1
PUBLIC
WITH interfaceview::IV::function2;
WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SUBPROGRAM PI_cyclic_interface
PROPERTIES
Taste::Associated_Queue_Size => 1;
END PI_cyclic_interface;
SUBPROGRAM IMPLEMENTATION PI_cyclic_interface.others
PROPERTIES
Compute_Execution_Time => 0 ms .. 40 ms;
END PI_cyclic_interface.others;
SUBPROGRAM RI_protected_interface
FEATURES
dummyParam : IN PARAMETER DataView::T_Int32 {
Taste::encoding => NATIVE;
};
END RI_protected_interface;
SUBPROGRAM IMPLEMENTATION RI_protected_interface.others
END RI_protected_interface.others;
SYSTEM function1
FEATURES
PI_cyclic_interface : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::function1::PI_cyclic_interface.others {
Taste::coordinates => "85352 77006";
Taste::RCMoperationKind => cyclic;
Taste::RCMperiod => 800 ms;
Taste::Deadline => 5000 ms;
Taste::InterfaceName => "cyclic_interface";
};
RI_protected_interface : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::function2::PI_protected_interface.others {
Taste::coordinates => "122044 77008";
Taste::RCMoperationKind => any;
Taste::InterfaceName => "protected_interface";
Taste::labelInheritance => "true";
};
PROPERTIES
Source_Language => (C);
Taste::Active_Interfaces => any;
END function1;
SYSTEM IMPLEMENTATION function1.others
END function1.others;
END interfaceview::IV::function1;
PACKAGE interfaceview::IV::function2
PUBLIC
WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SUBPROGRAM PI_protected_interface
FEATURES
dummyParam : IN PARAMETER DataView::T_Int32 {
Taste::encoding => NATIVE;
};
END PI_protected_interface;
SUBPROGRAM IMPLEMENTATION PI_protected_interface.others
PROPERTIES
Compute_Execution_Time => 0 ms .. 0 ms;
END PI_protected_interface.others;
SYSTEM function2
FEATURES
PI_protected_interface : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::function2::PI_protected_interface.others {
Taste::coordinates => "142674 77007";
Taste::RCMoperationKind => protected;
Taste::Deadline => 0 ms;
Taste::InterfaceName => "protected_interface";
};
PROPERTIES
Source_Language => (C);
Taste::Active_Interfaces => any;
END function2;
SYSTEM IMPLEMENTATION function2.others
END function2.others;
END interfaceview::IV::function2;
PACKAGE interfaceview::IV
PUBLIC
WITH interfaceview::IV::function1;
WITH interfaceview::IV::function2;
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
function1 : SYSTEM interfaceview::IV::function1::function1.others {
Taste::coordinates => "85352 66140 122044 119682";
};
function2 : SYSTEM interfaceview::IV::function2::function2.others {
Taste::coordinates => "142674 66612 182043 119682";
};
CONNECTIONS
function2_PI_protected_interface_function1_RI_protected_interface : SUBPROGRAM ACCESS function2.PI_protected_interface -> function1.RI_protected_interface {
Taste::coordinates => "122044 77008 132359 77008 132359 77007 142674 77007";
};
END interfaceview.others;
PROPERTIES
Taste::dataView => ("DataView");
Taste::dataViewPath => ("DataView.aadl");
Taste::coordinates => "0 0 297000 210000";
Taste::version => "2.3";
END interfaceview::IV;
KAZOO=../../kazoo
WORK_DIRECTORY=work
.PHONY: c clean distclean
all: test-parse
$(MAKE) -C $(WORK_DIRECTORY)
test-parse: clean
$(KAZOO) -p --gw \
-o $(WORK_DIRECTORY) \
--glue -g -k
clean:
rm -rf $(WORK_DIRECTORY)
ConcurrencyView_Properties.aadl
function1.zip
function2.zip
This diff is collapsed.
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
---------------------------------------------------
-- AADL2.2
-- TASTE type deploymentview
--
-- generated code: do not edit
---------------------------------------------------
PACKAGE deploymentview::DV::msp430_node
PUBLIC
WITH Taste;
WITH Deployment;
WITH TASTE_DV_Properties;
WITH deploymentview::DV;
WITH Memory_Properties;
WITH ARINC653;
PROCESS msp430_partition
END msp430_partition;
PROCESS IMPLEMENTATION msp430_partition.others
END msp430_partition.others;
END deploymentview::DV::msp430_node;
PACKAGE deploymentview::DV
PUBLIC
WITH interfaceview::IV::function1;
WITH interfaceview::IV::function2;
WITH ocarina_processors_msp;
WITH deploymentview::DV::msp430_node;
WITH Taste;
WITH Deployment;
WITH interfaceview::IV;
WITH TASTE_DV_Properties;
SYSTEM msp430_node
END msp430_node;
SYSTEM IMPLEMENTATION msp430_node.others
SUBCOMPONENTS
IV_function1 : SYSTEM interfaceview::IV::function1::function1.others {
Taste::FunctionName => "function1";
};
IV_function2 : SYSTEM interfaceview::IV::function2::function2.others {
Taste::FunctionName => "function2";
};
msp430_partition : PROCESS deploymentview::DV::msp430_node::msp430_partition.others {
Taste::coordinates => "109746 65335 176531 113541";
Deployment::Port_Number => 0;
};
msp430_cpu : PROCESSOR ocarina_processors_msp::msp430.freertos {
Taste::coordinates => "103384 56913 188814 117005";
};
PROPERTIES
Taste::APLC_Binding => (reference (msp430_partition)) APPLIES TO IV_function1;
Taste::APLC_Binding => (reference (msp430_partition)) APPLIES TO IV_function2;
Actual_Processor_Binding => (reference (msp430_cpu)) APPLIES TO msp430_partition;
END msp430_node.others;
SYSTEM deploymentview
END deploymentview;
SYSTEM IMPLEMENTATION deploymentview.others
SUBCOMPONENTS
msp430_node : SYSTEM msp430_node.others {
Taste::coordinates => "94959 48031 205979 129918";
};
interfaceview : SYSTEM interfaceview::IV::interfaceview.others;
END deploymentview.others;
PROPERTIES
Taste::coordinates => "0 0 297000 210000";
Taste::version => "2.3";
Taste::interfaceView => "InterfaceView.aadl";
Taste::HWLibraries => ("/home/taste/tool-inst/share/ocarina/AADLv2/ocarina_components.aadl");
END deploymentview::DV;
---------------------------------------------------
-- AADL2.2
-- TASTE type interfaceview
--
-- generated code: do not edit
---------------------------------------------------
PACKAGE interfaceview::IV::function1
PUBLIC
WITH interfaceview::IV::function2;
WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SUBPROGRAM PI_cyclic_interface
PROPERTIES
Taste::Associated_Queue_Size => 1;
END PI_cyclic_interface;
SUBPROGRAM IMPLEMENTATION PI_cyclic_interface.others
PROPERTIES
Compute_Execution_Time => 0 ms .. 40 ms;
END PI_cyclic_interface.others;
SUBPROGRAM RI_sporadic_interface
FEATURES
in1 : IN PARAMETER DataView::T_Int32 {
Taste::encoding => NATIVE;
};
END RI_sporadic_interface;
SUBPROGRAM IMPLEMENTATION RI_sporadic_interface.others
END RI_sporadic_interface.others;
SYSTEM function1
FEATURES
PI_cyclic_interface : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::function1::PI_cyclic_interface.others {
Taste::coordinates => "85352 77006";
Taste::RCMoperationKind => cyclic;
Taste::RCMperiod => 800 ms;
Taste::Deadline => 5000 ms;
Taste::InterfaceName => "cyclic_interface";
};
RI_sporadic_interface : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::function2::PI_sporadic_interface.others {
Taste::coordinates => "122044 77008";
Taste::RCMoperationKind => any;
Taste::InterfaceName => "sporadic_interface";
Taste::labelInheritance => "true";
};
PROPERTIES
Source_Language => (C);
Taste::Active_Interfaces => any;
END function1;
SYSTEM IMPLEMENTATION function1.others
END function1.others;
END interfaceview::IV::function1;
PACKAGE interfaceview::IV::function2
PUBLIC
WITH Taste;
WITH DataView;
WITH TASTE_IV_Properties;
SUBPROGRAM PI_sporadic_interface
FEATURES
in1 : IN PARAMETER DataView::T_Int32 {
Taste::encoding => NATIVE;
};
PROPERTIES
Taste::Associated_Queue_Size => 5;
END PI_sporadic_interface;
SUBPROGRAM IMPLEMENTATION PI_sporadic_interface.others
PROPERTIES
Compute_Execution_Time => 0 ms .. 30 ms;
END PI_sporadic_interface.others;
SYSTEM function2
FEATURES
PI_sporadic_interface : PROVIDES SUBPROGRAM ACCESS interfaceview::IV::function2::PI_sporadic_interface.others {
Taste::coordinates => "142674 77005";
Taste::RCMoperationKind => sporadic;
Taste::RCMperiod => 0 ms;
Taste::Deadline => 40 ms;
Taste::InterfaceName => "sporadic_interface";
};
PROPERTIES
Source_Language => (C);
Taste::Active_Interfaces => any;
END function2;
SYSTEM IMPLEMENTATION function2.others
END function2.others;
END interfaceview::IV::function2;
PACKAGE interfaceview::IV
PUBLIC
WITH interfaceview::IV::function1;
WITH interfaceview::IV::function2;
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
function1 : SYSTEM interfaceview::IV::function1::function1.others {
Taste::coordinates => "85352 66140 122044 119682";
};
function2 : SYSTEM interfaceview::IV::function2::function2.others {
Taste::coordinates => "142674 66612 182043 119682";
};
CONNECTIONS
function2_PI_sporadic_interface_function1_RI_sporadic_interface : SUBPROGRAM ACCESS function2.PI_sporadic_interface -> function1.RI_sporadic_interface {
Taste::coordinates => "122044 77008 138343 77008 138343 77005 142674 77005";
};
END interfaceview.others;
PROPERTIES
Taste::dataView => ("DataView");
Taste::dataViewPath => ("DataView.aadl");
Taste::coordinates => "0 0 297000 210000";
Taste::version => "2.3";
END interfaceview::IV;
KAZOO=../../kazoo
WORK_DIRECTORY=work
.PHONY: c clean distclean
all: test-parse
$(MAKE) -C $(WORK_DIRECTORY)
test-parse: clean
$(KAZOO) -p --gw \
-o $(WORK_DIRECTORY) \
--glue -g -k
clean:
rm -rf $(WORK_DIRECTORY)
ConcurrencyView_Properties.aadl
function1.zip
function2.zip
This diff is collapsed.
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
---------------------------------------------------
-- AADL2.2
-- TASTE type deploymentview
--
-- generated code: do not edit
---------------------------------------------------
PACKAGE deploymentview::DV::msp430_node
PUBLIC
WITH Taste;
WITH Deployment;
WITH TASTE_DV_Properties;
WITH deploymentview::DV;
WITH Memory_Properties;
WITH ARINC653;
PROCESS msp430_partition
END msp430_partition;
PROCESS IMPLEMENTATION msp430_partition.others
END msp430_partition.others;
END deploymentview::DV::msp430_node;
PACKAGE deploymentview::DV
PUBLIC
WITH interfaceview::IV::function1;
WITH interfaceview::IV::function2;
WITH ocarina_processors_msp;
WITH deploymentview::DV::msp430_node;
WITH Taste;
WITH Deployment;
WITH interfaceview::IV;
WITH TASTE_DV_Properties;
SYSTEM msp430_node
END msp430_node;
SYSTEM IMPLEMENTATION msp430_node.others
SUBCOMPONENTS
IV_function1 : SYSTEM interfaceview::IV::function1::function1.others {
Taste::FunctionName => "function1";
};
IV_function2 : SYSTEM interfaceview::IV::function2::function2.others {
Taste::FunctionName => "function2";
};
msp430_partition : PROCESS deploymentview::DV::msp430_node::msp430_partition.others {
Taste::coordinates => "109746 65335 176531 113541";
Deployment::Port_Number => 0;
};
msp430_cpu : PROCESSOR ocarina_processors_msp::msp430.freertos {
Taste::coordinates => "103384 56913 188814 117005";
};
PROPERTIES
Taste::APLC_Binding => (reference (msp430_partition)) APPLIES TO IV_function1;
Taste::APLC_Binding => (reference (msp430_partition)) APPLIES TO IV_function2;
Actual_Processor_Binding => (reference (msp430_cpu)) APPLIES TO msp430_partition;
END msp430_node.others;
SYSTEM deploymentview
END deploymentview;
SYSTEM IMPLEMENTATION deploymentview.others
SUBCOMPONENTS
msp430_node : SYSTEM msp430_node.others {
Taste::coordinates => "94959 48031 205979 129918";
};
interfaceview : SYSTEM interfaceview::IV::interfaceview.others;