Skip to content

Commit 7ba303f

Browse files
authored
Fix DcpToFPGAIF to add alternate SitePinInst to net (#21)
Signed-off-by: Eddie Hung <[email protected]>
1 parent 9ad9bb0 commit 7ba303f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/com/xilinx/fpga24_routing_contest/DcpToFPGAIF.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public static void main(String[] args) throws IOException {
4545
if (altSource == null) {
4646
altSource = DesignTools.getLegalAlternativeOutputPin(net);
4747
if (altSource != null) {
48+
net.addPin(altSource);
4849
// Commit this pin to the SiteInst
4950
altSource.getSiteInst().addPin(altSource);
5051
DesignTools.routeAlternativeOutputSitePin(net, altSource);

0 commit comments

Comments
 (0)