Skip to content

Commit

Permalink
[TestBEL] Add testDIFFsAreNotFF() (#1062)
Browse files Browse the repository at this point in the history
* [TestBEL] Add testDIFFRXTXisNotFF()

Signed-off-by: Eddie Hung <[email protected]>

* Rename to testDIFFsAreNotFF() and add US+

Signed-off-by: Eddie Hung <[email protected]>

---------

Signed-off-by: Eddie Hung <[email protected]>
Co-authored-by: Chris Lavin <[email protected]>
  • Loading branch information
eddieh-xlnx and clavin-xlnx authored Sep 20, 2024
1 parent 21f2ace commit aebd060
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/src/com/xilinx/rapidwright/device/TestBEL.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,18 @@ public void testIsSliceFFClkMod() {
Assertions.assertTrue(b.isSliceFFClkMod());
Assertions.assertFalse(b.isFF());
}

@ParameterizedTest
@CsvSource({
"xcvc1902,IOB_X0Y0,DIFFRXTX",
"xcvu3p,HPIOBDIFFINBUF_X0Y0,DIFFINBUF",
"xcvu3p,HPIOBDIFFOUTBUF_X0Y0,DIFFOUTBUF"
})
public void testDIFFsAreNotFF(String partName, String siteName, String belName) {
Device d = Device.getDevice(partName);
Site s = d.getSite(siteName);
BEL b = s.getBEL(belName);
Assertions.assertNotNull(b);
Assertions.assertFalse(b.isFF());
}
}

0 comments on commit aebd060

Please sign in to comment.