Commit 35b268be authored by yoogx's avatar yoogx
Browse files

* Added Bounded_Array representation

        For openaadl/ocarina#119
parent 045d4c00
...@@ -24,7 +24,7 @@ property set Data_Model is ...@@ -24,7 +24,7 @@ property set Data_Model is
-- types (10**(-scale) is the precision). -- types (10**(-scale) is the precision).
Data_Representation : enumeration Data_Representation : enumeration
(Array, Boolean, Character, Enum, Float, (Array, Boolean, Bounded_Array, Character, Enum, Float,
Fixed, Integer, String, Struct, Union) Fixed, Integer, String, Struct, Union)
applies to ( data ); applies to ( data );
-- The Data_Representation property may be used to specify the -- The Data_Representation property may be used to specify the
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
package Test package Test
public public
with Base_Types; with Base_Types;
...@@ -39,6 +40,7 @@ public ...@@ -39,6 +40,7 @@ public
end Test; end Test;
package Base_Types package Base_Types
public public
with data_model; with data_model;
...@@ -164,7 +166,7 @@ data) ...@@ -164,7 +166,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
......
...@@ -24,7 +24,7 @@ data) ...@@ -24,7 +24,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
......
...@@ -24,7 +24,7 @@ data) ...@@ -24,7 +24,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
......
...@@ -24,7 +24,7 @@ data) ...@@ -24,7 +24,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
......
...@@ -24,7 +24,7 @@ data) ...@@ -24,7 +24,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
......
...@@ -24,7 +24,7 @@ data) ...@@ -24,7 +24,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
......
...@@ -20,7 +20,7 @@ data) ...@@ -20,7 +20,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
......
...@@ -20,7 +20,7 @@ data) ...@@ -20,7 +20,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
...@@ -58,6 +58,7 @@ data) ...@@ -58,6 +58,7 @@ data)
end Data_Model; end Data_Model;
package Base_Types package Base_Types
public public
with data_model; with data_model;
...@@ -170,6 +171,7 @@ public ...@@ -170,6 +171,7 @@ public
end Base_Types; end Base_Types;
package BA_example1 package BA_example1
public public
with Base_Types; with Base_Types;
......
...@@ -20,7 +20,7 @@ data) ...@@ -20,7 +20,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
...@@ -58,6 +58,7 @@ data) ...@@ -58,6 +58,7 @@ data)
end Data_Model; end Data_Model;
package Base_Types package Base_Types
public public
with data_model; with data_model;
...@@ -170,6 +171,7 @@ public ...@@ -170,6 +171,7 @@ public
end Base_Types; end Base_Types;
package BA_example2 package BA_example2
public public
with Base_Types; with Base_Types;
......
...@@ -20,7 +20,7 @@ data) ...@@ -20,7 +20,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
...@@ -58,6 +58,7 @@ data) ...@@ -58,6 +58,7 @@ data)
end Data_Model; end Data_Model;
package Base_Types package Base_Types
public public
with data_model; with data_model;
...@@ -170,6 +171,7 @@ public ...@@ -170,6 +171,7 @@ public
end Base_Types; end Base_Types;
package BA_example3 package BA_example3
public public
data number data number
end number; end number;
......
...@@ -20,7 +20,7 @@ data) ...@@ -20,7 +20,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
...@@ -58,6 +58,7 @@ data) ...@@ -58,6 +58,7 @@ data)
end Data_Model; end Data_Model;
package Base_Types package Base_Types
public public
with data_model; with data_model;
...@@ -170,6 +171,7 @@ public ...@@ -170,6 +171,7 @@ public
end Base_Types; end Base_Types;
package BA_example1 package BA_example1
public public
with Base_types, Data_Model; with Base_types, Data_Model;
......
...@@ -20,7 +20,7 @@ data) ...@@ -20,7 +20,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
...@@ -58,6 +58,7 @@ data) ...@@ -58,6 +58,7 @@ data)
end Data_Model; end Data_Model;
package Base_Types package Base_Types
public public
with data_model; with data_model;
...@@ -170,6 +171,7 @@ public ...@@ -170,6 +171,7 @@ public
end Base_Types; end Base_Types;
package BA_example2 package BA_example2
public public
with Base_Types; with Base_Types;
......
...@@ -20,7 +20,7 @@ data) ...@@ -20,7 +20,7 @@ data)
Data_Scale : aadlinteger Data_Scale : aadlinteger
applies to (data); applies to (data);
Data_Representation : enumeration (Array, Boolean, Character, Enum, Float, Fixed, Integer, String, Struct, Union) Data_Representation : enumeration (Array, Boolean, Bounded_Array, Character, Enum, Float, Fixed, Integer, String, Struct, Union)
applies to (data); applies to (data);
Dimension : list of aadlinteger Dimension : list of aadlinteger
...@@ -58,6 +58,7 @@ data) ...@@ -58,6 +58,7 @@ data)
end Data_Model; end Data_Model;
package Base_Types package Base_Types
public public
with data_model; with data_model;
...@@ -176,6 +177,7 @@ property set Behavior_Properties is ...@@ -176,6 +177,7 @@ property set Behavior_Properties is
end Behavior_Properties; end Behavior_Properties;
package BA_example3 package BA_example3
public public
with Base_Types; with Base_Types;
with Behavior_Properties; with Behavior_Properties;
......
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