aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch_place.cc
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-07-14 18:50:37 +0100
committerSergiusz Bazanski <q3k@q3k.org>2018-07-14 18:50:37 +0100
commitb0c05c7f751cf68165849a8f28d389541456f956 (patch)
treebf1da8454839d625b1c06392db384561b3dd9cee /ice40/arch_place.cc
parentd9c3c117a38c8bc42cfb96255b4762965bc1611b (diff)
downloadnextpnr-b0c05c7f751cf68165849a8f28d389541456f956.tar.gz
nextpnr-b0c05c7f751cf68165849a8f28d389541456f956.tar.bz2
nextpnr-b0c05c7f751cf68165849a8f28d389541456f956.zip
Revert "Refactor proxies to nextpnr."
This reverts commit 9b17fe385cf7e8d3025747b5f7c7822ac2d99920.
Diffstat (limited to 'ice40/arch_place.cc')
-rw-r--r--ice40/arch_place.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ice40/arch_place.cc b/ice40/arch_place.cc
index 42efceab..cb7c44b8 100644
--- a/ice40/arch_place.cc
+++ b/ice40/arch_place.cc
@@ -25,7 +25,7 @@
NEXTPNR_NAMESPACE_BEGIN
-bool ArchReadMethods::logicCellsCompatible(const std::vector<const CellInfo *> &cells) const
+bool ArchRProxyMethods::logicCellsCompatible(const std::vector<const CellInfo *> &cells) const
{
bool dffs_exist = false, dffs_neg = false;
const NetInfo *cen = nullptr, *clk = nullptr, *sr = nullptr;
@@ -76,7 +76,7 @@ bool ArchReadMethods::logicCellsCompatible(const std::vector<const CellInfo *> &
return locals_count <= 32;
}
-bool ArchReadMethods::isBelLocationValid(BelId bel) const
+bool ArchRProxyMethods::isBelLocationValid(BelId bel) const
{
if (parent_->getBelType(bel) == TYPE_ICESTORM_LC) {
std::vector<const CellInfo *> bel_cells;
@@ -97,7 +97,7 @@ bool ArchReadMethods::isBelLocationValid(BelId bel) const
}
}
-bool ArchReadMethods::isValidBelForCell(CellInfo *cell, BelId bel) const
+bool ArchRProxyMethods::isValidBelForCell(CellInfo *cell, BelId bel) const
{
if (cell->type == parent_->id_icestorm_lc) {
NPNR_ASSERT(parent_->getBelType(bel) == TYPE_ICESTORM_LC);