aboutsummaryrefslogtreecommitdiffstats
path: root/common/router1.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/router1.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/router1.cc')
-rw-r--r--common/router1.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/router1.cc b/common/router1.cc
index f7a7e8a2..0d26a36d 100644
--- a/common/router1.cc
+++ b/common/router1.cc
@@ -74,7 +74,7 @@ struct RipupScoreboard
std::unordered_map<std::pair<IdString, PipId>, int, hash_id_pip> netPipScores;
};
-void ripup_net(MutateContext &proxy, Context *ctx, IdString net_name)
+void ripup_net(ArchRWProxy &proxy, Context *ctx, IdString net_name)
{
auto net_info = ctx->nets.at(net_name).get();
std::vector<PipId> pips;
@@ -115,7 +115,7 @@ struct Router
delay_t maxDelay = 0.0;
WireId failedDest;
- void route(MutateContext &proxy, const std::unordered_map<WireId, delay_t> &src_wires, WireId dst_wire)
+ void route(ArchRWProxy &proxy, const std::unordered_map<WireId, delay_t> &src_wires, WireId dst_wire)
{
std::priority_queue<QueuedWire, std::vector<QueuedWire>, QueuedWire::Greater> queue;