3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-05 09:04:08 +00:00

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

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));