From: Jannis Harder Date: Fri, 3 Jun 2022 19:47:50 +0000 (+0200) Subject: fmcombine: Add _gold/_gate suffix to memids X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=459941c8ff6863d17182bfa76de3ab7f8a439591;p=yosys.git fmcombine: Add _gold/_gate suffix to memids --- diff --git a/passes/sat/fmcombine.cc b/passes/sat/fmcombine.cc index e15bdf6a8..220cf5c52 100644 --- a/passes/sat/fmcombine.cc +++ b/passes/sat/fmcombine.cc @@ -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));