Skip to content

Commit a6a73c2

Browse files
committed
word-level BMC: precondition for timeframe
This adds a PRECONDITION on the starting timeframe to the word-level SVA sequence encoding.
1 parent 8f220ab commit a6a73c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/trans-word-level/sequence.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ sequence_matchest instantiate_sequence(
8282
const mp_integer &t,
8383
const mp_integer &no_timeframes)
8484
{
85+
PRECONDITION(t < no_timeframes);
86+
8587
if(expr.id() == ID_sva_cycle_delay) // ##[1:2] something
8688
{
8789
auto &sva_cycle_delay_expr = to_sva_cycle_delay_expr(expr);

0 commit comments

Comments
 (0)