Title: ModelBased Embedded RealTime Software Development
1Model-Based Embedded Real-Time Software
Development
- Dionisio de Niz and Raj Rajkumar
- Real-Time and Multimedia Sys Lab
- Carnegie Mellon University
2Para-Functionals
Para-functional
3Embedded Systems Composition
Software
Embedded System
Hardware
4Embedded Software Different Para-Functional
Properties
Software
radar scan
track
Embedded System
Hardware
Reliability
Throughput (trajectories / s)
5Embedded SoftwareHeterogeneous Platforms
pthread_create()
6DRE Model Requirements
- Composability
- Encode para-functionals
- Compose them into final system
- Correctness
- Reflect consequences of design choices
- Prevent incorrect choices
- Fidelity
- Reflect implementation deployment
- Enable Reuse
7Time Weaver
- DARPA MoBIES funded project
- Component-Based Modeling Framework Tool
- Build run time through models
- Timing model
- Encode component relationships in couplers
- Decompose relationships of different aspects into
different dimensions - Enable recursive composition in functional and
para-functional aspects - Enable reuse of functional and para-functional
constructs
8Inter-component relationships decomposition
9CouplerInter-component relationships
decomposition
Coupler manipulate port elements to construct
relationship
10Basic Mechanisms of Couplers
- Property Propagation
- Relate properties of associated components, e.g.
period - Constraints
- E.g. both component not on same processor
- Synchronization
- Arbitrarily complex synchronization protocol
among group of ports (e.g. mutex, virtual
synchrony, barrier) - Inter-component communication
- Mechanism used, e.g. invocation, CORBA, multicast
- Specified at highest level (when network defined)
- Automatic discovery and change of components
affected
11Independent Dimensions
Semantic Separation Projections to other
dimensions
12Inter-dimensional projections
Deployment
Processor
Processor
Network
13Modeling Dimensions in Time Weaver
- Functional
- Functional relationships
- Deployment
- Hardware description binding
- Timing
- Timing relationships (periods, deadlines)
- Fault-Tolerance
- Replication
- Concurrency
- Threading, synchronization
- Modality
- Modes mode switching
14Ongoing CollaborationsDARPA MoBIES
- Avionics OEP Boeing, LM
- Software Radio SwRI
- Automotive OEP Berkeley, Ford GM
15Avionics OEP
Time Weaver
Rational Rose UML
?
?
XML
?
?
Target
?
TimeWiz
16Avionics OEP
- Interface with multiple tools
- Standard XML interfaces
- IIF, AIF, ACL, Configurator
- Large model for scalability testing
17Software Radio OEP
Matlab
Time Weaver (DSP Processing)
TimeWiz
Linux
18Software Radio OEP
- Unifying modeling of simulation and final
run-time - Generate matlab code for simulation
- Generate C code for final runtime (on Linux)
19Automotive OEP
TimeWiz
Time Weaver
uCOS-II / ARM
20Automotive OEP
- Take the simulation model to final running code
- Small footprint of network of processors
- uCOS-II / ARM7
21Summary
- Model of para-functional properties of DREs
- New Abstraction coupler
- Separation of para-functional properties in
independent dimensions - Ongoing experiments with Avionics, Automotive and
Software Radio OEPs