5
CS269: HW/SW Engineering of Embedded Systems, Winter02
Overall compilation flow
Front - end
Loads meta-model files
Checks syntax and semantics
Builds ASTs + semantic information
Back end
Traverse and analyze the ASTs
Emits an output (languages, formal
methods)
Several back-ends, user should select the
back-end to be used
Elaboration
Get the static structure of the
network:
# of nodes and their
connections
Needed by back-ends that need static
information about the network
Back - end
Elaboration
Meta model language
Output
ASTs
ASTs
Java
Front - end
JVM