[Nios II] How does the PIO Core generate a interrupt?

Sep 07, 2007 3 Replies

I have designed a counter, it works like this: when the counter reach a number , one of its output pins generate a high level signal, this pin connects with the SOPC module. How can I achieve this goal : when the pin's level changes, the PIO core generates a interrupt, in other words, how can I register this type interrupt?



Thank you very much!



Edit the PIO component in SOPC Builder, and set it as follows:

Basic settings Width: 1 Input ports only

Input Options Synchronous capture - either edge Generate IRQ Edge

Documentation for how to program the Nios to do what you want can be found here...

formatting link

Hi,

I don't know but i would recommend you a very good place where you can post your question:

formatting link

Regards.

--

--------------------------------- --- -- - Posted with NewsLeecher v3.9 Beta 2 Web @

formatting link

------------------- ----- ---- -- -

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required