Solved
Hi Vasu,
Try by going to the project folders > right-click > properties> Nios II Application properties >
Debug Level = 2
Optimization Level =2
This gives the required output
Best Regards,
Anand Raj Shankar
(This message was posted on behalf of Intel Corporation)