Open 2000GYI opened 5 years ago
I think I see the problem. AADLv2 specification defines array size like so:
array_dimension_size ::=
numeral | unique_property_constant_identifier | unique_property_identifier
whereas lines 103-105 of the file /src/frontends/aadl/ocarina-fe_aadl-parser-components-arrays.adb defines the array size like so:
-- AADL_V2
-- array_dimensions ::= { [ [ array_dimension_size ] ] }*
-- array_dimension_size ::= numeral | unique_property_constant_identifier
In other words, it doesn't appear to be implemented. If you can give me some pointers, I might give it a go to create a patch.
Thanks, GYI
I did a first pass at supporting this feature. Remaining actions
OCARINA VERSION: Ocarina 2017.x (Working Copy from r23cc28c) Copyright (c) 2003-2009 Telecom ParisTech, 2010-2018 ESA & ISAE Build date: /home/user/git/ocarina-build/ocarina_install/share/ocarina/AADLv1/
HOST MACHINE and OPERATING SYSTEM: Linux laptop 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
COMPILER VERSION GNATLS 7.3.0 Copyright (C) 1997-2017, Free Software Foundation, Inc.
Source Search Path: