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

Sticky interrupt with hardware precedence and write-one-to-clear can not be cleared #87

Open
tenaliram opened this issue Dec 15, 2020 · 0 comments

Comments

@tenaliram
Copy link

Hi,
I have the following setting for an interrupt:
level intr; precedence hw; woclr;

This interrupt does not get cleared when I write a 1 to the interrupt bit. If I remove the "precedence hw" then it works as expected. However, the reason I need the "precedence hw" is to ensure that interrupt is generated if the register write and the interrupt condition occur in the same clock. Without the "precedence hw" I could miss the interrupt if the interrupt condition occurs at the same time as when software is trying to clear the interrupt.

Is there another method to do this?

Thanks,
Saurabh

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

No branches or pull requests

1 participant