Altera_Forum
Honored Contributor
12 years agoIssue with polling in Nios
Hi,
I've got a custom component that produces some results from time to time, I want Nios processor to monitor the process by polling and whenever a result is produced, it is written to a external memory. I'm new to Nios and I've got some questions: 1. I know that I need a flag bit and whenever the result is available the flag should be raised, and I should keep the result available as long as the flag is high however I don't know when I can lower the flag and change the content in the result bits. This leads to the next question 2. If the time gap between the results produced is very small, should I still use polling? Is there any chance a part of the results are missed by the Nios? Thanks a lot!