diff options
author | gatecat <gatecat@ds0.me> | 2021-06-01 17:52:25 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-06-02 15:04:49 +0100 |
commit | 43b8dde923b8cf57a206526fd6e66ebf1c436010 (patch) | |
tree | 4a45f386aa04c43f09dd40c256a1284f6e9fd393 /ecp5 | |
parent | 579b98c5963c2b86d191d481a2147a663a8196dd (diff) | |
download | nextpnr-43b8dde923b8cf57a206526fd6e66ebf1c436010.tar.gz nextpnr-43b8dde923b8cf57a206526fd6e66ebf1c436010.tar.bz2 nextpnr-43b8dde923b8cf57a206526fd6e66ebf1c436010.zip |
Use hashlib in placers
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/arch_place.cc | 9 |
1 files changed, 0 insertions, 9 deletions
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<PortInfo *, size_t> 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<IdString> port_names; for (int i = 0; i < 4; i++) |