From 977180524a5130f432cba0f37f9b38d24563d3ff Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 23 Aug 2023 11:00:49 +0200 Subject: [PATCH] nexus: More DPHY clock ports that require general routing hop Signed-off-by: gatecat --- nexus/constids.inc | 3 +++ nexus/global.cc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nexus/constids.inc b/nexus/constids.inc index 596d064c..19f34523 100644 --- a/nexus/constids.inc +++ b/nexus/constids.inc @@ -510,6 +510,9 @@ X(U2END2) X(U3END3) X(UED0THEN) X(URXCKINE) +X(UCENCK) +X(U3TDE5CK) +X(UTXCKE) X(GENERAL) diff --git a/nexus/global.cc b/nexus/global.cc index 0792715d..ec6f66a2 100644 --- a/nexus/global.cc +++ b/nexus/global.cc @@ -166,8 +166,8 @@ struct NexusGlobalRouter bool is_relaxed_sink(const PortRef &sink) const { - // This DPHY clock port can't be routed without going through some general routing - if (sink.cell->type == id_DPHY_CORE && sink.port == id_URXCKINE) + // These DPHY clock ports can't be routed without going through some general routing + if (sink.cell->type == id_DPHY_CORE && sink.port.in(id_URXCKINE, id_UCENCK, id_UTXCKE, id_U3TDE5CK)) return true; // Cases where global clocks are driving fabric if ((sink.cell->type == id_OXIDE_COMB && sink.port != id_WCK) ||