File tree 3 files changed +20
-1
lines changed
3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -368,6 +368,14 @@ void netlistt::output_smv(std::ostream &out) const
368
368
print_smv (out, std::get<GFpt>(property).p );
369
369
out << ' \n ' ;
370
370
}
371
+ else if (std::holds_alternative<not_translatedt>(property))
372
+ {
373
+ out << " -- " << id << ' \n ' ;
374
+ out << " -- not translated\n " ;
375
+ out << ' \n ' ;
376
+ }
377
+ else
378
+ UNREACHABLE;
371
379
}
372
380
}
373
381
Original file line number Diff line number Diff line change @@ -63,7 +63,11 @@ class netlistt:public aig_plus_constraintst
63
63
literalt p;
64
64
};
65
65
66
- using propertyt = std::variant<Gpt, GFpt>;
66
+ struct not_translatedt
67
+ {
68
+ };
69
+
70
+ using propertyt = std::variant<Gpt, GFpt, not_translatedt>;
67
71
68
72
// map from property ID to property netlist nodes
69
73
using propertiest = std::map<irep_idt, propertyt>;
Original file line number Diff line number Diff line change @@ -385,13 +385,20 @@ void convert_trans_to_netlistt::operator()(
385
385
else
386
386
{
387
387
// unsupported
388
+ dest.properties .emplace (id, netlistt::not_translatedt{});
388
389
}
389
390
}
390
391
else
391
392
{
392
393
// unsupported
394
+ dest.properties .emplace (id, netlistt::not_translatedt{});
393
395
}
394
396
}
397
+ else
398
+ {
399
+ // unsupported
400
+ dest.properties .emplace (id, netlistt::not_translatedt{});
401
+ }
395
402
}
396
403
397
404
// find the nondet nodes
You can’t perform that action at this time.
0 commit comments