File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
regression/verilog/system-functions Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
- KNOWNBUG
1
+ CORE
2
2
past2.sv
3
3
--bdd
4
- ^EXIT=0$
4
+ ^file .* line \d+: error: no support for \$past when using AIG backends$
5
+ ^EXIT=6$
5
6
^SIGNAL=0$
6
7
--
7
8
^warning: ignoring
8
9
--
9
- The AIG translation is yet to support $past.
Original file line number Diff line number Diff line change 12
12
#include < util/expr_util.h>
13
13
#include < util/std_expr.h>
14
14
15
+ #include < ebmc/ebmc_error.h>
15
16
#include < solvers/flattening/boolbv.h>
16
17
#include < verilog/sva_expr.h>
17
18
@@ -201,6 +202,11 @@ literalt instantiate_var_mapt::convert_bool(const exprt &expr)
201
202
convert_bool (sva_overlapped_implication.lhs ()),
202
203
convert_bool (sva_overlapped_implication.rhs ()));
203
204
}
205
+ else if (expr.id () == ID_verilog_past)
206
+ {
207
+ throw ebmc_errort ().with_location (expr.source_location ())
208
+ << " no support for $past when using AIG backends" ;
209
+ }
204
210
205
211
return SUB::convert_bool (expr);
206
212
}
@@ -238,6 +244,11 @@ bvt instantiate_var_mapt::convert_bitvector(const exprt &expr)
238
244
return bv;
239
245
}
240
246
}
247
+ else if (expr.id () == ID_verilog_past)
248
+ {
249
+ throw ebmc_errort ().with_location (expr.source_location ())
250
+ << " no support for $past when using AIG backends" ;
251
+ }
241
252
242
253
return SUB::convert_bitvector (expr);
243
254
}
You can’t perform that action at this time.
0 commit comments