aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch_place.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-29 12:02:34 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-29 12:02:34 +0200
commitc18b7b3f6ecb03cb264d83df6da4d85c16716737 (patch)
tree2b55e28328b18a4f8af31ea724163bf30b14da2d /ice40/arch_place.cc
parent960c65047877c72498d65ecc401371ab1552c82a (diff)
downloadnextpnr-c18b7b3f6ecb03cb264d83df6da4d85c16716737.tar.gz
nextpnr-c18b7b3f6ecb03cb264d83df6da4d85c16716737.tar.bz2
nextpnr-c18b7b3f6ecb03cb264d83df6da4d85c16716737.zip
ice40: Reworking placement legalisation to allow integration with SA placer
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/arch_place.cc')
-rw-r--r--ice40/arch_place.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/ice40/arch_place.cc b/ice40/arch_place.cc
index 4160a644..adc90f2f 100644
--- a/ice40/arch_place.cc
+++ b/ice40/arch_place.cc
@@ -24,15 +24,6 @@
NEXTPNR_NAMESPACE_BEGIN
-static const NetInfo *get_net_or_empty(const CellInfo *cell, const IdString port)
-{
- auto found = cell->ports.find(port);
- if (found != cell->ports.end())
- return found->second.net;
- else
- return nullptr;
-};
-
bool Arch::logicCellsCompatible(const std::vector<const CellInfo *> &cells) const
{
bool dffs_exist = false, dffs_neg = false;