diff options
author | gatecat <gatecat@ds0.me> | 2021-02-10 10:42:26 +0000 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-02-10 10:42:26 +0000 |
commit | 6bd3dba1e39780e52097533f7e89f823d7e72956 (patch) | |
tree | ccb065cf753546eaf3f55bbe8427d4c77a81ab63 /gui | |
parent | f67d474edc3f95e830ec23156a90327ae446ce6f (diff) | |
download | nextpnr-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.cc | 12 |
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);
- }
}
}
|