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

assertions: Keep helper macros defined #240

Conversation

michael-platzer
Copy link
Contributor

Another day, another fix for PR #233. This time I realized that undefining a helper macro that is still needed later on is not a smart idea — turns out that due to this the assertion macros were not enabled so far.

Also, a comment in lowRISC's implementation made me realize that the helper macro can be useful outside of the header:

https://github.com/lowRISC/opentitan/blob/28af81ab6e41d9ee6b270f28c7e62761d6c62c31/hw/ip/prim/rtl/prim_assert.sv#L59-L60

Copy link
Collaborator

@niwis niwis left a comment

Choose a reason for hiding this comment

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

Thanks!

@niwis niwis merged commit 94d285b into pulp-platform:master Oct 9, 2024
5 checks passed
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.

2 participants