Questions tagged [nusmv]

NuSMV is a model checking software free for non-commercial and academic purposes. It is used to verify and prove hardware and software.

NuSMV is a model checking software free for non-commercial and academic purposes. It is used to verify and prove hardware and software.

93 questions
1
vote
1 answer

How to use NuSMV to witness the man-in-the-middle attack (Needham-Schroeder protocol)?

I have the following simplified public-key Needham-Schroeder protocol: A → B: {Na, A} Kb B → A: {Na, Nb} Ka A → B: {Nb} Kb where Na, Nb are the nonces of A, B, and Ka, Kb are the public keys of A, B respectively. Messages encrypted by a party’s…
walkcc
  • 301
  • 4
  • 17
1
vote
1 answer

NuSMV - AND model

I'm trying to write the following model in NuSMV In other words, z becomes bad only when x AND y are in the state bad too. This is the code I've written MODULE singleton VAR state: {good, bad}; INIT state = good TRANS (state = good) ->…
panda
  • 163
  • 2
  • 9
1
vote
1 answer

NuSMV Simulation Using Random Traces

I am attempting to run "random" or non-deterministic simulations of a NuSMV model I have created. However between subsequent runs the trace that is produced is exactly the same. Here is the model: MODULE main VAR x : 0..4; VAR clk : 0..10; DEFINE…
Simon Diemert
  • 330
  • 3
  • 9
1
vote
1 answer

Are there options that would boost the amount of memory that NuSMV can use during a specification run?

During specification running in nusmv, it takes several hours and eventually gives the result of "killed 9". How to speed up the execution? Are there options that would boost the amount of memory that NuSMV can use during a specification run?
1
vote
1 answer

Model checking with NuSMV

Is it true that in NuSMV there is no value like NULL, nil, None? And that we should not make a model for a process because the models should repesent electronic circuits? My scenario is that I have one UART connector, a main memory and a process…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
1
vote
1 answer

Case conditions are not exhaustive?

I am writing two modules in NuSMV but I am receiving the error, "Case conditions are not exhaustive" This error points to the last case statement I have in the code. I am not sure how to fix this because the cases that I currently have there are the…
Flower
  • 381
  • 1
  • 6
  • 17
1
vote
1 answer

Build formal model of UART in NuSMV?

I'm learning model-checking and NuSMV for my education. I can edit and run NuSMV code and I have a fair understanding of what UART is and does. My task is to formally model UART with NuSMV but at this time I'm not sure how to do it. I understand…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
1
vote
0 answers

NuSMV :: Wrong counterexamples for Finally property

I want to model a symmetric distributed four processor three coloring protocol with nuSMV. My specification - which I am sure about its correctness - must be true but when I use keyword "F" for "Finally" property, nuSMV gives me a counterexample at…
mirzanahal
  • 167
  • 2
  • 12
1
vote
1 answer

Converting a system model into transition system for model checking

Currently i am trying to convert a system prototype into the transition system model. i have some LTL properties and i want to verify those properties using model checking tool NuSMV. I just information how to start modeling by defining atomoic…
knight
  • 13
  • 5
1
vote
1 answer

How can i change these into CTL SPEC in NuSMV model?

I need help writing these CTL. I don't reall understand how to write in NuSMV format yet, hopefully my code will make sense to you since it is incomplete atm. 2)If a process is waiting, it will eventually get to its critical section 3)The two…
Darkflame
  • 79
  • 2
  • 11
1
vote
2 answers

Vending Machine in NuSMV

I am new to NuSMV, I am trying to create Vending Machine implementation from Kripke structure, I have three boolean (coin, selection, brewing) as well as three states.However, When I compile the code I receive "Line 25: at token ":": syntax error"…
Mohamed
  • 29
  • 4
1
vote
2 answers

Running NuSMV on OSX

I have installed NuSMV using the readme provided, however when I try to use the NuSMV command, I get the following message: -bash: NuSMV: command not found There isn't much information on the internet about this, so I'd appreciate any help
user3531263er
  • 423
  • 1
  • 4
  • 20
1
vote
1 answer

Running NuSMV on Mac

I downloaded NuSMV source code for mac and started installing using the README. However, there is a step which asks me to build using 'cmake..' when I run that I get the issue The source directory does not appear to contain CMakeLists.txt. Any help…
user3531263er
  • 423
  • 1
  • 4
  • 20
1
vote
1 answer

NuSMV model checking: create a simple game model

I'm new to NuSMV and try to model this simple turn-based game. There are 10 bricks in a pile, each player can take 1-3 brick per turn, whoever take the last brick wins the game. Assume player A go first, and here is my attempt. I want to express…
user97919
  • 17
  • 2
1
vote
1 answer

Programming a bubblesort in NuSMV

I'm trying to program a simple bubble sort as a FSM in NuSMV, but i'm facing a major problem, I can't do the swap in the array, when I try to make a swap between 2 elements os the array, the program stops. Can anyone help solve this? Thanks a…