Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node.getAllWiresInNode() returns empty list when Vivado doesn't #1002

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion test/src/com/xilinx/rapidwright/device/TestNode.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022-2023, Advanced Micro Devices, Inc.
* Copyright (c) 2022-2024, Advanced Micro Devices, Inc.
* All rights reserved.
*
* Author: Eddie Hung, Advanced Micro Devices, Inc.
Expand Down Expand Up @@ -152,5 +152,12 @@ public void testNodeReachabilityUltraScale(String partName, String tileName, Str
}
System.out.println("visited.size() = " + visited.size());
}

@Test
public void testGetAllWiresInNode() {
Device device = Device.getDevice("xcau10p");
Node node = device.getNode("INT_IBRK_FSR2IO_X0Y140/IO_TO_CTR_FT0_3");
Assertions.assertEquals(22, node.getAllWiresInNode().length);
}
}

Loading