FAQ - Code Generation


Topic Contents

  • Can Enterprise Architect Generate Source Code From Behavioral Diagrams?

Can Enterprise Architect Generate Source Code From Behavioral Diagrams?
Yes, in Enterprise Architect 7.5 and later releases, in the Business and Software Engineering, Systems Engineering and Ultimate editions, you can generate software and hardware code from Behavioral models. All behavioral constructs must be contained within a Class.

In all three editions, you can generate software code from State Machine diagrams, Interaction (Sequence) diagrams, and Activity diagrams. You can generate code in a range of languages, including C(OO), C#, C++, Java and VB.Net.

In the Systems Engineering and Ultimate editions, you can generate hardware code from State Machine diagrams. You can generate code in various Hardware Description Languages, including VHDL, SystemC and Verilog.

For information on how to generate code from Behavioral models in Enterprise Architect, see the online Help section Code Generation From Behavioral Model.