Skip to content

Commit 0213db4

Browse files
committed
Refactor
Signed-off-by: Chris Lavin <[email protected]>
1 parent a4c2aba commit 0213db4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/com/xilinx/rapidwright/design/xdc/ConstraintTools.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*/
3838
public class ConstraintTools {
3939

40-
public static Map<String, PBlock> getPBlocksFromXDCConstraints(Design d) {
40+
public static Map<String, PBlock> getPBlocksFromXDC(Design d) {
4141
Map<String, PBlock> pblockMap = new HashMap<>();
4242

4343
for (ConstraintGroup cg : ConstraintGroup.values()) {

test/src/com/xilinx/rapidwright/design/xdc/TestConstraintTools.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void testGetPBlockFromXDCConstraints(TestXDCParser.RoundtripMode roundtri
4747
d.getXDCConstraints(ConstraintGroup.LATE).add("set_property " + PblockProperty.EXCLUDE_PLACEMENT + " 1 [get_pblocks pblock_u_ila_0]");
4848
roundtripMode.doRoundtrip(d);
4949

50-
Map<String, PBlock> pblockMap = ConstraintTools.getPBlocksFromXDCConstraints(d);
50+
Map<String, PBlock> pblockMap = ConstraintTools.getPBlocksFromXDC(d);
5151
Assertions.assertEquals(3, pblockMap.size());
5252
Assertions.assertTrue(pblockMap.containsKey("pblock_dbg_hub"));
5353
Assertions.assertTrue(pblockMap.containsKey("pblock_base_mb_i"));

0 commit comments

Comments
 (0)