VIP: A Visual Interface for Promela
description
Transcript of VIP: A Visual Interface for Promela
![Page 1: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/1.jpg)
VIP: A Visual Interface for Promela
Stefan LeueUniversity of Waterloo
http://fee.uwaterloo.ca/~sleue
September 21, 1999
![Page 2: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/2.jpg)
Stefan Leue - 2 -
Joint work with
Moataz Kamel
![Page 3: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/3.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/4.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/5.jpg)
Stefan Leue - 5 -
Protocol Class Definition
![Page 6: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/6.jpg)
Stefan Leue - 6 -
Data Class Definition
![Page 7: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/7.jpg)
Stefan Leue - 7 -
VIP: Structure Definition
![Page 8: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/8.jpg)
Stefan Leue - 8 -
VIP: State Machine Definition
![Page 9: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/9.jpg)
Stefan Leue - 9 -
VIP: Transition Code Definition
![Page 10: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/10.jpg)
Stefan Leue - 10 -
VIP: HFSM Definition and Entry Code
![Page 11: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/11.jpg)
Stefan Leue - 11 -
VIP: Valid End State Definition
![Page 12: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/12.jpg)
Stefan Leue - 12 -
VIP: Promela Code, SPIN Simulation
![Page 13: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/13.jpg)
Stefan Leue - 13 -
SPIN: Validation of v-Promela Model
![Page 14: VIP: A Visual Interface for Promela](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/14.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/15.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/16.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062500/56815554550346895dc31f20/html5/thumbnails/17.jpg)
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– …