axiethernet: Fix bug in the driver tcl when axi ethernet is configured with fifo

This patch fixes the issue AXI Ethernet with FIFO will fail to
create the BSP if the interrupt pin on the FIFO is unconnected.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Anirudha Sarangi   <anirudh@xilinx.com>
This commit is contained in:
Kedareswara rao Appana 2015-07-29 12:18:54 +05:30 committed by Nava kishore Manne
parent 436240a4f7
commit 416cbc369b
2 changed files with 6 additions and 0 deletions

View file

@ -224,6 +224,10 @@ proc xdefine_axi_target_params {periphs file_handle} {
# FIFO Interrupts Handling
set int_pin [get_pins -of_objects [get_cells -hier $tartget_per_name] INTERRUPT]
set intc_periph_type [::hsi::utils::get_connected_intr_cntrl $tartget_per_name $int_pin]
if { $intc_periph_type == ""} {
puts "Info: FIFO interrupt not connected to intc\n"
return
}
set intc_name [get_property IP_NAME $intc_periph_type]
if { $intc_name != [format "ps7_scugic"] } {
set int_id [::hsi::utils::get_port_intr_id [get_cells -hier $tartget_per_name] $int_pin]

View file

@ -461,6 +461,8 @@
* Axi stream fifo (CR 835605). Changes are made in the
* driver tcl file.
* 5.0 adk 13/06/15 - Updated the driver tcl for Hier IP(To support User parameters).
* 5.0 adk 28/07/15 - Fixed CR:870631 AXI Ethernet with FIFO will fail to
* Create the BSP if the interrupt pin on the FIFO is unconnected
* </pre>
*
******************************************************************************/