Skip to content
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

SystemVerilog: chandle data type #837

Merged
merged 1 commit into from
Jan 3, 2025
Merged

SystemVerilog: chandle data type #837

merged 1 commit into from
Jan 3, 2025

Conversation

kroening
Copy link
Member

This adds 1800 2017 6.14 chandle.

@kroening kroening force-pushed the chandle branch 4 times, most recently from a87374e to c2d6501 Compare November 23, 2024 11:35
@kroening kroening force-pushed the chandle branch 6 times, most recently from a5216f3 to 1fe25b6 Compare December 26, 2024 15:26
@kroening kroening marked this pull request as ready for review December 26, 2024 15:28
@tautschnig
Copy link
Collaborator

The first commit here is #846, which is still marked as draft. So I’m not entirely sure whether this is one is ready?

@kroening
Copy link
Member Author

The first commit here is #846, which is still marked as draft. So I’m not entirely sure whether this is one is ready?

It's good to go -- there'll be more types added to the type lowering.

Comment on lines 3351 to 3352
if(lhs.type() != new_value.type())
throw errort() << lhs.pretty() << "\nVS\n" << new_value.pretty();
DATA_INVARIANT(
lhs.type() == new_value.type(), "synth_assignments type consistency");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we have the trivially-satisfied DATA_INVARIANT on this occasion (when we otherwise don't seem to do that)?

@kroening kroening force-pushed the chandle branch 2 times, most recently from b8bf283 to 0d15b99 Compare January 3, 2025 12:30
@tautschnig
Copy link
Collaborator

This one now requires resolving conflicts.

This adds 1800 2017 6.14 chandle.
@kroening kroening merged commit 4b0c862 into main Jan 3, 2025
9 checks passed
@kroening kroening deleted the chandle branch January 3, 2025 12:58
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