EMFUtils
helper class offer the possibility to collect all instances of a particular class within the model containment tree. This feature is widely used in the codebase although it suffers from serious performance penalty (full traversal + reflexive API), and negatively impact readability. The goal of this task is to analyze the code base to find the most common recurring usage patterns of the EMFUtils
class and factor them out in a specific Helper class, where these query should be implemented properly (using switches and visitors ?). Special care should be taken to external/extended classes (i.e. classes not belonging to the core Gecos EMF model). #pragma DATAFLOW
directive (See Vivado HLS user manual for more information). It would be very useful to have a similar feature in the Gecos S2S flow (with fewer limitations).