Skip to content

Commit

Permalink
[IntentCode] Add isVersalCnode() helper method
Browse files Browse the repository at this point in the history
Signed-off-by: Eddie Hung <[email protected]>
  • Loading branch information
eddieh-xlnx committed Nov 20, 2024
1 parent c43c9fe commit 435152a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/com/xilinx/rapidwright/device/IntentCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ public boolean isVersalClocking() {
NODE_GLOBAL_GCLK == this || NODE_GLOBAL_LEAF == this || NODE_GLOBAL_BUFG == this;
}

public boolean isVersalCnode() {
return NODE_CLE_CNODE == this || NODE_INTF_CNODE == this;
}

private static final int SERIES7_START_IDX = 23;
private static final int SERIES7_END_IDX = SERIES7_START_IDX + 33 - 1;

Expand Down

0 comments on commit 435152a

Please sign in to comment.