Stratix 10 MCDMA host: Queue reset failed
Hello,
I have been trying to get an MCDMA example design working on a Stratix 10 MX device (1SM21BEU2F55E2VG). You can consider me a beginner with the Intel FPGAs. The project details are as follows.
Device side
-----------------
Project:
Platform designer project with H-tile PCIe MCDMA with AVMM interface.
PCIe configuration - Gen3x16 512-bit interface, 250 MHz
No of PFs - 1
Everything else is set to default, as this is a slightly modified version of the basic example design generated by Quartus.
refclk - connected to differential PCIe clock PCIE_REFCLK_P and PCIE_REFCLK_N
pin_perst - connected to PCIe PERST#
npor - tied to 1 in the top level wrapper Verilog module
xcvr - PCIe interface
The top-level wrapper only instantiates this, sets npor to 1, and passes every other signals.
The hip_ctrl and hip_pipe are left unconnected in the wrapper.
The design compiles properly, and the sof file can be programmed without error.
-----------------------
Host side
-----------------------
On the host side, I followed the steps mentioned in the MCDMA example user guide.
https://www.intel.com/content/www/us/en/docs/programmable/683517/23-4/introduction.html
The device is listed the lspci output and shows up the BAR regions.
However, when I try to run any of the test programs in the software/user/cli, nothing runs successfully (this driver and user utilities/examples are also generated as part of the example MCDMA project). Most of the time the error is "Queue reset failed" or the programs hang without any output. Reading device memory via the supplied devmem utility always returns 0xFFFFFFFF. My guess is something wrong with the reset logic/process, however I am unable to fix it so far and it feels like I am missing something obvious. Any lead in this regard would be helpful. Let me know if you need more information in this context.
Thanks and regards,
Arnab