Forum Discussion
DK-DEV-AGI027RBES CXL Type-3 example remains in reset and is not detected by host
Hi,
I have several Agilex 7 FPGA I-Series Development Kits with serial numbers 8100035 and 8020138. My goal is to run the boards as CXL Type-3 devices and verify that they can be enumerated by the host.
I am currently debugging board 8020138 with the following setup:
- Board: DK-DEV-AGI027RBES
- FPGA: AGIB027R29A1E2VR3
- Power configuration: Power Solution 2
- Quartus Prime Pro: 24.3
- Connection: PCIe edge connector
- Design: CXL Type 3 with DDR4
- Link width: CXL x16
- Number of slices: 2
- PLD clock: 400 MHz
- Reference clock mode: Common
- Refclk source is global clock: Enabled
The board can successfully enumerate as a normal PCIe endpoint when using the pcie_ed example design included in: agilex_agib027r29a1e1vb_fpga_revc_v24.3b194_v1.1
However, when I generate and compile the RBES CXL Type-3 DDR4 example design, the host cannot detect the device and it does not appear in lspci.
I added JTAG debug registers and Signal Tap probes. The observed status is:
- config_done = 1
- pll_lock = 1
- sip_rst_n = 0
- cxl_warm_rst_n = 0
- cxl_cold_rst_n = 0
- ip2hdm_reset_n = 0
- ip2cafu_avmm_rstn = 0
- ip2csr_avmm_rstn = 0
- pf0_bus_master_en = 0
- pf0_memory_access_en = 0
- pf0_msix_enable = 0
The fabric heartbeat counter(refclk4) is running, so FPGA configuration and the debug fabric clock are working. However, the CXL cold, warm, and SIP resets never deassert, and host enumeration never starts.
Could you please confirm:
- Are these CXL IP settings correct for board 8020138, Power Solution 2, and the PCIe edge connector?
- For CXL x16 with two slices, must both refclk0 and refclk1 be active?
- What conditions control cxl_cold_rst_n, cxl_warm_rst_n, and sip_warm_rstn_o?
- How can I observe the physical PERST# status, R-Tile reset status, PHY initialization status, LTSSM state, and link-up status?
- Should Enable PIPE Mode Simulation be disabled for hardware operation?
- Is 400 MHz the correct PLD clock frequency?
- Is there a known-good CXL Type-3 DDR4 example project or SOF for DK-DEV-AGI027RBES with FPGA AGIB027R29A1E2VR3?
- Are there any required Quartus 24.3 patches for this board and CXL IP?
The normal PCIe example works, but the CXL example remains in reset. This suggests the issue may be related to the CXL IP configuration, reference-clock/reset requirements, or the generated example-design constraints.
I can provide the IP configuration, QSF/SDC files, Signal Tap captures, compilation logs, and host logs if needed.
Thank you.
Best regards,
Jeffrey
6 Replies
- Jeffrey
New Contributor
RongY_altera thanks for your reply, the CXL type3(8020138-RBES-ES2) now works, the solution is using Quartus 23.3 to compile the example design. I think 8100035-R1BES-ES1 board should also require specific version of Quartus to compile, do you which version?
- RongY_altera
Contributor
Thanks for the feedback. For the R1BES, you can also start with Q23.3.
You can generate an example design from Q24.3.1 too. If I remember correctly, the generated design should work. Since we are in the middle of a lab move, I’m not able to confirm this with my test records right now.
Regards,
Rong
- Jeffrey
New Contributor
Hi Rong, I created a pof with CXL example design and refclk4 based led heartbeat. And the Led was blinking with this pof, which means the pof was load successfully from flash. But the CXL IP reset seems not release and always low. Will the Max10 BMC case this issue?
- Jeffrey
New Contributor
Hi Rong,
The CXL pof could be program to the flash and the pof could be loaded successfully, as the config_done = 1 and the Led was blinking(refclk4), which means the pof was load successfully to FPGA logics. The current issues is that the CXL reset is not released. Does this mean the Max10 BMC works normally?
- RongY_altera
Contributor
Hi Jeffrey,
Since you've already tried PCIe ED, I think you have no problem in generating the CXL project. Based on the CXL UG for Q25.1.1, these steps are described in below chapters:
3. Generating the Design Example
5. Compiling the Design Example
6. Running the Design Example in Hardware Setup
Pls notice you'll need to program the flash by following "6.3. Programming Agilex 7 I-Series Development Kit Image". Some details can also be found in this KDB.
Make sure the dev kit switch is set to boot from flash. After the flash is programmed, do a cold reboot of the sever.
Regards,
Rong
- ai_responder
Community Manager
Thank you for your inquiry. To ensure an accurate response, your request has been routed to an Altera application engineer for further review and assistance.
Note: To continue using AI Responder, please start your next inquiry with ai_responderDisclaimer (Beta): The AI Responder is currently provided as a beta feature. AI-generated responses may contain errors or omissions. Please verify technical guidance with official Altera documentation before implementation.
Thank you very much.