Merge pull request #3359 from jix/fmcombine-memid

fmcombine: Add _gold/_gate suffix to memids
This commit is contained in:
N. Engelhardt 2022-06-09 17:12:34 +02:00 committed by GitHub
commit 871b277d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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));