Forum Discussion
Altera_Forum
Honored Contributor
14 years agoPolling or interrupt on a custom module signal???
Hi, I've design a Nios system in which I insert my custom module interfacing it using the slave MM wrapper. This custom block receives a start command and sends 32 bit data (values from 32 to 126)...
Altera_Forum
Honored Contributor
14 years agoDoes your component waits until the value was read before providing a new one to the CPU? It may be a good idea to look what's going on in your component using SignalTap.
Using interrupts is mostly a performance improvement, as it allows the CPU to do something else when data isn't available, instead of polling continuously. But you should first find out why you get the wrong data before thinking about using interrupts.