-
Notifications
You must be signed in to change notification settings - Fork 58
Check Topology Instances
This algorithm traverses the source model and checks topology instances & topology ports.
-
A list tul of translation units.
-
An analysis data structure a representing the results of analysis so far.
An updated analysis a' with the partial topology map filled in if the check passes; otherwise an error.
Visit each translation unit in tul with input a, yielding either a' or an error.
Each method accepts an analysis data structure a as input and yields either an updated analysis data structure a' or an error as output.
For each topology definition d that has not yet been resolved into the partial topology map:
-
Visit each member m of d with input a, building up a topology data structure t for topology port members topology instance specifiers.
-
Construct the unique topology symbol s for d.
-
Map s to t in the partial topology map of a.
-
Return a as the result.