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
10 years ago&& is a logical AND, I think you are doing a bit mask so I would use one & instead. Also I would declare data as a volatile variable to make sure the compiler doesn't attempt to optimize it away.