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

Fix hwloop covg model corner issue related to irq check #2449

Merged
merged 2 commits into from
May 29, 2024

Conversation

dd-baoshan
Copy link

No description provided.

Signed-off-by: dd-baoshan <baoshan.mak@dolphin.fr>
@@ -119,7 +119,8 @@ class uvme_rv32x_hwloop_covg # (
bit has_pending_trap_due2_irq = 0; // has trap pending due to irq entry
bit enter_hwloop_sub = 0;
int enter_hwloop_sub_cnt = 0;
bit pending_irq = 0;
bit pending_irq = 0, pending_irq_ack = 0;
Copy link
Member

Choose a reason for hiding this comment

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

In the future, please do not declare multiple members in a single line.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks, I have updated this in this PR.

Copy link
Member

@MikeOpenHWGroup MikeOpenHWGroup left a comment

Choose a reason for hiding this comment

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

Looks (mostly) good to me @dd-baoshan and it passes a local CI. In the interest of time I have approved this PR and if you need to, please go ahead and merge it. However, I have two comments. the first is "just" coding style, but the second (regarding lpend_has_pending_irq_TYPE) might be a functional issue in the general case.

Signed-off-by: dd-baoshan <baoshan.mak@dolphin.fr>
Copy link
Member

@MikeOpenHWGroup MikeOpenHWGroup left a comment

Choose a reason for hiding this comment

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

Thanks for the fix and explainer @dd-baoshan.

@MikeOpenHWGroup MikeOpenHWGroup merged commit 2727aa9 into openhwgroup:cv32e40p/dev May 29, 2024
1 check 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