memory_libmap: update indices on design modification

This commit is contained in:
Emil J. Tywoniak 2025-02-11 13:32:34 +01:00
parent f445479374
commit 55b60dca95
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);
}
}
}