(Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro:...

23
(Embedded) Code and EA Daniel Siegl [email protected] www.lieberlieber.us Diffing & Merging of EA Models 1

Transcript of (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro:...

Page 1: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

(Embedded) Code and EA

Daniel Siegl

[email protected]

www.lieberlieber.us

Diffing & Merging of EA Models1

Page 2: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

LieberLieber

Vienna, Austria

Houston, Texas

20+ engineers

OMG member

Solutions and consulting for model-based software and systems engineering

Preferred partner of Sparx Systems

2

Page 3: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

Portfolio

LieberLieber Connector Solutions for tool integration

Team Foundation Server

ReqIF

MKS/PTC

Aris

Doors

LieberLieber Web Collaborator Sharing and editing of Enterprise Architect content via Web interface

LieberLieber AUTOSAR Engineer Supports AUTOSAR and generation of ARXML

LieberLieber Systems Engineer Better SysML modeling

LieberLieber Embedded Engineer Generation of C code and debugging within the model

3

Page 4: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

Services

Individual extensions for Enterprise Architect

Training & Consulting Systems Engineering

(Automotive) SPICE

AUTOSAR Engineering

Code Generation

Model Simulation

Model-based Testing

Customized Model Validation

Document generation out of models

4

Page 5: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

THIS PAID FOR MY TRIP

Systems Engineering mit SysML6/9/20155

Page 6: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

WHY Embedded with EA

Lot’s of new challenges ahead!

Functional Safety (ISO 26262,…)

UI Complexity

Multi and Many Core Hardware

Traceability

…….Systems Engineering mit SysML6/9/20156

Page 7: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

WHY Embedded with EA

Inspiration:

Render requirement and hazard

information into the code

automatically!

Documentation = Product

Systems Engineering mit SysML6/9/20157

Page 8: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

WHY Embedded with EA - Sample

Systems Engineering mit SysML6/9/20158

Traceability from Requirement to Code

Page 9: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

Round Trip/Reverse Engineering

Full (Behavior) Round Trip is myth

2015 forward only

Reverse for legacy

Optional: reverse for

method/function content

Systems Engineering mit SysML6/9/20159

Page 10: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

New vs Legacy Project

Start today

Manage Risks

Integrate working/proven

code

Systems Engineering mit SysML6/9/201510

Page 11: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

Execution Semantics / Patterns

Many ways how to interpret Models in Code

Make sure you define it before you start

Many publications and vendors have their

interpretations

OMG has defined execution semantics for Activity

Diagram aka fUML

SCXML for State Charts by W3C

OMG currently started work to standardize State

Chart execution

Systems Engineering mit SysML6/9/201511

Page 12: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

Enterprise Architect out of the Box

Systems Engineering mit SysML6/9/201512

Page 13: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

Enterprise Architect out of the Box

Systems Engineering mit SysML6/9/201513

Page 14: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

Enterprise Architect out of the Box

Pro:

Only investment is Time

GDB and Visual Studio Support

Generate Code from Activities, Statecharts and Sequence

Diagrams

Executable UML available

Con:

Hard to maintain/debug

Advanced changes need call into Addin

With addin calls execution time is increasing

Not easy to certifySystems Engineering mit SysML6/9/201514

Page 15: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

Enterprise Architect with Willert

Systems Engineering mit SysML6/9/201515

Page 16: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

Enterprise Architect with Willert

Systems Engineering mit SysML6/9/201516

Page 17: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

Enterprise Architect with Willert

Pro:

Turn Key Solution

Most IDE’s/Debugger/CPU’s supported

Generate Code from Activities, Statecharts

Easy to certify including Framework (at a cost)

Con:

Only feasible with a “new” Project

Tailored for Willert Framework

Systems Engineering mit SysML6/9/201517

Page 18: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

LieberLieber Embedded Engineer

Systems Engineering mit SysML6/9/201518

Page 19: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

LieberLieber Embedded Engineer

Systems Engineering mit SysML6/9/201519

Page 20: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

LieberLieber Embedded Engineer

Pro:

Lauterbach, PLS, I-System, GHS, Visual Studio Debuggers

Certification possible

Fast/Extensible code generation

Generation can be Debugged using familiar techniques

No Framework

Hardware Breakpoints

Con:

Need to know what you want

No Framework

Systems Engineering mit SysML6/9/201520

Page 21: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

DEMO

Systems Engineering mit SysML6/9/201521

Page 22: (Embedded) Code and EA - LieberLieber · 2018. 9. 13. · Enterprise Architect with Willert Pro: Turn Key Solution Most IDE’s/Debugger/CPU’s supported Generate Code from Activities,

Conclusion

Can you afford and “survive” not to generate Code?

Start TODAY!

Systems Engineering mit SysML6/9/201522