Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Setup an IRQ on a component

Hi ,

I made a "counter" component which I want to interrupt NIOS when reaching 8'h7.

I also created a control register in which is bit IRDY (Interrupt Ready)

I have 2 questions for my component :

1) How can I setup an IRQ for it ?

( like UART , its IRQ is 5. This info is in "System Contents" tab of "Altera SOPC Builder" )

2) How can I make NIOS "connect" with my IRDY bit ?

Thank you so much ,

Quan

18 Replies