Skip to content

Commit 8ff234f

Browse files
authored
Updating README
1 parent 5872d6f commit 8ff234f

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
<h2>NuSMV Model Checker</h2>
2-
<p><strong>Installing NuSMV on MAC:<br/></strong>
3-
1. <code>$ brew search nusmv</code><small>Searches for NuSMV module</small><br/>
4-
2. <code>$ brew install nusmv</code><small>Install the NuSMV module</small><br/>
5-
</p>
6-
<p><strong>Running NuSMV in terminal</strong><br/>
7-
1. Open the NuSMV interactive terminal <code>$ nusmv -int</code><br/>
8-
2. Run the following commands to read the smv file: <br/>
9-
<code>read_model -i file_name.smv</code><br/>
10-
<code>flatten_hierarchy</code><br/>
11-
<code>encode_variables</code><br/>
12-
3. To verify the model and requirements, use <code>check_ltlspec -p "G { your_expression_here }"</code>
13-
</p>
14-
<p><small>Note: I will add the installation instructions for windows and linux distributions soon with the state diagrams of the models presented in this codebase</small></p>
1+
# NuSMV Model Verification Module
2+
Installing NuSMV:
3+
1. ```brew install nusmv``` -- Installs the NuSMV CLI on your MAC. For other operating systems, google it.
4+
5+
## Running NuSMV Model Verification Programs:
6+
1. Open NuSMV in the terminal ```nusmv -int```
7+
2. Read the NuSMV model file:
8+
```
9+
$read_model -i {FILE_NAME}.smv
10+
$flatten_hierarchy
11+
$encode_variables
12+
```
13+
3. To verify the model against requirement, use:
14+
```
15+
$check_ltlspec -p "G {YOUR_EXPRESSION}"
16+
```

0 commit comments

Comments
 (0)