Altera_Forum
Honored Contributor
10 years agoQuestıons about VIC on Nios II
Hi
I would like to ask about some beginner questions on VIC since I'm new to FPGA. I read Vectored Interrupt Controller section of reference manual couple of times but could not yet assure if switching from internal interrupt controller to VIC based hw design requires additional implementation on SW side. I'll try to make myself clear with describing my setup - I implemented an eclipse project using periodical timer interrupts - alarm call back function - to verify if I can configure int's in my environment. And result is alarm call back fnc. is executed whenever given nticks have elapsed. Debugging via jtag showed me that call back is called from interrupt context therefore I have enough information to switch to VIC configured HW design -In VIC configured design , alarm call back is never called. In addition to this also JTAG Uart does not work too unless I enable reduced driver mode and polling mode consequently. -I'm using RTOS timer for system clock and Test timer for time stamps. -My assumption is that SW should not be modified when VIC configuration is enabled. Underlying hw should automatically transfer required interrupts information to cpu and cpu should transfer it to sw. Do you agree with my assumption ? How can I verify if hw design is working as expected ? Thank you