aboutsummaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-11-13 11:39:51 -0800
committerGitHub <noreply@github.com>2018-11-13 11:39:51 -0800
commit3b2b15dc4a6cdf9cadab96b1db5483d4f7082dff (patch)
tree2772e8865a04c5da351643c90828c908a6f9f260 /gui
parentd0ae4c77be109cae3d6cf3321691c70377c4d6d3 (diff)
parentcaca485cfff7f999a19e86e2f00187550b0c92f4 (diff)
downloadnextpnr-3b2b15dc4a6cdf9cadab96b1db5483d4f7082dff.tar.gz
nextpnr-3b2b15dc4a6cdf9cadab96b1db5483d4f7082dff.tar.bz2
nextpnr-3b2b15dc4a6cdf9cadab96b1db5483d4f7082dff.zip
Merge pull request #107 from YosysHQ/router_improve
Major rewrite of "router1"
Diffstat (limited to 'gui')
-rw-r--r--gui/designwidget.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/designwidget.cc b/gui/designwidget.cc
index 20a81a7d..9895cad1 100644
--- a/gui/designwidget.cc
+++ b/gui/designwidget.cc
@@ -638,6 +638,8 @@ void DesignWidget::onSelectionChanged(int num, const QItemSelection &, const QIt
addProperty(topItem, QVariant::String, "Type", ctx->getWireType(wire).c_str(ctx));
addProperty(topItem, QVariant::Bool, "Available", ctx->checkWireAvail(wire));
addProperty(topItem, QVariant::String, "Bound Net", ctx->nameOf(ctx->getBoundWireNet(wire)), ElementType::NET);
+ addProperty(topItem, QVariant::String, "Conflicting Wire",
+ ctx->getWireName(ctx->getConflictingWireWire(wire)).c_str(ctx), ElementType::WIRE);
addProperty(topItem, QVariant::String, "Conflicting Net", ctx->nameOf(ctx->getConflictingWireNet(wire)),
ElementType::NET);
@@ -698,6 +700,8 @@ void DesignWidget::onSelectionChanged(int num, const QItemSelection &, const QIt
addProperty(topItem, QVariant::String, "Type", ctx->getPipType(pip).c_str(ctx));
addProperty(topItem, QVariant::Bool, "Available", ctx->checkPipAvail(pip));
addProperty(topItem, QVariant::String, "Bound Net", ctx->nameOf(ctx->getBoundPipNet(pip)), ElementType::NET);
+ addProperty(topItem, QVariant::String, "Conflicting Wire",
+ ctx->getWireName(ctx->getConflictingPipWire(pip)).c_str(ctx), ElementType::WIRE);
addProperty(topItem, QVariant::String, "Conflicting Net", ctx->nameOf(ctx->getConflictingPipNet(pip)),
ElementType::NET);
addProperty(topItem, QVariant::String, "Src Wire", ctx->getWireName(ctx->getPipSrcWire(pip)).c_str(ctx),