Forum Discussion
Altera_Forum
Honored Contributor
13 years agoDE1 Basic Computer on Nios II SBT
Hi everyone! I am a beginner with the Cyclone II board. Just got it last week. I tried to implement the DE1 Basic Computer project with the Altera Monitor Program and it works absolutely fine I wante...
Altera_Forum
Honored Contributor
13 years agoI think you can use this, change the defines for the ones you have on your system.h
alt_ic_isr_register(SYS_TIMER_IRQ_INTERRUPT_CONTROLLER_ID,SYS_TIMER_IRQ,ms_clock_isr, NULL, 0x0); alt_ic_irq_enable(SYS_TIMER_IRQ_INTERRUPT_CONTROLLER_ID,SYS_TIMER_IRQ); ms_clock_isr is the function that treat the interrupt. Don't forget you have to clean the interrupt flag when you finish.