Skip to content

Commit

Permalink
examples/kcu105.yml: Demonstrate dict definition of DMA Channels.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Feb 22, 2024
1 parent c1e1ce9 commit 811f27d
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions examples/kcu105.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,24 @@
"mmap_slave" : True,

# DMA channels -------------------------------------------------------------
"dma_channels" : 4, # Number of DMA channels
"dma_writer" : True, # Enable DMA Writer.
"dma_reader" : True, # Disable DMA Reader.
"dma_buffering" : 8192, # Buffering for each channel (in bytes)
"dma_loopback" : False, # Disable DMA loopback capability
"dma_synchronizer" : False, # Disable DMA synchronizer capability
"dma_monitor" : True, # Enable DMA monitoring capability
"dma_channels": {
"dma0": {
"dma_writer" : True, # Enable DMA Writer.
"dma_reader" : True, # Disable DMA Reader.
"dma_buffering" : 8192, # Buffering for each channel (in bytes)
"dma_loopback" : False, # Disable DMA loopback capability
"dma_synchronizer" : False, # Disable DMA synchronizer capability
"dma_monitor" : True, # Enable DMA monitoring capability
},
"dma1": {
"dma_writer" : True, # Enable DMA Writer.
"dma_reader" : True, # Disable DMA Reader.
"dma_buffering" : 8192, # Buffering for each channel (in bytes)
"dma_loopback" : False, # Disable DMA loopback capability
"dma_synchronizer" : False, # Disable DMA synchronizer capability
"dma_monitor" : True, # Enable DMA monitoring capability
},
},

# MSI IRQs -----------------------------------------------------------------
"msi_irqs" : 16, # Number or MSI IRQs
Expand Down

0 comments on commit 811f27d

Please sign in to comment.