@@ -29,6 +29,7 @@ Author: Daniel Kroening, kroening@kroening.com
29
29
#include " ranking_function.h"
30
30
#include " show_properties.h"
31
31
#include " show_trans.h"
32
+ #include " sva_monitor.h"
32
33
33
34
#include < iostream>
34
35
@@ -218,6 +219,13 @@ int ebmc_parse_optionst::doit()
218
219
auto properties = ebmc_propertiest::from_command_line (
219
220
cmdline, transition_system, ui_message_handler);
220
221
222
+ // possibly apply liveness-to-safety
223
+ if (cmdline.isset (" liveness-to-safety" ))
224
+ liveness_to_safety (transition_system, properties);
225
+
226
+ if (cmdline.isset (" sva-monitor" ))
227
+ sva_monitor (transition_system, properties);
228
+
221
229
if (cmdline.isset (" smv-word-level" ))
222
230
{
223
231
auto filename = cmdline.value_opt (" outfile" ).value_or (" -" );
@@ -239,10 +247,6 @@ int ebmc_parse_optionst::doit()
239
247
return 0 ;
240
248
}
241
249
242
- // possibly apply liveness-to-safety
243
- if (cmdline.isset (" liveness-to-safety" ))
244
- liveness_to_safety (transition_system, properties);
245
-
246
250
if (cmdline.isset (" show-varmap" ))
247
251
{
248
252
auto netlist =
@@ -373,6 +377,7 @@ void ebmc_parse_optionst::help()
373
377
" {y--show-properties} \t list the properties in the model\n "
374
378
" {y--property} {uid} \t check the property with given ID\n "
375
379
" {y--liveness-to-safety} \t translate liveness properties to safety properties\n "
380
+ " {y--sva-monitor} \t translate SVA properties into a monitor circuit\n "
376
381
" \n "
377
382
" Methods:\n "
378
383
" {y--k-induction} \t do k-induction with k=bound\n "
0 commit comments