1
0
mirror of synced 2026-03-09 20:39:11 +00:00

Merge pull request #4892 from YosysHQ/emil/fix-memory-libmap-dangling-cells

memory_libmap: update indices on design modification
This commit is contained in:
Emil J
2025-02-12 10:21:01 +01:00
committed by GitHub

View File

@@ -2258,6 +2258,8 @@ struct MemoryLibMapPass : public Pass {
log("using FF mapping for memory %s.%s\n", log_id(module->name), log_id(mem.memid));
} else {
map.emit(map.cfgs[idx]);
// Rebuild indices after modifying module
worker = MapWorker(module);
}
}
}