From 82561b48cc908a5440b7444aa45b94c9208bebec Mon Sep 17 00:00:00 2001 From: Istvan Csomortani Date: Thu, 27 Nov 2014 14:02:18 +0200 Subject: [PATCH] ad9671_zc706: Update interrupts --- projects/ad9671_fmc/common/ad9671_fmc_bd.tcl | 5 ++++- projects/ad9671_fmc/zc706/system_top.v | 16 ++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/projects/ad9671_fmc/common/ad9671_fmc_bd.tcl b/projects/ad9671_fmc/common/ad9671_fmc_bd.tcl index 7381ae131..d542e1db9 100755 --- a/projects/ad9671_fmc/common/ad9671_fmc_bd.tcl +++ b/projects/ad9671_fmc/common/ad9671_fmc_bd.tcl @@ -28,6 +28,9 @@ 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 @@ -135,7 +138,7 @@ 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_pins sys_concat_intc/In13] +connect_bd_net -net axi_ad9671_dma_irq [get_bd_pins axi_ad9671_dma/irq] [get_bd_ports ad9671_dma_irq] # interconnect (cpu) diff --git a/projects/ad9671_fmc/zc706/system_top.v b/projects/ad9671_fmc/zc706/system_top.v index 1ec0e5a38..02983d9dd 100644 --- a/projects/ad9671_fmc/zc706/system_top.v +++ b/projects/ad9671_fmc/zc706/system_top.v @@ -195,6 +195,7 @@ module system_top ( wire [ 7:0] adc_enable; wire [ 7:0] adc_valid; wire [127:0] adc_data; + wire [15:0] ps_intrs; assign ad9671_sof = |gt_rx_data_sof; @@ -301,6 +302,21 @@ module system_top ( .hdmi_vsync (hdmi_vsync), .iic_main_scl_io (iic_scl), .iic_main_sda_io (iic_sda), + .ps_intr_0 (ps_intrs[0]), + .ps_intr_1 (ps_intrs[1]), + .ps_intr_2 (ps_intrs[2]), + .ps_intr_3 (ps_intrs[3]), + .ps_intr_4 (ps_intrs[4]), + .ps_intr_5 (ps_intrs[5]), + .ps_intr_6 (ps_intrs[6]), + .ps_intr_7 (ps_intrs[7]), + .ps_intr_8 (ps_intrs[8]), + .ps_intr_9 (ps_intrs[9]), + .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),