Skip to content

Commit 0c868d4

Browse files
committed
Add an assert
Signed-off-by: Chris Lavin <[email protected]>
1 parent c84bffe commit 0c868d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/com/xilinx/rapidwright/router/VersalClockRouting.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ public static Map<ClockRegion, Node> routeVrouteToVerticalDistributionLines(Net
288288
}
289289

290290
VersalClockTree clkTree = getVersalClockTree(device, minY, maxY);
291+
assert (clkTree != null);
291292
if (clkTree == null) {
292293
System.err.println("ERROR: No clock tree found for " + device + " Y" + minY + "-Y" + maxY
293294
+ " while routing clock " + clk + ", skew will be suboptimal.");

0 commit comments

Comments
 (0)