#include "nusmv/shell/cmd/cmd.h"
#include "nusmv/shell/fsm/bdd/bddCmd.h"
#include "nusmv/core/fsm/bdd/bdd.h"
#include "nusmv/core/compile/compile.h"
#include "nusmv/core/utils/OStream.h"
#include "nusmv/core/utils/StreamMgr.h"
#include "nusmv/core/utils/Logger.h"
#include "nusmv/core/parser/symbols.h"
#include "nusmv/core/utils/error.h"
#include "nusmv/core/utils/utils_io.h"
#include "nusmv/core/enc/enc.h"
#include "nusmv/core/prop/propPkg.h"
#include "nusmv/core/parser/parser.h"
#include "nusmv/core/utils/ErrorMgr.h"
#include <math.h>
Functions | |
void | Bdd_End (NuSMVEnv_ptr env) |
Quit the BddFsm package. | |
void | Bdd_Init (NuSMVEnv_ptr env) |
Module header file for bdd shell commands. | |
int | CommandCheckFsm (NuSMVEnv_ptr env, int argc, char **argv) |
Bdd FSM commands. | |
int | CommandComputeReachable (NuSMVEnv_ptr env, int argc, char **argv) |
int | CommandDumpFsm (NuSMVEnv_ptr env, int argc, char **argv) |
int | CommandPrintFairStateInputPairs (NuSMVEnv_ptr env, int argc, char **argv) |
int | CommandPrintFairStates (NuSMVEnv_ptr env, int argc, char **argv) |
int | CommandPrintFairTransitions (NuSMVEnv_ptr env, int argc, char **argv) |
int | CommandPrintReachableStates (NuSMVEnv_ptr env, int argc, char **argv) |
Variables | |
cmp_struct_ptr | cmps |
void Bdd_End | ( | NuSMVEnv_ptr | env | ) |
void Bdd_Init | ( | NuSMVEnv_ptr | env | ) |
Module header file for bdd shell commands.
AutomaticEnd
int CommandCheckFsm | ( | NuSMVEnv_ptr | env, | |
int | argc, | |||
char ** | argv | |||
) |
Bdd FSM commands.
Command arguments: [-h] [-m | -o output-file]
Checks if the transition relation is total. If the transition relation is not total then a potential deadlock state is shown out.
Command options:
-m
PAGER
shell variable if defined, else through the UNIX command "more". -o output-file
output-file
. At the beginning reachable states are computed in order to guarantee that deadlock states are actually reachable.
int CommandComputeReachable | ( | NuSMVEnv_ptr | env, | |
int | argc, | |||
char ** | argv | |||
) |
Command arguments: [-h] [-k number]
The set of reachable states is used to simplify image and preimage computations. This can result in improved performances for models with sparse state spaces.
Command Options:
-k number
-t number
int CommandDumpFsm | ( | NuSMVEnv_ptr | env, | |
int | argc, | |||
char ** | argv | |||
) |
Command arguments: [-h] -o filename [-i] [-I] [-t] [-f] [-r] [-e expression]
Dumps selected parts of the bdd fsm, with optional expression, in DOT format. At least one among options [iIte] must be specified.
Command Options:
-o filename
Dumps to the specified file name.
-i
Dumps the initial states of the FSM, among with other selected outputs.
-I
Dumps the invariant states of the FSM, among with other selected outputs.
-t
Dumps the (monolithic) transition relation of the FSM, among with other selected outputs.
-F
Dumps the (monolithic) fair states of the FSM, among with other selected outputs.
-r
Dumps the (monolithic) reachable states of the FSM, among with other selected outputs.
-e
Dumps the specified expression, among with other selected outputs (see also command dump_expr).
int CommandPrintFairStateInputPairs | ( | NuSMVEnv_ptr | env, | |
int | argc, | |||
char ** | argv | |||
) |
Command arguments: [-h] [-v]
Prints the number of fair state/input pairs. In verbose mode, prints also the list of fair pairs.
Command Options:
-v
int CommandPrintFairStates | ( | NuSMVEnv_ptr | env, | |
int | argc, | |||
char ** | argv | |||
) |
Command arguments: [-h] [-v]
This command provides information about the fair states of the current model.number of fair states. In verbose mode, prints also the list of fair states.
Command Options:
-v
int CommandPrintFairTransitions | ( | NuSMVEnv_ptr | env, | |
int | argc, | |||
char ** | argv | |||
) |
Command arguments: [-h] [-v [-f format] [-o fname]]
Prints the number of fair transitions. In verbose mode, prints also the list of fair transitions.
Command Options:
-v
-f
-o fname
int CommandPrintReachableStates | ( | NuSMVEnv_ptr | env, | |
int | argc, | |||
char ** | argv | |||
) |
Command arguments: [-h] [-v] [-f] [-d] [-o filename]
Prints the number of reachable states of the given model. In verbose mode, prints also the list of all reachable states. The reachable states are computed if needed.
Command Options:
-v
-f
-d
-o filename
cmp_struct_ptr cmps |