From 43b8dde923b8cf57a206526fd6e66ebf1c436010 Mon Sep 17 00:00:00 2001 From: gatecat Date: Tue, 1 Jun 2021 17:52:25 +0100 Subject: Use hashlib in placers Signed-off-by: gatecat --- ecp5/arch_place.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'ecp5/arch_place.cc') diff --git a/ecp5/arch_place.cc b/ecp5/arch_place.cc index 0da20151..a98d96ec 100644 --- a/ecp5/arch_place.cc +++ b/ecp5/arch_place.cc @@ -98,15 +98,6 @@ void Arch::permute_luts() TimingAnalyser tmg(getCtx()); tmg.setup(); - std::unordered_map port_to_user; - for (auto &net : nets) { - NetInfo *ni = net.second.get(); - for (size_t i = 0; i < ni->users.size(); i++) { - auto &usr = ni->users.at(i); - port_to_user[&(usr.cell->ports.at(usr.port))] = i; - } - } - auto proc_lut = [&](CellInfo *ci, int lut) { std::vector port_names; for (int i = 0; i < 4; i++) -- cgit v1.2.3