Forum Discussion

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

„Interface to User Logic“ and IRQ (level/edge)

Hello,

I would like to edit the IRQ type (edge/level) for “Interface to User Logic”. What’s the standard IRQ type? Is there more information about this topic? I didn’t find something useful in the forum or in the web. It should also be possible to edit the IRQ type in a PTF file.

Thanks for your help,

niosIIuser

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The Nios II processor requires level triggered, active high, interrupts.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello wombat,

    Thank you for this information. So there is no way to set up the IRQ inputs? Where did you get the information?

    Bye,

    niosIIuser
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I don't know whether it's possible to get the interface to user logic to automatically convert edge triggered interrupts into levels, but its fairly easy to do it yourself.

    You need to latch the fact that the interrupt has occurred and then write to a slave port register to clear your latched value. But you probably know that already (I'm stating the obvious in case others are reading this).