diff options
author | Jannis Harder <me@jix.one> | 2022-06-03 21:47:50 +0200 |
---|---|---|
committer | Jannis Harder <me@jix.one> | 2022-06-03 21:52:28 +0200 |
commit | 459941c8ff6863d17182bfa76de3ab7f8a439591 (patch) | |
tree | b77d17de85de919628d93e54a22c3fbdd63d6877 /passes/sat | |
parent | d88a5d26b7849e25dceb3854070dd56f9044c7ee (diff) | |
download | yosys-459941c8ff6863d17182bfa76de3ab7f8a439591.tar.gz yosys-459941c8ff6863d17182bfa76de3ab7f8a439591.tar.bz2 yosys-459941c8ff6863d17182bfa76de3ab7f8a439591.zip |
fmcombine: Add _gold/_gate suffix to memids
Diffstat (limited to 'passes/sat')
-rw-r--r-- | passes/sat/fmcombine.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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)); |