-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 188e6c3 Author: Chris Lavin <[email protected]> Date: Wed Jul 5 11:15:30 2023 -0600 Unroute site routing when removing a cell (#729) * Fixes an issue with makeBlackBox trying to remove pins from renamed nets Signed-off-by: Chris Lavin <[email protected]> * Adding code to properly unroute site routing of a cell when removed Signed-off-by: Chris Lavin <[email protected]> * Tweak description Signed-off-by: Chris Lavin <[email protected]> * Add test, more fixes Signed-off-by: Chris Lavin <[email protected]> * Fix test failure Signed-off-by: Chris Lavin <[email protected]> * Update src/com/xilinx/rapidwright/design/DesignTools.java Co-authored-by: eddieh-xlnx <[email protected]> Signed-off-by: Chris Lavin <[email protected]> * More fixes Signed-off-by: Chris Lavin <[email protected]> --------- Signed-off-by: Chris Lavin <[email protected]> Co-authored-by: eddieh-xlnx <[email protected]> commit 830c4dc Author: eddieh-xlnx <[email protected]> Date: Wed Jul 5 09:07:17 2023 -0700 PartialRouter's global router to not unpreserve sink nodes (#736) * PartialRouter's global router to not unpreserve sinks nodes Signed-off-by: Eddie Hung <[email protected]> * Only disallow if input pin Signed-off-by: Eddie Hung <[email protected]> * Update comment Signed-off-by: Eddie Hung <[email protected]> * Refactor PartialRouter.getGlobalRoutingNodeStatus() Signed-off-by: Eddie Hung <[email protected]> * Remove extra char Signed-off-by: Eddie Hung <[email protected]> --------- Signed-off-by: Eddie Hung <[email protected]> commit 263cfe1 Author: eddieh-xlnx <[email protected]> Date: Thu Jun 29 14:29:52 2023 -0700 DesignTools.makePhysNetNamesConsistent() to use hier name (#735) * DesignTools.makePhysNetNamesConsisntent() to use hier name Signed-off-by: Eddie Hung <[email protected]> * Another case Signed-off-by: Eddie Hung <[email protected]> * Remove unused Signed-off-by: Eddie Hung <[email protected]> --------- Signed-off-by: Eddie Hung <[email protected]> commit 83807c9 Author: eddieh-xlnx <[email protected]> Date: Thu Jun 29 11:53:59 2023 -0700 DesignTools.makePhysNetNamesConsistent() to consider */<const{0,1}> (#734) Look at the non-hier net name to determine if GLOBAL_LOGIC{0,1} Signed-off-by: Eddie Hung <[email protected]> commit beae92f Author: zakn-amd <[email protected]> Date: Thu Jun 29 10:30:00 2023 -0700 Add DcpToInterchange class (#704) * add module to convert DCP to FPGA Interchange Signed-off-by: Zak Nafziger <[email protected]> * Tidy up, use Paths.get() not Path.of() Signed-off-by: Eddie Hung <[email protected]> * Address review comments (retry) Signed-off-by: Eddie Hung <[email protected]> --------- Signed-off-by: Zak Nafziger <[email protected]> Signed-off-by: Eddie Hung <[email protected]> Co-authored-by: Eddie Hung <[email protected]> commit b645df4 Author: Chris Lavin <[email protected]> Date: Thu Jun 29 10:22:16 2023 -0600 Add compile step (#733) Signed-off-by: Chris Lavin <[email protected]> commit 61e0f87 Author: eddieh-xlnx <[email protected]> Date: Wed Jun 28 13:24:32 2023 -0700 Add EdifToLogicalNetlist to MainEntrypoint (#731) Signed-off-by: Eddie Hung <[email protected]> commit 671515a Author: eddieh-xlnx <[email protected]> Date: Tue Jun 27 13:14:35 2023 -0700 [PhysNetlistReader] Set Cell type for routethru cells (#727) Signed-off-by: Eddie Hung <[email protected]> commit 90e2c04 Author: Chris Lavin <[email protected]> Date: Fri Jun 23 16:40:54 2023 -0600 Fix Javadoc warnings (#723) * Fix JavaDoc warnings Signed-off-by: Chris Lavin <[email protected]> * More javadoc fixes Signed-off-by: Eddie Hung <[email protected]> * More javadoc fixes Signed-off-by: Eddie Hung <[email protected]> --------- Signed-off-by: Chris Lavin <[email protected]> Signed-off-by: Eddie Hung <[email protected]> Co-authored-by: Eddie Hung <[email protected]> commit 92f595b Author: Chris Lavin <[email protected]> Date: Fri Jun 23 16:40:39 2023 -0600 Fixes an issue with makeBlackBox trying to remove pins from renamed nets (#728) Signed-off-by: Chris Lavin <[email protected]> commit 05ebb30 Author: Chris Lavin <[email protected]> Date: Fri Jun 23 15:08:48 2023 -0600 Multilevel macro expansion (#726) * Adds support for expanding the IOBUFDSE3 macro and OBUFTDS_DCIEN_DUAL_BUF Signed-off-by: Chris Lavin <[email protected]> * Add additional check Signed-off-by: Chris Lavin <[email protected]> --------- Signed-off-by: Chris Lavin <[email protected]> commit 7af0bc6 Author: eddieh-xlnx <[email protected]> Date: Thu Jun 22 17:00:31 2023 -0700 TestReplaceEDIFInDCP to copy DCP before replacing in-place (#725) Signed-off-by: Eddie Hung <[email protected]> commit d4a0f1a Author: eddieh-xlnx <[email protected]> Date: Thu Jun 22 16:10:29 2023 -0700 DesignTools.createMissingSitePinInsts() to skip node-less site pins (#724) * Create test for a site pin that is not connected to any Node-s Signed-off-by: Eddie Hung <[email protected]> * DesignTools.createMissingSitePinInsts() to skip node-less site pins Signed-off-by: Eddie Hung <[email protected]> --------- Signed-off-by: Eddie Hung <[email protected]> commit 33df8b1 Author: Chris Lavin <[email protected]> Date: Wed Jun 21 17:27:23 2023 -0600 Bump Python to 2023.1.1 Signed-off-by: Chris Lavin <[email protected]> Signed-off-by: Eddie Hung <[email protected]>
- Loading branch information
1 parent
5c3fde4
commit 77f1a84
Showing
25 changed files
with
581 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
src/com/xilinx/rapidwright/interchange/DcpToInterchange.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* Copyright (c) 2023, Advanced Micro Devices, Inc. | ||
* All rights reserved. | ||
* | ||
* Author: Zak Nafziger, Advanced Micro Devices, Inc. | ||
* | ||
* This file is part of RapidWright. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
|
||
package com.xilinx.rapidwright.interchange; | ||
|
||
import java.io.FileOutputStream; | ||
import java.io.IOException; | ||
import java.nio.file.Path; | ||
import java.nio.file.Paths; | ||
import java.util.List; | ||
|
||
import com.xilinx.rapidwright.design.ConstraintGroup; | ||
import com.xilinx.rapidwright.design.Design; | ||
import com.xilinx.rapidwright.ipi.XDCParser; | ||
import com.xilinx.rapidwright.util.FileTools; | ||
|
||
public class DcpToInterchange { | ||
public static void main(String[] args) throws IOException { | ||
if (args.length != 1) { | ||
System.out.println("USAGE: <input.dcp>"); | ||
return; | ||
} | ||
|
||
Design design = Design.readCheckpoint(args[0]); | ||
String baseName = Paths.get(args[0]).getFileName().toString(); | ||
baseName = FileTools.removeFileExtension(baseName); | ||
String logNetlistName = baseName + ".netlist"; | ||
String physNetlistName = baseName + ".phys"; | ||
String xdcName = baseName + ".xdc"; | ||
|
||
LogNetlistWriter.writeLogNetlist(design.getNetlist(), logNetlistName); | ||
PhysNetlistWriter.writePhysNetlist(design, physNetlistName); | ||
|
||
List<String> constraints = design.getXDCConstraints(ConstraintGroup.NORMAL); | ||
try (FileOutputStream f = new FileOutputStream(xdcName)) { | ||
XDCParser.writeXDC(constraints, f); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.