File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
regression/ebmc/smv-word-level Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ CORE
2
+ verilog5.sv
3
+ --smv-word-level
4
+ ^INIT ebmc::\$past1@1 = FALSE$
5
+ ^TRANS next\(ebmc::\$past1@1\) = main\.in$
6
+ ^LTLSPEC G main\.in = \(X ebmc::\$past1@1\)$
7
+ ^EXIT=0$
8
+ ^SIGNAL=0$
9
+ --
Original file line number Diff line number Diff line change
1
+ module main (input clk, input in);
2
+
3
+ p1 : assert property (in iff s_nexttime $past (in));
4
+
5
+ endmodule
Original file line number Diff line number Diff line change 21
21
#include " ebmc_version.h"
22
22
#include " format_hooks.h"
23
23
#include " instrument_buechi.h"
24
+ #include " instrument_past.h"
24
25
#include " liveness_to_safety.h"
25
26
#include " netlist.h"
26
27
#include " neural_liveness.h"
@@ -234,6 +235,8 @@ int ebmc_parse_optionst::doit()
234
235
235
236
if (cmdline.isset (" smv-word-level" ))
236
237
{
238
+ // There is no $past in SMV.
239
+ instrument_past (transition_system, properties);
237
240
auto filename = cmdline.value_opt (" outfile" ).value_or (" -" );
238
241
output_filet output_file{filename};
239
242
output_smv_word_level (
You can’t perform that action at this time.
0 commit comments