Forum Discussion
Altera_Forum
Honored Contributor
11 years agoDear BadOmen
I am using altera’s cyclone V with the linux kernel 3.8 I am working on a project in which I to make a peripheral in which I write to a FIFO, the FIFO is read and some logic is performed to the data, and the results are stored in another FIFO. The goal is to transfer data between the HPS and the peripheral as fast as possible. To achieve this I want to use DMA transfers between the HPS and the peripheral using the hard DMA-330 IP in the HPS. I am new to linux device drivers and I need help writing the device driver for this peripheral. I saw your flow_control_fifo.v peripheral code and the fpga-dma.c driver code. Could you please guide me to have this working with my requirements? I understand the verilog code but I need help with driver. Sincerely Ankit