--- Quote Start ---
Hi
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.
--- Quote End ---
thanks, in your answer to my second question did you want to say 'you should not read.....'?
Then what if the time gap between two consecutive results are very small? Say the results are produced every two clock cycles, one solution I can think of is to use a FIFO and do batch transition whenever necessary, what is the common solution in this case?
thanks!