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

Improve exceptions for Logic.put #243

Merged
merged 1 commit into from
Jan 5, 2023
Merged

Conversation

mkorbel1
Copy link
Contributor

@mkorbel1 mkorbel1 commented Jan 5, 2023

Description & Motivation

The exceptions raised by Logic.put don't communicate what signal was having an issue, just what the issue was. This PR adds the name of the signal and makes all put exceptions of type PutException.

Related Issue(s)

N/A

Testing

Added one new test that PutException is thrown when there's a width mismatch. There could be more testing added across other exceptions as part of coverage closure.

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

No

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

No

@mkorbel1 mkorbel1 merged commit 5114f78 into intel:main Jan 5, 2023
@mkorbel1 mkorbel1 deleted the putexceptions branch January 5, 2023 23:28
quekyj pushed a commit to quekyj/rohd that referenced this pull request Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant