ecp5: Fix case of one net driving multiple DCSs

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2026-04-09 10:34:22 +02:00
parent f688fc080c
commit ae7843fbf0
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ class Ecp5GlobalRouter
dcc->ports[id_CLKO].net = glbptr;
std::vector<PortRef> 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) {