I created a type :
packages MyTypes.Type_A is
subtype Counter_Type is Integer range 0 .. 15;
type Array_Counter_Type is record
Counter_01 : Counter_Type ;
Counter_02 : Counter_Type ;
Counter_03 : Counter_Type ;
Counter_04 : Counter_Type ;
end record;
end MyTypes.Type_A;
I want to display my array like this
MyArray : Array_Counter_Type;
print ( MyTypes.Type_A.Array_Counter_Type'Image (MyArray));
But I have error :
prefix og "Image" attribute must be scalar type
How can I do ? And is it possible to "customize" the Image to concat the 4 counters splited with '-' ?