Forum Discussion
Altera_Forum
Honored Contributor
16 years agoMultiple Avalon Masters and
Hello, I need a way for an Avalon peripheral to detect which master is accessing it in a multi-master environment. I have a design with a NIOS processor and the PCI Master-Target. I want ...
Altera_Forum
Honored Contributor
16 years agoAbout the interrupt thing, you are limited to one interrupt sender/receiver per slave/master port. So if you create a component with two slave ports you can have one interrupt per port. You would want to make sure that those interrupts don't fire at the same time if a master is connected to both ports since you'll end up with two interrupts for a single event which would get a bit confusing to handle in software :)
Users who want to have multiple interrupts from the same slave port should have a register that can be read back to determine which event occurred as apposed to attempting to use multiple interrupt lines (which isn't supported anyway)