• kth.se
  • Studentwebben
  • Intranät
  • kth.se
  • Studentwebben
  • Intranät
Logga in
MF240V/FMF3032HT211
Assignment: NuSMV tutorial
Hoppa över till innehåll
Översikt
  • Logga in
  • Översikt
  • Kalender
  • Inkorg
  • Historik
  • Hjälp
Stäng
  • Min översikt
  • MF240V/FMF3032HT211
  • Uppgifter
  • Assignment: NuSMV tutorial
  • Startsida
  • Uppgifter
  • Moduler
  • Course Evaluation

Assignment: NuSMV tutorial

  • Inlämningsdatum 26 okt 2021 av 18:00
  • Poäng 1
  • Lämnar in en textimatningsruta eller en filuppladdning

Introductory NuSMV exercise

The goal of these exercises is to make you familiar with NuSMV.

See the lecture slides Download lecture slides for more information on the exercises. If you like, you can watch the following lecture video that walks you through the example problem (vending machine):

This is an individual exercise; the goal is that everyone masters the basics of NuSMV before continuing in your group with Part 3, Project.

How to upload

You can upload the final .smv file as a text file. Comments can be written in lines starting with --.

Vending machine

Start with vending1.smv. Download vending1.smv.

  1. Use NuSMV on vending1.smv .
    1. Study error trace. Copy it as a multi-line comment to the bottom of the model, and add explanations.
    2. Refine transition ( case condition). The new model should have no property violations anymore.
  2. Counting remaining items.
    1. Add a counter n_items (see above).
    2. Write LTL or CTL properties for these three new properties:
      1. Number of items should always be ≥0.
      2. Payment should only be accepted if number of items > 0.
      3. If an item is dispensed, the counter of items is always reduced by 1.
    3. Ensure your model fulfills all properties.

Upload the commented source file with your solution.

1635264000 10/26/2021 06:00pm
Inkludera en beskrivning
Ytterligare kommentarer:
Maxresultat för gradering till > poäng
Inkludera en bedömningstitel

Matris

Hitta matris
Inkludera en titel
Hitta en matris
Titel
Du har redan bedömt studenter med den här matrisen. Större ändringar kan påverka resultaten för deras uppgifter.
 
 
 
 
 
 
 
     
Det går inte att ändra en matris efter att du börjat använda den.  
Titel
Kriterier Bedömningar Poäng
Det här kriteriet är länkat till ett lärandemål Beskrivning av kriterium
tröskel: 5 poäng
Redigera beskrivning av kriterium Ta bort kriterium rad
5 till >0 poäng Full poäng blank
0 till >0 poäng Inga poäng blank_2
Det här området kommer användas av utvärderaren för kommentarer relaterade till det här kriteriet.
poäng
  / 5 poäng
--
Ytterligare kommentarer
Det här kriteriet är länkat till ett lärandemål Beskrivning av kriterium
tröskel: 5 poäng
Redigera beskrivning av kriterium Ta bort kriterium rad
5 till >0 poäng Full poäng blank
0 till >0 poäng Inga poäng blank_2
Det här området kommer användas av utvärderaren för kommentarer relaterade till det här kriteriet.
poäng
  / 5 poäng
--
Ytterligare kommentarer
Poängsumma: 5 av 5
Föregående
Nästa
Quiz: Temporal Logic 3.3 Security in the field