Skip to content

Commit

Permalink
nexus: More DPHY clock ports that require general routing hop
Browse files Browse the repository at this point in the history
Signed-off-by: gatecat <[email protected]>
  • Loading branch information
gatecat committed Aug 23, 2023
1 parent a01e2c9 commit 9771805
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions nexus/constids.inc
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,9 @@ X(U2END2)
X(U3END3)
X(UED0THEN)
X(URXCKINE)
X(UCENCK)
X(U3TDE5CK)
X(UTXCKE)

X(GENERAL)

Expand Down
4 changes: 2 additions & 2 deletions nexus/global.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) ||
Expand Down

0 comments on commit 9771805

Please sign in to comment.