Forum Discussion
Altera_Forum
Honored Contributor
12 years agosystem.h missing /dev/dma_0, but DMA device is in the top.socpinfo file
I have a working FPGA design with PCIe + DMA + JTAG_UART + NIOS II + Internal Memory. I have been asked to move to a HAL design for the the C code running on NIOS II. I have got to the po...
Altera_Forum
Honored Contributor
12 years agosystem.h now has this DMA infi,
/* * dma_0 configuration * */ # define ALT_MODULE_CLASS_dma_0 altera_avalon_dma # define DMA_0_ALLOW_BYTE_TRANSACTIONS 1 # define DMA_0_ALLOW_DOUBLEWORD_TRANSACTIONS 1 # define DMA_0_ALLOW_HW_TRANSACTIONS 1 # define DMA_0_ALLOW_QUADWORD_TRANSACTIONS 1 # define DMA_0_ALLOW_WORD_TRANSACTIONS 1 # define DMA_0_BASE 0x1000 # define DMA_0_IRQ -1 # define DMA_0_IRQ_INTERRUPT_CONTROLLER_ID -1 # define DMA_0_LENGTHWIDTH 13 # define DMA_0_MAX_BURST_SIZE 128 # define DMA_0_NAME "/dev/dma_0" # define DMA_0_SPAN 64 # define DMA_0_TYPE "altera_avalon_dma"