aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/cost_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpga_interchange/cost_map.h')
-rw-r--r--fpga_interchange/cost_map.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/fpga_interchange/cost_map.h b/fpga_interchange/cost_map.h
index 810d0198..88fb97e4 100644
--- a/fpga_interchange/cost_map.h
+++ b/fpga_interchange/cost_map.h
@@ -24,7 +24,6 @@
#include <boost/multi_array.hpp>
#include <mutex>
-#include "hash_table.h"
#include "lookahead.capnp.h"
#include "nextpnr_namespaces.h"
#include "nextpnr_types.h"
@@ -39,7 +38,7 @@ class CostMap
public:
delay_t get_delay(const Context *ctx, WireId src, WireId dst) const;
void set_cost_map(const Context *ctx, const TypeWirePair &wire_pair,
- const HashTables::HashMap<std::pair<int32_t, int32_t>, delay_t, PairHash> &delays);
+ const dict<std::pair<int32_t, int32_t>, delay_t> &delays);
void from_reader(lookahead_storage::CostMap::Reader reader);
void to_builder(lookahead_storage::CostMap::Builder builder) const;
@@ -53,7 +52,7 @@ class CostMap
};
std::mutex cost_map_mutex_;
- HashTables::HashMap<TypeWirePair, CostMapEntry> cost_map_;
+ dict<TypeWirePair, CostMapEntry> cost_map_;
void fill_holes(const Context *ctx, const TypeWirePair &wire_pair, boost::multi_array<delay_t, 2> &matrix,
delay_t delay_penality);