ad9739a_fmc: Updated project with interrupts in IPI to work correctly in Linux

main
Adrian Costina 2015-03-17 17:40:52 +02:00
parent 5fbb929d5b
commit cdd8965035
2 changed files with 5 additions and 7 deletions

View File

@ -19,10 +19,6 @@
set spi_sdo_o [create_bd_port -dir O spi_sdo_o] set spi_sdo_o [create_bd_port -dir O spi_sdo_o]
set spi_sdi_i [create_bd_port -dir I spi_sdi_i] set spi_sdi_i [create_bd_port -dir I spi_sdi_i]
# interrupts
set ad9739a_dma_irq [create_bd_port -dir O ad9739a_dma_irq]
# dac peripherals # dac peripherals
set axi_ad9739a [create_bd_cell -type ip -vlnv analog.com:user:axi_ad9739a:1.0 axi_ad9739a] set axi_ad9739a [create_bd_cell -type ip -vlnv analog.com:user:axi_ad9739a:1.0 axi_ad9739a]
@ -60,7 +56,11 @@
connect_bd_net -net axi_ad9739a_dac_valid [get_bd_pins axi_ad9739a/dac_valid] [get_bd_pins axi_ad9739a_dma/fifo_rd_en] connect_bd_net -net axi_ad9739a_dac_valid [get_bd_pins axi_ad9739a/dac_valid] [get_bd_pins axi_ad9739a_dma/fifo_rd_en]
connect_bd_net -net axi_ad9739a_dac_ddata [get_bd_pins axi_ad9739a/dac_ddata] [get_bd_pins axi_ad9739a_dma/fifo_rd_dout] connect_bd_net -net axi_ad9739a_dac_ddata [get_bd_pins axi_ad9739a/dac_ddata] [get_bd_pins axi_ad9739a_dma/fifo_rd_dout]
connect_bd_net -net axi_ad9739a_dac_dunf [get_bd_pins axi_ad9739a/dac_dunf] [get_bd_pins axi_ad9739a_dma/fifo_rd_underflow] connect_bd_net -net axi_ad9739a_dac_dunf [get_bd_pins axi_ad9739a/dac_dunf] [get_bd_pins axi_ad9739a_dma/fifo_rd_underflow]
connect_bd_net -net axi_ad9739a_dma_irq [get_bd_pins axi_ad9739a_dma/irq] [get_bd_ports ad9739a_dma_irq]
#interrupt
delete_bd_objs [get_bd_nets ps_intr_12_s] [get_bd_ports ps_intr_12]
connect_bd_net -net axi_ad9739a_dma_irq [get_bd_pins axi_ad9739a_dma/irq] [get_bd_pins sys_concat_intc/In12]
# interconnect (cpu) # interconnect (cpu)

View File

@ -183,7 +183,6 @@ module system_top (
.GPIO_I (gpio_i), .GPIO_I (gpio_i),
.GPIO_O (gpio_o), .GPIO_O (gpio_o),
.GPIO_T (gpio_t), .GPIO_T (gpio_t),
.ad9739a_dma_irq (ps_intrs[12]),
.dac_clk_in_n (dac_clk_in_n), .dac_clk_in_n (dac_clk_in_n),
.dac_clk_in_p (dac_clk_in_p), .dac_clk_in_p (dac_clk_in_p),
.dac_clk_out_n (dac_clk_out_n), .dac_clk_out_n (dac_clk_out_n),
@ -203,7 +202,6 @@ module system_top (
.ps_intr_1 (ps_intrs[1]), .ps_intr_1 (ps_intrs[1]),
.ps_intr_10 (ps_intrs[10]), .ps_intr_10 (ps_intrs[10]),
.ps_intr_11 (ps_intrs[11]), .ps_intr_11 (ps_intrs[11]),
.ps_intr_12 (ps_intrs[12]),
.ps_intr_13 (ps_intrs[13]), .ps_intr_13 (ps_intrs[13]),
.ps_intr_2 (ps_intrs[2]), .ps_intr_2 (ps_intrs[2]),
.ps_intr_3 (ps_intrs[3]), .ps_intr_3 (ps_intrs[3]),