jamie_m
New Contributor
6 years agoNios II exception handling
I'm running into an occasional fault on the Nios processor implemented on MAX 10 device that leads to an infinite trap loop:
The above is from file alt_instruction_exception_ entry.c. There is a variable named "cause" that should hold the cause of the exception, however, in my code I see the following:
How do I get it to compile with this definition turned on so that I can get the exception info loaded into the cause variable?
Thanks,
Jamie