fmcombine: Add _gold/_gate suffix to memids

This commit is contained in:
Jannis Harder 2022-06-03 21:47:50 +02:00
parent d88a5d26b7
commit 459941c8ff
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,9 @@ struct FmcombineWorker
c->parameters = cell->parameters;
c->attributes = cell->attributes;
if (cell->is_mem_cell())
c->parameters[ID::MEMID] = cell->parameters[ID::MEMID].decode_string() + suffix;
for (auto &conn : cell->connections())
c->setPort(conn.first, import_sig(conn.second, suffix));