diff options
author | N. Engelhardt <nak@yosyshq.com> | 2022-06-09 17:12:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 17:12:34 +0200 |
commit | 871b277d35687147be7911d3277c79ae29abf2c9 (patch) | |
tree | 085f14952d640631788be75945b2fe39c75013f3 /passes/sat | |
parent | 9c41b431917fe623b81e0120b1e7cb119f710b78 (diff) | |
parent | 459941c8ff6863d17182bfa76de3ab7f8a439591 (diff) | |
download | yosys-871b277d35687147be7911d3277c79ae29abf2c9.tar.gz yosys-871b277d35687147be7911d3277c79ae29abf2c9.tar.bz2 yosys-871b277d35687147be7911d3277c79ae29abf2c9.zip |
Merge pull request #3359 from jix/fmcombine-memid
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)); |