diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 11:10:31 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 11:10:31 +0100 |
commit | 9b17fe385cf7e8d3025747b5f7c7822ac2d99920 (patch) | |
tree | 1822cebedf1e346defe28f0707de7332d45a92cc /common/placer1.cc | |
parent | a38b4fa1735bd0af78520f6d5320a264914fb838 (diff) | |
download | nextpnr-9b17fe385cf7e8d3025747b5f7c7822ac2d99920.tar.gz nextpnr-9b17fe385cf7e8d3025747b5f7c7822ac2d99920.tar.bz2 nextpnr-9b17fe385cf7e8d3025747b5f7c7822ac2d99920.zip |
Refactor proxies to nextpnr.
Diffstat (limited to 'common/placer1.cc')
-rw-r--r-- | common/placer1.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/placer1.cc b/common/placer1.cc index 0e3a84f7..78515ece 100644 --- a/common/placer1.cc +++ b/common/placer1.cc @@ -275,7 +275,7 @@ class SAPlacer private: // Initial random placement - void place_initial(ArchRWProxy &proxy, CellInfo *cell) + void place_initial(MutateContext &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(ArchRWProxy &proxy, CellInfo *cell, BelId newBel) + bool try_swap_position(MutateContext &proxy, CellInfo *cell, BelId newBel) { static std::unordered_set<NetInfo *> update; static std::vector<std::pair<IdString, wirelen_t>> new_lengths; |