Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21594 Discussions

Interrupt Sender component

Altera_Forum
Honored Contributor II
1,551 Views

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?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
486 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
486 Views

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
0 Kudos
Reply