Skip to content

Commit

Permalink
axi_dmac: infer interrupt line for Xilinx projects
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ronagyl committed Apr 25, 2019
1 parent 3d4ea9c commit 28df754
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/axi_dmac/axi_dmac_ip.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28df754

Please sign in to comment.