aboutsummaryrefslogtreecommitdiffstats
path: root/gui/designwidget.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-10 11:27:11 +0000
committerGitHub <noreply@github.com>2021-02-10 11:27:11 +0000
commite376f950fe683b9a744437301a9e09eae1895efa (patch)
treeccb065cf753546eaf3f55bbe8427d4c77a81ab63 /gui/designwidget.cc
parentf67d474edc3f95e830ec23156a90327ae446ce6f (diff)
parent6bd3dba1e39780e52097533f7e89f823d7e72956 (diff)
downloadnextpnr-e376f950fe683b9a744437301a9e09eae1895efa.tar.gz
nextpnr-e376f950fe683b9a744437301a9e09eae1895efa.tar.bz2
nextpnr-e376f950fe683b9a744437301a9e09eae1895efa.zip
Merge pull request #574 from YosysHQ/gatecat/belpin-1
Remove the unused CellInfo::pins field
Diffstat (limited to 'gui/designwidget.cc')
-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);
- }
}
}