ad9671_fmc: Updated project with interrupts in IPI to work correctly in Linux
parent
7b3e8d33db
commit
5fbb929d5b
|
@ -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)
|
||||
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue