Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
Behavioral Models
Enterprise Architect’s powerful system engineering capability can be used to generate code for software, system and hardware description languages directly from behavioral models, such as StateMachine, Sequence and Activity diagrams. The supported languages include C(OO), C++, C#, Java, VB.Net, VHDL, Verilog and SystemC.
Software code can be generated from StateMachine, Sequence and Activity diagrams, and hardware description languages from StateMachine diagrams.
Generate code from behavioral diagrams using the EAExample project
Step |
Action |
See also |
---|---|---|
1 |
Open the EAExample.eap file by selecting the 'Start > Help > Help > Open Example Model' ribbon option. |
|
2 |
From the Project Browser, select any of these Packages: Software Language Examples:
Generate the Account and Order classes
Generate the DataProcessor Class
Generate the IO Class
Generate the IO Class
Generate the IO Class Hardware Language Examples:
Generate the PlayBack Class
Generate the PlayBack Class
Generate the PlayBack Class |
|
3 |
When completed, press to open the generated source code. You should see methods generated in the code. |
Notes
Learn more