This repository was archived by the owner on Jun 4, 2019. It is now read-only.
This repository was archived by the owner on Jun 4, 2019. It is now read-only.
Use of AADL types for equations and constants in AGREE annex #12
Closed
Description
AGREE can use AADL types from outside the AGREE annex clause, but you can't write them as types within the AGREE subclause for equations and constants.
system Mode_Control
features
start: in data port Base_Types::Boolean;
clear: in data port Base_Types::Boolean;
cooking_mode: out data port Base_Types::Integer;
annex agree {**
-- syntax error here.
eq is_cooking : Base_Types::Boolean = defs.is_cooking(cooking_mode);