Repository navigation
Construct Implied Use Map
This algorithm traverses the source model and constructs the implied use map.
-
A list tul of translation units.
-
An analysis data structure a representing the results of analysis so far.
An updated analysis a' with the implied use map filled in.
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 module template definition d, visit the type name of each constant parameter of d, and visit each member of d, whether or not d is expanded.
For each special port instance specifier p, add the implied port uses of p to the entry for p in the implied use map.
For each state machine definition d, add the implied use of the state enum for d to the entry for d in the implied use map.
For each deployment topology definition d, if the dictionary generation flag is set to true, then add the types and constants implicitly required for dictionary generation to the entry for d in the implied use map. These types and constants are specified in the F Prime JSON dictionary specification.