aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/globals.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-06-02 10:01:36 +0100
committergatecat <gatecat@ds0.me>2021-06-02 15:05:19 +0100
commitecc19c2c083f7e3ed7da95557731ded803d2cb1d (patch)
tree864780d38cb9a49b6846a0045ac93e1b4dfcc88d /fpga_interchange/globals.cc
parentf4fed62c05a9595e22a8ec54add5531225911741 (diff)
downloadnextpnr-ecc19c2c083f7e3ed7da95557731ded803d2cb1d.tar.gz
nextpnr-ecc19c2c083f7e3ed7da95557731ded803d2cb1d.tar.bz2
nextpnr-ecc19c2c083f7e3ed7da95557731ded803d2cb1d.zip
Using hashlib in arches
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'fpga_interchange/globals.cc')
-rw-r--r--fpga_interchange/globals.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga_interchange/globals.cc b/fpga_interchange/globals.cc
index 918b916e..ed9f73a6 100644
--- a/fpga_interchange/globals.cc
+++ b/fpga_interchange/globals.cc
@@ -67,7 +67,7 @@ static int route_global_arc(Context *ctx, NetInfo *net, size_t usr_idx, size_t p
WireId startpoint;
GlobalVist best_visit;
std::queue<WireId> visit_queue;
- std::unordered_map<WireId, GlobalVist> visits;
+ dict<WireId, GlobalVist> visits;
visit_queue.push(dest);
visits[dest].downhill = PipId();