Skip to content

Introduce sva_sequence_repetition_exprt #1080

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
Apr 24, 2025
Merged

Conversation

kroening
Copy link
Member

This introduces sva_sequence_repetition_exprt as a base class for the SVA repetition operators [*...], [=...], [->...].

@kroening kroening force-pushed the sva_sequence_repetition_exprt branch 4 times, most recently from 9996699 to cda5cc0 Compare April 23, 2025 15:49
@kroening kroening marked this pull request as ready for review April 23, 2025 15:51
Copy link
Collaborator

@tautschnig tautschnig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requires conflict resolution now that #1082 has been merged.


expr.op1() = from_integer(n, integer_typet{});

expr.type() = verilog_sva_sequence_typet{};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this even necessary anymore?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately yes, since the parser doesn't use the expression constructors.

This introduces sva_sequence_repetition_exprt as a base class for the SVA
repetition operators [*...], [=...], [->...].
@kroening kroening force-pushed the sva_sequence_repetition_exprt branch from cda5cc0 to 649411d Compare April 24, 2025 20:47
@kroening kroening merged commit 0ab525a into main Apr 24, 2025
9 checks passed
@kroening kroening deleted the sva_sequence_repetition_exprt branch April 24, 2025 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants