Title: Generative Techniques for Real-Time Embedded Systems
1Generative Techniques for Real-Time Embedded
Systems
- David Sharp
- david.sharp_at_boeing.com
- The Boeing Company
- St. Louis, Missouri
2Component PatternStructure
- Based on Façade Design Pattern
ComponentConsumer
ComponentSupplier1
ComponentSupplier2
Shown in Unified Modeling Language
Gamma et al., Design Patterns Elements of
Reusable Object-Oriented Software
3Configurable Component PatternExample
Reused
User API
Airframe
...
Horiz. Substate
Vertical Substate
Rot. Substate
Required
Configuration API
...
Rotational Sensors
Optional
Static Wiring Dependencies
Project Specific
4Configurable Component PatternImplementation
(cont)
- Abstract Factory Pattern Defines Configuration
Technique
HorizontalSubstate
VerticalSubstate
RotationalSubstate
1..
1..
1..
1..
1..
1..
HorizontalSensor
VerticalSensor
RotationalSensor
Gamma et al., Design Patterns Elements of
Reusable Object-Oriented Software
5Logical Architecture Overview
Configurator
System Configurator
Layer Configurator
Operator
View
Controller
Commands
Display Surfaces
Display Formats
Cockpits
Model
Real World Model
Missiles
Ballistic Weapons
Ground Points
D e p e n d e n c i e s
Steering
Airframe
Earth Model
Avionics Interfaces
Radar
INS
GPS
Building Blocks
State Machines
Distributors
Infrastructure Services
ORB Services
Event Service
Name Service
Replication Service
Persistence Service
Scheduler Service
I/O Service
Time Service
6OFP Production System
Reuse Library
Desired Pluggable Common Components
Essential Common Components
Project Library
OFP Configurator
Essential Project Specific Plug-ins
OFPs Created Via Component Selection and Wiring
7Component Composition Methods
- New System Development
- Spreadsheet
- Purdue Tool
- XML-Based Tool
- Model-Based Integration of Embedded Systems
Program Tools (MoBIES) - Legacy System Upgrades
8Spreadsheet Tool
Perl Script
C Code
9Purdue Tool
Graphical Viewer/Editor
Build Master
Code Generator
Build Model
C Code
10XML Based Tool
ltconfiggt ltprocessorgt ltlayergt ltcomponentgt lt/compo
nentgt lt/layergt lt/processorgt lt/configgt
Table and Graphical Based Viewers/Editors
11MoBIES
- New DARPA Program
- Composition technologies for real-time systems
- Multi-view modeling of cross-cutting properties
- Scheduling, concurrency, distribution...
- Meta-code generation
- Framework integration
Also Program Composition for Embedded Systems
(PCES)- AOP for real-time systems
12Legacy Upgrades
- Incremental Upgrade of Legacy Systems Program
- Automated generation of C wrappers for legacy
software - Using Honeywell MetaH toolset
13Lessons Learned
- Need both tabular and graphical views
- Key issues
- Simplicity
- Scalability
- Configuration management