|
The AsmetaSMV model checker can be used to automatically verify Asmeta properties by translating AsmetaL specifications in NuSMV specifications.
Installation
The model checker can be used either embedded in eclipse or as standalone program. For the eclipse version, follow the instructions Follow the instructions here
The NuSMV model checker must be installed in the system and added to the system path. NuSMV can be downloaded from here:
http://nusmv.fbk.eu/
Libraries with temporal operators can be downloaded from here:
https://github.com/asmeta/asmeta/blob/master/asm_examples/STDL
Use in eclipse
You can run the tool in two modes:
translates the AsmetaL model in NuSMV
translates the AsmetaL model in NuSMV and then executes the NuSMV model
Other options can be set in the preferences: Window -> Preferences -> Asmeta -> AsmetaSMV
Download as standalone
Download the tool:
AsmetaSMV.jar
How to run
To run AsmetaSMV
java -jar AsmetaSMV.jar [options...] file.asm
-dcx : disable computation of counterexamples (default: false)
-debug : set log4j level to debug (default: false)
-en : execute the NuSMV model after the translation (default: false)
-exit : use system.exit at the end (default: false)
-kf : keep the NuSMV file. To be used with the -en option enabled.
If the -en option is not enabled, the option -kf is enabled
by default. (default: false)
-log VAL : log4j configuration file
-nc : do not add the check on integer enum (default: false)
-ns : do not simplify the boolean conditions in NuSMV code
(default: false)
-nusmvpath VAL : nusmv path
-xm : use NuXMV instead of NuSMV (default: false)
-xt : use NuXMV with time functions (default: false)
Example: java -jar AsmetaSMV.jar -dcx -debug -en -exit -kf -log VAL -nc -ns -nusmvpath VAL -xm -xt file.asm
## Paper
P. Arcaini, A. Gargantini, E. Riccobene. AsmetaSMV: A Way to Link High-Level ASM Models to Low-Level NuSMV Specifications, in 2nd International Conference on Abstract State Machines, Alloy, B and Z (ABZ 2010), Orford, QC, Canada, February 22-25, 2010 doi
|