Download presentation
Presentation is loading. Please wait.
Published byClaude Arnold Modified over 8 years ago
1
Model-Based Embedded Real- Time Software Development Dionisio de Niz and Raj Rajkumar Real-Time and Multimedia Sys Lab Carnegie Mellon University
2
Para-Functionals Timeliness Guarantee End-to-end response time Reliability Tolerate Faults Throughput Data elements per second
3
Embedded Systems Composition = Software Hardware Embedded System Process Thread Process Thread +
4
Embedded Software Different Para-Functional Properties = Software Hardware Embedded System Throughput ( trajectories / s ) Reliability Process Thread Process Thread + Process Thread Process Thread radar scan track radar scan track radar scan
5
Embedded Software Heterogeneous Platforms Process Thread Process Thread pthread_create() Process Thread Process CreateThread() Process Thread Process Thread Process Thread New Thread() TCP/IP SocketsCANBusFlexRay
6
DRE 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
7
Time 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
8
Inter-component relationships decomposition Deployment Synchronization (Virtual Synchrony) Data dependency
9
Coupler Inter-component relationships decomposition Data dependency Synchronization (Virtual Synchrony) Deployment Coupler manipulate port elements to construct relationship
10
Basic 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
11
Independent Dimensions Functional Semantic Separation Projections to other dimensions Fault-ToleranceDeployment
12
Inter-dimensional projections Functional Deployment Network Processor
13
Modeling 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
14
Ongoing Collaborations DARPA MoBIES Avionics OEP – Boeing, LM Software Radio – SwRI Automotive OEP – Berkeley, Ford & GM
15
Avionics OEP Rational ® Rose UML TimeWiz ® Target XML … Time Weaver
16
Avionics OEP Interface with multiple tools Standard XML interfaces –IIF, AIF, ACL, Configurator Large model for scalability testing
17
Software Radio OEP Time Weaver (DSP Processing) Matlab TimeWiz® Linux
18
Software Radio OEP Unifying modeling of simulation and final run-time Generate matlab code for simulation Generate C++ code for final runtime (on Linux)
19
Automotive OEP uCOS-II / ARM TimeWiz® Time Weaver
20
Automotive OEP Take the simulation model to final running code Small footprint of network of processors –uCOS-II / ARM7
21
Summary 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
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.