Skip to content

Commit

Permalink
Test for #756
Browse files Browse the repository at this point in the history
Signed-off-by: Eddie Hung <eddie.hung@amd.com>
  • Loading branch information
eddieh-xlnx committed Jul 17, 2023
1 parent be36661 commit 7a6ac41
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public class TestGlobalSignalRouting {
@ParameterizedTest
@CsvSource({
"CLKBWRCLK",
"RSTRAMB"
"RSTRAMB",
"WEBWE[7]"
})
public void testRAMB36(String logicalPinName) {
Design design = new Design("design", Device.AWS_F1);
Expand All @@ -47,6 +48,9 @@ public void testRAMB36(String logicalPinName) {
if (logicalPinName.equals("CLKBWRCLK") || logicalPinName.equals("RSTRAMB")) {
target.addPinMapping(logicalPinName + "L", logicalPinName);
target.addPinMapping(logicalPinName + "U", logicalPinName);
} else if (logicalPinName.equals("WEBWE[7]")) {
target.addPinMapping("WEAL3", logicalPinName);
target.addPinMapping("WEAU3", logicalPinName);
}
globalNet.connect(target, logicalPinName);

Expand Down

0 comments on commit 7a6ac41

Please sign in to comment.