diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/treemodel.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/treemodel.cc b/gui/treemodel.cc index d79e38de..d42dc401 100644 --- a/gui/treemodel.cc +++ b/gui/treemodel.cc @@ -141,6 +141,7 @@ void ContextTreeModel::loadData(Context *ctx) QMap<QString, ContextTreeItem *> pip_items; // Add pips to tree +#ifndef ARCH_ECP5 for (auto pip : ctx->getPips()) { auto id = ctx->getPipName(pip); QStringList items = QString(id.c_str(ctx)).split("/"); @@ -164,6 +165,7 @@ void ContextTreeModel::loadData(Context *ctx) parent = pip_items[name]; } } +#endif pip_root->sort(); nets_root = new ContextTreeItem("Nets"); @@ -341,4 +343,4 @@ QList<QModelIndex> ContextTreeModel::search(QString text) } return list; } -NEXTPNR_NAMESPACE_END
\ No newline at end of file +NEXTPNR_NAMESPACE_END |