aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer1.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 /common/placer1.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 'common/placer1.cc')
-rw-r--r--common/placer1.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/placer1.cc b/common/placer1.cc
index 78515ece..0e3a84f7 100644
--- a/common/placer1.cc
+++ b/common/placer1.cc
@@ -275,7 +275,7 @@ class SAPlacer
private:
// Initial random placement
- void place_initial(MutateContext &proxy, CellInfo *cell)
+ void place_initial(ArchRWProxy &proxy, CellInfo *cell)
{
bool all_placed = false;
int iters = 25;
@@ -325,7 +325,7 @@ class SAPlacer
}
// Attempt a SA position swap, return true on success or false on failure
- bool try_swap_position(MutateContext &proxy, CellInfo *cell, BelId newBel)
+ bool try_swap_position(ArchRWProxy &proxy, CellInfo *cell, BelId newBel)
{
static std::unordered_set<NetInfo *> update;
static std::vector<std::pair<IdString, wirelen_t>> new_lengths;