cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Advisor
Advisor
3,180 Views
Registered: ‎10-10-2014

create and package new IP - enable interrupt support

When I create a new AXI4 custom IP through the 'Create and package new IP' dialog, I can see the option 'enable interrupt support' :

 

custom AXI IP with IRQ.png

 

Q1 : is there any tutorial available of such a custom AXI IP with interrupt ?

 

Q2 : I'm wondering if the same couldn't be accomplished by using a few of the AXI lite slave registers generated on the S00_AXI interface, and have an extra IRQ pin coming out of the custom IP that connects to they Zynq IRQ input? Do you really need this 2nd S_AXI_INTR interface for a simple interrupt?

** kudo if the answer was helpful. Accept as solution if your question is answered **
0 Kudos
4 Replies
Highlighted
Xilinx Employee
Xilinx Employee
3,166 Views
Registered: ‎08-01-2008

Re: create and package new IP - enable interrupt support

check these ARs 

https://www.xilinx.com/support/answers/51138.html

https://www.xilinx.com/support/answers/56446.html

 

It is quite dated, using the ISE tool suite instead of Vivado, and it targets the MicroBlaze processor rather than the Zynq.

Adam Taylor's various blog entries cover interrupts and creating custom AXI peripherals. Take a look a a list of links here:

http://zedboard.org/content/microzed-chronicles

You could also look at the interrupt driven software examples in the SDK for some of the AXI peripherals available in the Xilinx IP catalog.

Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
Highlighted
Advisor
Advisor
3,154 Views
Registered: ‎10-10-2014

Re: create and package new IP - enable interrupt support

thanks @balkris, the AR's are indeed a bit outdated :-)

 

I have experience with using IRQ's on AXI GPIO , DMA, .. with Zynq.

 

However the 'enable interrupt support' option in the 'custom IP wizard' generates a rather large template for using IRQ's as part of a custom AXI IP.

 

It would be a good idea I think to provide some tutorial / example on that (there is really a lack on tutorials to build some more complicated custom IP's anyway)

 

Since the IRQ template creates 5 'IRQ control registers', that are mapped to their own AXI address space, I was just wondering if there would be any special reason for that. Like is there a matching bare metal and/or linux driver to work with these 5 registers? 

** kudo if the answer was helpful. Accept as solution if your question is answered **
Highlighted
Observer
Observer
1,627 Views
Registered: ‎03-22-2018

Re: create and package new IP - enable interrupt support

 Has anyone found out the answer to this? Is there a document that describes the use of the 5 registers in the interrupt module of a custom AXI IP?

0 Kudos
Highlighted
Explorer
Explorer
1,463 Views
Registered: ‎05-25-2016

Re: create and package new IP - enable interrupt support

I've run into this same issue.  Can anyone explain when you would use this template?  Should it be used when creating custom IP for the uBlaze when you want your custom IP to be able to throw an interrupt?

0 Kudos