Skip to content

Commit 44454a4

Browse files
committed
SMV netlists: use TRUE/FALSE instead of 1/0
NuSMV no longer accepts 1/0 for TRUE/FALSE.
1 parent f20c412 commit 44454a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/trans-netlist/smv_netlist.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ void print_smv(const netlistt &netlist, std::ostream &out, literalt a)
5151
{
5252
if(a == const_literal(false))
5353
{
54-
out << "0";
54+
out << "FALSE";
5555
return;
5656
}
5757
else if(a == const_literal(true))
5858
{
59-
out << "1";
59+
out << "TRUE";
6060
return;
6161
}
6262

0 commit comments

Comments
 (0)