mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #3359 from jix/fmcombine-memid
fmcombine: Add _gold/_gate suffix to memids
This commit is contained in:
commit
871b277d35
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue