Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chess Review May 11, 2005 Berkeley, CA Platform Modeling and Analysis Presented by Tivadar Szemethy ISIS, Vanderbilt University.

Similar presentations


Presentation on theme: "Chess Review May 11, 2005 Berkeley, CA Platform Modeling and Analysis Presented by Tivadar Szemethy ISIS, Vanderbilt University."— Presentation transcript:

1 Chess Review May 11, 2005 Berkeley, CA Platform Modeling and Analysis Presented by Tivadar Szemethy ISIS, Vanderbilt University

2 Review, May 11, 2005 2 Model-Based Design with Components Design Model components interacting according to a “Model of Computation” Runtime Platform abstraction of HW/SW/MW services Component-Based System System Synthesis: 1.Map the design-time components into platform objects 2.Enforce interaction rules using platform services

3 Review, May 11, 2005 3 Analysis model for verification Verification: –does it satisfy requirements specification ? Need design requirements, in terms of –observable MoC events (mapped to Platform) –Platform quantities (resources) Analysis necessitates Platform-level model Behavior := System Model + Components + MoC semantics + Platform properties

4 Review, May 11, 2005 4 Platform-level analysis model Purpose –formal verification (ideal) –simulation (at least) Language for analysis model: –SMV/SPIN model, Timed/Hybrid Automata… –Simulink… To be automatically constructed based on –MoC semantics (formal, well-defined) –Platform properties (?)

5 Review, May 11, 2005 5 Example: SMOLES -> UPPAAL 1. Application: Camera tracking an object Simple MOdeling Lang. for Embedded Sys. –Dataflow-oriented DSML in GME –Components, Ports, Triggers, Timers, Methods Platform: DataFlow Kernel –simple OO asynch. dataflow engine in C++/Java –SMOLES model interpreter generates code Analysis model: UPPAAL Timed Automata

6 Review, May 11, 2005 6 Example: SMOLES -> UPPAAL 2.

7 Review, May 11, 2005 7 Example: SMOLES -> UPPAAL 3. Kernel runTimer 1 runComponent 1 g: (running == kernel && Timer 1 Clk > Period 1 && Timer 1 OutBuff.avaliable()) u: Timer 1 Clk.reset() u: Timer 1 OutBuf++... g: (running == kernel && U Comp 1.Method m.Trigger t ) u: running:=Comp 1 schedule g: running == kernel g: (running == kernel && not( U Comp n.Method m.Trigger t ) && not( U Timer n Clk>Period n ) u: IdleClk.reset() inv: IdleClk <IdlePeriod idle g: IdleClk >= IdlePeriod Idle... Method 1 g: (running == me && trigger 1 == true) u: input_token_cnt-- inv: (clk < WCET) g: (clk >= BCET) u: output_token_cnt++, running:=Kernel Component i Method n

8 Review, May 11, 2005 8 Example: SMOLES -> UPPAAL 4. Translation ruleset input: SMOLES model output: UPPAAL TA implicit: DFK “internals” Platform-level model one TA per component one TA for Kernel Translation using graph transformations GReAT graph rewriting tool (GME add-on)

9 Review, May 11, 2005 9 Lessons learned UPPAAL analysis model too restrictive no preemptive scheduling only for timing analysis no higher-level structures “Intermediate format” e.g. IF or Metropolis higher-level language provides mapping to multiple analysis tools DFK model was implicit in transformation: complex, monolithic transformation spec. Platform model as 1)“Skeleton” for 1)Components 2)Kernel 2)Rules to construct synchronizers/guards 3)Composition results published in: “Platform Modeling and Model Transformations for Analysis” in Journal of Universal Computer Science vol. 10, pp. 1383-1407, 2004

10 Review, May 11, 2005 10 Generating the analysis model Well-defined toolchain The DSML → IF transformation needs to “know”: DSML → Platform mapping Platform → IF mapping Platform interaction rules

11 Review, May 11, 2005 11 Generating the transformation Well-defined toolchain Encoded in the transformation: DSML to Platform mapping Platform to IF (“expansion”) Platform interaction rules Transformation generator: 1.rewrite the (DSML→Platform) mapping to (DSML → IF) 2.model composition rules (through Kernel entity, defined in the PM)

12 Review, May 11, 2005 12 The “Big Picture” Meta- level “operational” level

13 Review, May 11, 2005 13 Preliminary results Formalizing the Platform –GME metamodel for DFK –SMOLES → DFK transformation specified as graph transformation in GReAT In search of an Intermediate Format –Evaluating VERIMAG’s IF framework (metamodel, simple translators and examples) Started working on modeling –Giotto with E-machine


Download ppt "Chess Review May 11, 2005 Berkeley, CA Platform Modeling and Analysis Presented by Tivadar Szemethy ISIS, Vanderbilt University."

Similar presentations


Ads by Google