Forum Discussion
Agilex7 M PCIe MCDMA: debug toolkit attachment
Hi,
I'd need advice on how to connect Quartus PCIe Debug Toolkit to MCDMA IP in Agilex7 M. Since I'm failing to find or generate a complete example design, I'm not sure if I have to manually instantiate a JTAG Avalon master as a debug interface, or can I assume Quartus to generate the debug connection under the hood. I have read "Multi Channel DMA IP for PCI Express* Design Example User Guide" and "Multi Channel DMA IP for PCI Express* User Guide".
Creating an example design of MCDMA IP configured with Debug Toolkit enabled fails on my Windows 11 machine with Quartus 25.3. Originally there was an access right problem occurring when the generation script tried to delete some temporary files in Temp under Appdata. I tried it also on workmate's PC, with the same result. After changing some user access control setting the script started failing at a later stage of processing, where it tries to read some test bench files even though I had TB files generation unchecked in parameter editor. However after the failed generation, a sample design exists. It defines all Debug Toolkit related MCDMA ports as virtual pins in .QSF. I thought this might be intentional, Quartus possibly detecting them and magically creating the missing attachment. I have this method under test, Quartus flow not yet complete.
Manually using a JTAG-Avalon master component to build the debug link did pass Quartus flow, but timing between xcvr_reconfig_clk and slow_clock of PCIe MCDMA component fails as the clock relation between these two 100 MHz clocks is ~ 90 ns for some reason. I took xcvr_reconfig_clk from an internal IOPLL as the design is not an EVKIT one with suitable input clocks.
Thank in advance if anyone can provide some insight.. should the example design contain more than virtual pins defined on xcvr_reconfig*, dummy_user_avmm_rst, p0_dtk_hip_reconfig_clk ? (Documented port p0_hip_reconfig does not seem to appear in my MCDMA instance.)
BR
Ju-Ti
1 Reply
- RongY_altera
Contributor
Hi Ju-Ti,
You need to get Quartus work first. Otherwise, the generated example might be incomplete.
The M-series dev kit has 2x MCIO from R-Tile, and 1x FMC from F-Tile. The Q25.3.1 Pro I'm using can generate MCDMA example design for the R-Tile on the Agilex7 I-series dev kit. For a simple test, you can choose "PIO using MCDMA Bypass" design. After a successful compilation, you can start to migrate the design to the M-series dev kit.
If you want a jtag master to control the p0_hip_reconfig, you can connect them in the qsys, and comment/remove virtual pins in the qsf. The MCDMA supports several user modes. Some signals may not be enabled in the selected mode.
Regards,
Rong