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
commit df3c62a4ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

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);
}
}
}