1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-05-05 15:43:30 +00:00

Use hashlib for core netlist structures

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat
2021-06-01 16:51:18 +01:00
parent ff72454f83
commit 579b98c596
49 changed files with 383 additions and 368 deletions

View File

@@ -389,8 +389,8 @@ struct FixupHierarchyWorker
// Update hierarchy structure for nets and cells that have hiercell set
void rebuild_hierarchy()
{
for (auto cell : sorted(ctx->cells)) {
CellInfo *ci = cell.second;
for (auto &cell : ctx->cells) {
CellInfo *ci = cell.second.get();
if (ci->hierpath == IdString())
ci->hierpath = ctx->top_module;
auto &hc = ctx->hierarchy.at(ci->hierpath);