From 5fbb929d5b75edb281d2f4ada110644cb8cc3603 Mon Sep 17 00:00:00 2001 From: Adrian Costina Date: Tue, 17 Mar 2015 17:39:28 +0200 Subject: [PATCH] ad9671_fmc: Updated project with interrupts in IPI to work correctly in Linux --- projects/ad9671_fmc/common/ad9671_fmc_bd.tcl | 10 +++++----- projects/ad9671_fmc/zc706/system_top.v | 2 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/projects/ad9671_fmc/common/ad9671_fmc_bd.tcl b/projects/ad9671_fmc/common/ad9671_fmc_bd.tcl index d542e1db9..26574b649 100755 --- a/projects/ad9671_fmc/common/ad9671_fmc_bd.tcl +++ b/projects/ad9671_fmc/common/ad9671_fmc_bd.tcl @@ -28,10 +28,6 @@ set dma_wr [create_bd_port -dir I dma_wr] set dma_sync [create_bd_port -dir I dma_sync] set dma_data [create_bd_port -dir I -from 127 -to 0 dma_data] -# interrupts - -set ad9671_dma_irq [create_bd_port -dir O ad9671_dma_irq] - # adc peripherals set axi_ad9671_core [create_bd_cell -type ip -vlnv analog.com:user:axi_ad9671:1.0 axi_ad9671_core] @@ -138,7 +134,11 @@ connect_bd_net -net axi_ad9671_core_adc_dwr [get_bd_ports dma_wr] connect_bd_net -net axi_ad9671_core_adc_dsync [get_bd_ports dma_sync] [get_bd_pins axi_ad9671_dma/fifo_wr_sync] connect_bd_net -net axi_ad9671_core_adc_ddata [get_bd_ports dma_data] [get_bd_pins axi_ad9671_dma/fifo_wr_din] connect_bd_net -net axi_ad9671_core_adc_dovf [get_bd_pins axi_ad9671_core/adc_dovf] [get_bd_pins axi_ad9671_dma/fifo_wr_overflow] -connect_bd_net -net axi_ad9671_dma_irq [get_bd_pins axi_ad9671_dma/irq] [get_bd_ports ad9671_dma_irq] + +# interrupt + +delete_bd_objs [get_bd_nets ps_intr_13_s] [get_bd_ports ps_intr_13] +connect_bd_net -net axi_ad9671_dma_irq [get_bd_pins axi_ad9671_dma/irq] [get_bd_pins sys_concat_intc/In13] # interconnect (cpu) diff --git a/projects/ad9671_fmc/zc706/system_top.v b/projects/ad9671_fmc/zc706/system_top.v index 02983d9dd..cddb3996e 100644 --- a/projects/ad9671_fmc/zc706/system_top.v +++ b/projects/ad9671_fmc/zc706/system_top.v @@ -315,8 +315,6 @@ module system_top ( .ps_intr_10 (ps_intrs[10]), .ps_intr_11 (ps_intrs[11]), .ps_intr_12 (ps_intrs[12]), - .ps_intr_13 (ps_intrs[13]), - .ad9671_dma_irq (ps_intrs[13]), .rx_data_n (rx_data_n), .rx_data_p (rx_data_p), .rx_ref_clk (rx_ref_clk),