projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
358bf70
)
Fixed "share" for memory read ports
author
Clifford Wolf
<clifford@clifford.at>
Sun, 3 Aug 2014 18:19:50 +0000
(20:19 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 3 Aug 2014 18:22:33 +0000
(20:22 +0200)
passes/sat/share.cc
patch
|
blob
|
history
diff --git
a/passes/sat/share.cc
b/passes/sat/share.cc
index 4484d6771b03975163ba83e249f0eeb75128edae..0c88b4d3cca7b4c199fafc42fc5f8c7a3baee57a 100644
(file)
--- a/
passes/sat/share.cc
+++ b/
passes/sat/share.cc
@@
-419,6
+419,13
@@
struct ShareWorker
return supercell;
}
+ if (c1->type == "$memrd")
+ {
+ RTLIL::Cell *supercell = module->addCell(NEW_ID, c1);
+ module->connect(c2->getPort("\\DATA"), supercell->getPort("\\DATA"));
+ return supercell;
+ }
+
log_abort();
}