Skip to content

Bugfix: s_always is a temporal logic operator #1025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion regression/verilog/SVA/initial1.desc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ initial1.sv
^\[main\.p1\] main\.counter == 100: REFUTED$
^\[main\.p2\] ##1 main\.counter == 1: PROVED up to bound 5$
^\[main\.p3\] ##1 main\.counter == 100: REFUTED$
^\[main\.p4\] s_nexttime main\.counter == 1: PROVED$
^\[main\.p4\] s_nexttime main\.counter == 1: PROVED up to bound 5$
^EXIT=10$
^SIGNAL=0$
--
Expand Down
15 changes: 8 additions & 7 deletions src/temporal-logic/temporal_logic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,14 @@ bool is_SVA_operator(const exprt &expr)
return is_SVA_sequence(expr) || id == ID_sva_disable_iff ||
id == ID_sva_accept_on || id == ID_sva_reject_on ||
id == ID_sva_sync_accept_on || id == ID_sva_sync_reject_on ||
id == ID_sva_always || id == ID_sva_ranged_always ||
id == ID_sva_nexttime || id == ID_sva_s_nexttime ||
id == ID_sva_indexed_nexttime || id == ID_sva_until ||
id == ID_sva_s_until || id == ID_sva_until_with ||
id == ID_sva_s_until_with || id == ID_sva_eventually ||
id == ID_sva_s_eventually || id == ID_sva_ranged_s_eventually ||
id == ID_sva_cycle_delay || id == ID_sva_overlapped_followed_by ||
id == ID_sva_always || id == ID_sva_s_always ||
id == ID_sva_ranged_always || id == ID_sva_nexttime ||
id == ID_sva_s_nexttime || id == ID_sva_indexed_nexttime ||
id == ID_sva_until || id == ID_sva_s_until ||
id == ID_sva_until_with || id == ID_sva_s_until_with ||
id == ID_sva_eventually || id == ID_sva_s_eventually ||
id == ID_sva_ranged_s_eventually || id == ID_sva_cycle_delay ||
id == ID_sva_overlapped_followed_by ||
id == ID_sva_nonoverlapped_followed_by;
}

Expand Down
Loading