mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #4892 from YosysHQ/emil/fix-memory-libmap-dangling-cells
memory_libmap: update indices on design modification
This commit is contained in:
commit
df3c62a4ed
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue