Forum Discussion

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

Interrupt Sender component

I have made a custom component in SOPC builder. My component has a interrupt sender type signal (irq). When Im trying to build it I get these errors:

error:interrupt_sender associated addressable point out of range

error:interrupt_sender interrupt not associated with addressable connection point.

what's wrong?

2 Replies

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

    Check your component *_hw.tcl file

    You should have something similar to this for signal interrupt:

    add_interface control_irq interrupt end

    set_interface_property control_irq associatedAddressablePoint control_port

    set_interface_property control_irq ASSOCIATED_CLOCK avalon_clock

    set_interface_property control_irq ENABLED true

    add_interface_port control_irq av_irq irq Output 1

    Please note that this applies Quartus V9.0sp2.

    Another version might use/generate different properties and/or additional tcl instructions
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I studied much more and got the point that the cpu acknowledges the interrupt by reading an associated addressable point right? I have no such thing in my custom component hdl code. could it be the problem ?

    what if I dont want my custom component to wait for an ack ?

    anyway, how does cpu's ack to interrupts work? we dont have an avalon signal for ack.

    tnx in advance