mirror of https://github.com/YosysHQ/yosys.git
fmcombine: Add _gold/_gate suffix to memids
This commit is contained in:
parent
d88a5d26b7
commit
459941c8ff
|
@ -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