aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/lookahead.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-06-03 09:04:34 +0100
committerGitHub <noreply@github.com>2021-06-03 09:04:34 +0100
commita3d8b4f9d198226ec0903e34a8d290b376b45c0b (patch)
treeada2c6a5d48e766fa523e633aaa28179baea3273 /fpga_interchange/lookahead.h
parent589ca8ded5da2012e4388a3ec4c8fae74dff75e4 (diff)
parentdcbb322447a7fb59cabe197ec1dd2307acfa3681 (diff)
downloadnextpnr-a3d8b4f9d198226ec0903e34a8d290b376b45c0b.tar.gz
nextpnr-a3d8b4f9d198226ec0903e34a8d290b376b45c0b.tar.bz2
nextpnr-a3d8b4f9d198226ec0903e34a8d290b376b45c0b.zip
Merge pull request #718 from YosysHQ/gatecat/hashlib
Moving from unordered_{map, set} to hashlib
Diffstat (limited to 'fpga_interchange/lookahead.h')
-rw-r--r--fpga_interchange/lookahead.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/fpga_interchange/lookahead.h b/fpga_interchange/lookahead.h
index b9d352d5..9655e13e 100644
--- a/fpga_interchange/lookahead.h
+++ b/fpga_interchange/lookahead.h
@@ -26,7 +26,6 @@
#include "cost_map.h"
#include "deterministic_rng.h"
-#include "hash_table.h"
#include "lookahead.capnp.h"
#include "nextpnr_namespaces.h"
#include "type_wire.h"
@@ -88,9 +87,9 @@ struct Lookahead
delay_t cost;
};
- HashTables::HashMap<TypeWireId, std::vector<InputSiteWireCost>> input_site_wires;
- HashTables::HashMap<TypeWireId, OutputSiteWireCost> output_site_wires;
- HashTables::HashMap<TypeWirePair, delay_t> site_to_site_cost;
+ dict<TypeWireId, std::vector<InputSiteWireCost>> input_site_wires;
+ dict<TypeWireId, OutputSiteWireCost> output_site_wires;
+ dict<TypeWirePair, delay_t> site_to_site_cost;
CostMap cost_map;
};