Skip to content

nextpnr fails when a ECLKSYNC component is placed in a PLL feedback path #1511

@dwalton65

Description

@dwalton65

I am attempting to convert a LiteX project to trellis. The project builds successfully with Lattice Diamond.
nextpnr gives an error when a ECLKSYNC component in placed in a EHXPLLL feedback path.

The attached project in 'pll_feedback_test.zip' is a reduced version of my project. When build is run, it produces the following error:
Warning: Failed to find a route for arc 0 of net ip_gddr71rx_inst.eclkfb. ERROR: Routing design failed.

If I connect CLKFB in Inst1_EHXPLLL to clkop instead of eclkfb, then the project builds without errors, but does not work. If I use Lattice Diamond to build the project after making this change, I get the following error:
ERROR - The ECLK of IDDR71 component should be connected to ECLKSYNC component that should be driven by CLKOS of a PLL. The PLL feedback should be from CLKOP and must have an ECLKSYNC component in the feedback path.

I am using a 2025-05-19 precompiled Yosys/nextpnr install

pll_feedback_test.zip

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions