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

How to Read Event ID from Event FIFO in Software. #50

Open
julienissuts opened this issue Jan 21, 2025 · 0 comments
Open

How to Read Event ID from Event FIFO in Software. #50

julienissuts opened this issue Jan 21, 2025 · 0 comments

Comments

@julienissuts
Copy link

Hello,

I am trying to identify which event caused an interrupt in my software. I have enabled interrupt 26, which signals that there is a valid event in the event FIFO.

In my Questasim simulation, I see that the event is pushed into the FIFO and then popped into r_fifo_event in the apb_interrupt_cntrl module. However, I don’t understand how to read the event ID from my ISR in software. I need to know the event ID so I can handle the interrupt correctly.

Could you help me understand how to read the event ID in this case?

Best regards,
Julien

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