aboutsummaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-10 10:42:26 +0000
committergatecat <gatecat@ds0.me>2021-02-10 10:42:26 +0000
commit6bd3dba1e39780e52097533f7e89f823d7e72956 (patch)
treeccb065cf753546eaf3f55bbe8427d4c77a81ab63 /gui
parentf67d474edc3f95e830ec23156a90327ae446ce6f (diff)
downloadnextpnr-6bd3dba1e39780e52097533f7e89f823d7e72956.tar.gz
nextpnr-6bd3dba1e39780e52097533f7e89f823d7e72956.tar.bz2
nextpnr-6bd3dba1e39780e52097533f7e89f823d7e72956.zip
Remove the unused CellInfo::pins field
No arches ever actually used this to implement a Cell->Bel pin mapping, and in practice if any did try they would inevitably hit bitrot. This field had limited use in practice as it is necessary to also support cases where one cell pin maps to more than one bel pin. Removing this old field is the first step towards developing a new API for this. Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'gui')
-rw-r--r--gui/designwidget.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/gui/designwidget.cc b/gui/designwidget.cc
index 5c3584d9..5e6098a5 100644
--- a/gui/designwidget.cc
+++ b/gui/designwidget.cc
@@ -819,18 +819,6 @@ void DesignWidget::onSelectionChanged(int num, const QItemSelection &, const QIt
addProperty(cellParamsItem, QVariant::String, item.first.c_str(ctx),
item.second.is_string ? item.second.as_string().c_str() : item.second.to_string().c_str());
}
-
- QtProperty *cellPinsItem = groupManager->addProperty("Pins");
- topItem->addSubProperty(cellPinsItem);
- for (auto &item : cell->pins) {
- std::string cell_port = item.first.c_str(ctx);
- std::string bel_pin = item.second.c_str(ctx);
-
- QtProperty *pinGroupItem = addSubGroup(cellPortsItem, (cell_port + " -> " + bel_pin).c_str());
-
- addProperty(pinGroupItem, QVariant::String, "Cell", cell_port.c_str(), ElementType::CELL);
- addProperty(pinGroupItem, QVariant::String, "Bel", bel_pin.c_str(), ElementType::BEL);
- }
}
}