From ae7843fbf06114112a586704825822119ecb76d4 Mon Sep 17 00:00:00 2001 From: gatecat Date: Thu, 9 Apr 2026 10:34:22 +0200 Subject: [PATCH] ecp5: Fix case of one net driving multiple DCSs Signed-off-by: gatecat --- ecp5/globals.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecp5/globals.cc b/ecp5/globals.cc index d3990eef..4a439eaf 100644 --- a/ecp5/globals.cc +++ b/ecp5/globals.cc @@ -468,7 +468,7 @@ class Ecp5GlobalRouter dcc->ports[id_CLKO].net = glbptr; std::vector keep_users; for (auto user : net->users) { - if (dcs_cell != nullptr && user.cell != dcs_cell) { + if (dcs_cell != nullptr && user.cell->type != id_DCSC) { // DCS DCC insertion mode keep_users.push_back(user); } else if (user.port == id_CLKFB) {