axi_dmac: infer interrupt line for Xilinx projects

The interrupt controller from Microblaze based projects requires that
all its inputs have attributes which define the sensitivity of the
interrupt line. Other case it defaults to EDGE_RISING which is not the
case for DMAC, leading to incorrect interrupt reporting and handling in
case of such projects.
main
Laszlo Nagy 2019-04-24 09:45:19 +01:00 committed by Laszlo Nagy
parent 2c2be2f38a
commit 572089657a
1 changed files with 3 additions and 0 deletions

View File

@ -191,6 +191,9 @@ foreach port {"s_axis_user" "fifo_wr_sync"} {
set_property DRIVER_VALUE "1" [ipx::get_ports $port]
}
# Infer interrupt
ipx::infer_bus_interface irq xilinx.com:signal:interrupt_rtl:1.0 [ipx::current_core]
set cc [ipx::current_core]
# The core does not issue narrow bursts