ad9434_fmc: Update interrupts
parent
db004641d3
commit
5e08e18022
|
@ -18,6 +18,9 @@ set spi_mosi_i [create_bd_port -dir I spi_mosi_i]
|
|||
set spi_mosi_o [create_bd_port -dir O spi_mosi_o]
|
||||
set spi_miso_i [create_bd_port -dir I spi_miso_i]
|
||||
|
||||
# interrupts
|
||||
set ad9434_dma_intr [create_bd_port -dir O ad9434_dma_intr]
|
||||
|
||||
# ad9434
|
||||
|
||||
set axi_ad9434 [create_bd_cell -type ip -vlnv analog.com:user:axi_ad9434:1.0 axi_ad9434]
|
||||
|
@ -86,7 +89,7 @@ connect_bd_net -net axi_ad9434_denable [get_bd_pins axi_ad9434/adc_valid] [g
|
|||
connect_bd_net -net axi_ad9434_data [get_bd_pins axi_ad9434/adc_data] [get_bd_pins axi_ad9434_dma/fifo_wr_din]
|
||||
connect_bd_net -net axi_ad9434_ovf [get_bd_pins axi_ad9434/adc_dovf] [get_bd_pins axi_ad9434_dma/fifo_wr_overflow]
|
||||
|
||||
connect_bd_net -net axi_ad9434_dma_irq [get_bd_pins axi_ad9434_dma/irq] [get_bd_pins sys_concat_intc/In13]
|
||||
connect_bd_net -net axi_ad9434_dma_irq [get_bd_pins axi_ad9434_dma/irq] [get_bd_ports ad9434_dma_intr]
|
||||
|
||||
# cpu interconnect
|
||||
|
||||
|
|
|
@ -148,6 +148,8 @@ module system_top (
|
|||
wire spi_csn_adc;
|
||||
wire spi_csn_clk;
|
||||
|
||||
wire [15:0] ps_intrs;
|
||||
|
||||
// instantiations
|
||||
|
||||
genvar n;
|
||||
|
@ -201,6 +203,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]),
|
||||
.ad9434_dma_intr (ps_intrs[13]),
|
||||
.spdif (spdif),
|
||||
.adc_clk_p(adc_clk_p),
|
||||
.adc_clk_n(adc_clk_n),
|
||||
|
|
Loading…
Reference in New Issue