From fc68bed8fa35c41b895fb35d071110bebc521308 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Tue, 17 Oct 2023 14:48:39 -0700 Subject: [PATCH] Fix DcpToFPGAIF to add alternate SitePinInst to net Signed-off-by: Eddie Hung --- src/com/xilinx/fpga24_routing_contest/DcpToFPGAIF.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/xilinx/fpga24_routing_contest/DcpToFPGAIF.java b/src/com/xilinx/fpga24_routing_contest/DcpToFPGAIF.java index a120c3a..e90be54 100644 --- a/src/com/xilinx/fpga24_routing_contest/DcpToFPGAIF.java +++ b/src/com/xilinx/fpga24_routing_contest/DcpToFPGAIF.java @@ -45,6 +45,7 @@ public static void main(String[] args) throws IOException { if (altSource == null) { altSource = DesignTools.getLegalAlternativeOutputPin(net); if (altSource != null) { + net.addPin(altSource); // Commit this pin to the SiteInst altSource.getSiteInst().addPin(altSource); DesignTools.routeAlternativeOutputSitePin(net, altSource);