vip: a visual interface for promela

17
VIP: A Visual Interface for Promela Stefan Leue University of Waterloo [email protected] http://fee.uwaterloo.ca/~sleue September 21, 1999

Upload: walden

Post on 27-Jan-2016

44 views

Category:

Documents


0 download

DESCRIPTION

VIP: A Visual Interface for Promela. Stefan Leue University of Waterloo [email protected] http://fee.uwaterloo.ca/~sleue September 21, 1999. Joint work with Moataz Kamel. Visual Interface for Promela (VIP). Based on v-Promela [Holzmann, Leue] - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: VIP: A Visual Interface for Promela

VIP: A Visual Interface for Promela

Stefan LeueUniversity of Waterloo

[email protected]

http://fee.uwaterloo.ca/~sleue

September 21, 1999

Page 2: VIP: A Visual Interface for Promela

Stefan Leue - 2 -

Joint work with

Moataz Kamel

Page 3: VIP: A Visual Interface for Promela

Stefan Leue - 3 -

Visual Interface for Promela (VIP)

Based on v-Promela [Holzmann, Leue] visual notation for describing structure and behaviour of

concurrent, object-based systems 90% compatible with UML-RT (ROOM in UML’s

clothes) incorporates Promela features supports abstraction and hierarchy can be compiled into Promela code

VIP GUI-based tool for editing and maintaining v-Promela

models v-Promela to Promela compiler

Page 4: VIP: A Visual Interface for Promela

Stefan Leue - 4 -

Visual Interface for Promela (VIP)

VIP

v-Promela(UML-RT)

(Currently: JAVA Serialization

planned: XML)

Page 5: VIP: A Visual Interface for Promela

Stefan Leue - 5 -

Protocol Class Definition

Page 6: VIP: A Visual Interface for Promela

Stefan Leue - 6 -

Data Class Definition

Page 7: VIP: A Visual Interface for Promela

Stefan Leue - 7 -

VIP: Structure Definition

Page 8: VIP: A Visual Interface for Promela

Stefan Leue - 8 -

VIP: State Machine Definition

Page 9: VIP: A Visual Interface for Promela

Stefan Leue - 9 -

VIP: Transition Code Definition

Page 10: VIP: A Visual Interface for Promela

Stefan Leue - 10 -

VIP: HFSM Definition and Entry Code

Page 11: VIP: A Visual Interface for Promela

Stefan Leue - 11 -

VIP: Valid End State Definition

Page 12: VIP: A Visual Interface for Promela

Stefan Leue - 12 -

VIP: Promela Code, SPIN Simulation

Page 13: VIP: A Visual Interface for Promela

Stefan Leue - 13 -

SPIN: Validation of v-Promela Model

Page 14: VIP: A Visual Interface for Promela

Stefan Leue - 14 -

VIP

Implemented in JAVA, using SDK 1.2

Approximately 0.5 man-year

Currently beta-beta version 0.8999

Expected to be publicly available this Fall/Winter (under GNU-type license)

Contact:[email protected]@uwaterloo.ca

Page 15: VIP: A Visual Interface for Promela

Stefan Leue - 15 -

VIP vs. v-Promela/UML-RT

No capsule instance replication

No dynamic instantiation/termination of capsule instances

Only one-directional connectors and protocols

Capacity per connector, not per port

Page 16: VIP: A Visual Interface for Promela

Stefan Leue - 16 -

VIP/v-Promela vs. UML-RT

Synchronizers and buffers

Flexible transition priority semantics

Capacities attached to connectors, not ports

Page 17: VIP: A Visual Interface for Promela

Stefan Leue - 17 -

Conclusions

Goals for furture research: definition/implementation of linear form support for compositional verification notations for expressing requirements

– end states– progress labels– pre-/post conditions, invariants, link to OCL– automata notations– tables– LTL properties– interval logics– Message Sequence Charts

simulation capability inside VIP synthesizing models in related notations

– ROOM/UML-RT (ObjecTime)– UML class diagrams– …