Forum Discussion
Hi @Sijith,
Thanks for the update.
From my understanding, if you're following the entire design provided (In Chapter 7.6 PCIe Reference Design - DDR4) with no modification, you can directly install the PCIe Driver and follow the steps to execute the application program, PCIE_DDR4.exe, provided by Terasic. This will allow you to perform 4 GB data DMA for both SODIMM as demonstrated in DE5a_Net_User_Manual.pdf, which you have previously tested.
However, in your case, you have modified the design to suit your own application, which means you no longer wish to perform 4 GB data DMA for both SODIMM, I do not think merely making changes in ../PCIE_DDR4.cpp would be sufficient. In Chapter 7.4, subsection 'Create a Software Application', the necessary procedures to follow in order to create a desired application are outlined. I'm not certain if the TERASIC_PCIE_AVMM.dll consists of the API you need for your desired application. If it does not, you will likely need to modify the driver and create a new application. Please consult with the Terasic software application or driver expert on this matter.
Thanks.
Best Regards,
VenTingT