Thank you very much kbs972 for your response.
I was hoping for a simpler method of doing this. For example, when the NIOS boots it could check a NIOS register for the cause of the reset. I have read that for exception handling that there is a "cause code" that includes a "reset" code (0) and a "processor only reset request" code (1). Since the Watchdog causes a "reset request" when it times out, I suspect that the "cause code" would be set to 1 and if I could access this code when the processor restarts I would be able to increment my counter in software if the "cause code" was 1. Do you (or anyone else) know how to access this "cause code" value, and if my suspicions are correct??
Thanks again for your help.