projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d88a5d2
)
fmcombine: Add _gold/_gate suffix to memids
author
Jannis Harder
<me@jix.one>
Fri, 3 Jun 2022 19:47:50 +0000
(21:47 +0200)
committer
Jannis Harder
<me@jix.one>
Fri, 3 Jun 2022 19:52:28 +0000
(21:52 +0200)
passes/sat/fmcombine.cc
patch
|
blob
|
history
diff --git
a/passes/sat/fmcombine.cc
b/passes/sat/fmcombine.cc
index e15bdf6a83d8f9e04988f08a192dabe6a08b23fb..220cf5c521b1c8a7b43a5d04cae1164d0917e004 100644
(file)
--- 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));