ecp5: Disable Pip list in GUI for now

Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
David Shah 2018-07-31 14:36:17 +02:00
parent 32ff0059fe
commit e3a403fa29

View File

@ -141,6 +141,7 @@ void ContextTreeModel::loadData(Context *ctx)
QMap<QString, ContextTreeItem *> pip_items; QMap<QString, ContextTreeItem *> pip_items;
// Add pips to tree // Add pips to tree
#ifndef ARCH_ECP5
for (auto pip : ctx->getPips()) { for (auto pip : ctx->getPips()) {
auto id = ctx->getPipName(pip); auto id = ctx->getPipName(pip);
QStringList items = QString(id.c_str(ctx)).split("/"); QStringList items = QString(id.c_str(ctx)).split("/");
@ -164,6 +165,7 @@ void ContextTreeModel::loadData(Context *ctx)
parent = pip_items[name]; parent = pip_items[name];
} }
} }
#endif
pip_root->sort(); pip_root->sort();
nets_root = new ContextTreeItem("Nets"); nets_root = new ContextTreeItem("Nets");
@ -341,4 +343,4 @@ QList<QModelIndex> ContextTreeModel::search(QString text)
} }
return list; return list;
} }
NEXTPNR_NAMESPACE_END NEXTPNR_NAMESPACE_END