Forum Discussion
Altera_Forum
Honored Contributor
13 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 exter...
Altera_Forum
Honored Contributor
13 years agoHi
1. whenever the result is available the flag should be raised.... and after the results is read, lower the flag : your component set the flag when results are available and Nios II reading operation clear the flag. 2. You should read signals that are asynchronous or that may change their values within a reading operation. So Keep the results until they are read is a good solution.