Skip to content

Commit

Permalink
Fix FIXME: restore DesignTools.createPossiblePinsToStaticNets();
Browse files Browse the repository at this point in the history
  • Loading branch information
eddieh-xlnx committed Nov 24, 2022
1 parent e2cc447 commit 4dfecb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/com/xilinx/rapidwright/rwroute/PartialRouter.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ public PartialRouter(Design design, RWRouteConfig config, Collection<SitePinInst
protected void preprocess() {
// Pre-processing of the design regarding physical net names pins
DesignTools.makePhysNetNamesConsistent(design);
// FIXME: Enable for PartialRouter
// DesignTools.createPossiblePinsToStaticNets(design);
DesignTools.createPossiblePinsToStaticNets(design);
DesignTools.createMissingSitePinInsts(design);
}

Expand Down
7 changes: 3 additions & 4 deletions test/src/com/xilinx/rapidwright/rwroute/TestRWRoute.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private static void assertAllSinksRouted(List<SitePinInst> pins) {

private static void assertAllSinksRouted(Design design) {
for (Net net : design.getNets()) {
if (net.getSource() == null) {
if (net.getSource() == null && !net.isStaticNet()) {
// Source-less nets may exist in out-of-context design
continue;
}
Expand Down Expand Up @@ -128,12 +128,11 @@ public void testNonTimingDrivenPartialRouting() {
String dcpPath = RapidWrightDCP.getString("picoblaze_partial.dcp");
Design design = Design.readCheckpoint(dcpPath);
DesignTools.createMissingSitePinInsts(design);
// FIXME:
// DesignTools.createPossiblePinsToStaticNets(design);
DesignTools.createPossiblePinsToStaticNets(design);

List<SitePinInst> pinsToRoute = new ArrayList<>();
for (Net net : design.getNets()) {
if (net.getSource() == null) {
if (net.getSource() == null && !net.isStaticNet()) {
// Source-less nets may exist since this is an out-of-context design
continue;
}
Expand Down

0 comments on commit 4dfecb0

Please sign in to comment.