robertofem / CycloneVSoC-examples

Examples using the Cyclone V SoC chip
GNU General Public License v3.0
104 stars 40 forks source link

Two questions on your DMA FPGA hardware #12

Open AnotherGitAccount opened 3 years ago

AnotherGitAccount commented 3 years ago

Hello, I have two questions on your DMA FPGA hardware design.

  1. Why did you chose 100MHz for the PLL output? It that the maximum for any of the used IPs?
  2. How do you write to the ACP ID Mapper? Do you simply send data in its address space (which seems to start at 0x8000 0000 and end at 0xbfff ffff).

Edit (a third question):

Is the DMA mandatory to read and write to the ACP from the FPGA side (I dont need the HPS to see what's inside the OCR)?

Thanks!

robertofem commented 3 years ago

Hello:

  1. I put 100MHz just for the example. 100MHz is a frequency that is fast and works for most implementations, that´s why. But you can force higher frequencies. The high you can go will depend on what else you put in the FPGA. Using the Quartus time analysis tools TimeQuest Analyzer you can check if you have paths with delays outside the safety. In these experiments from my thesis I reached 200MHz. I do not think you can go above that, even with an empty FPGA.
  2. I do not remember quite well now what the ACP ID Mapper is but. I have two linux applications that use the hardware project you looking at:

Hope you find the answer useful and thanks for whatching my code.

Regards!

AnotherGitAccount commented 3 years ago

Thanks for your answer! I'll dig into your driver example then :)