projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8b0c32
)
memory_share: Don't skip ports with EN wired to input for SAT sharing.
author
Marcelina Kościelnicka
<mwk@0x04.net>
Wed, 4 Aug 2021 01:33:41 +0000
(
03:33
+0200)
committer
Marcelina Kościelnicka
<mwk@0x04.net>
Wed, 4 Aug 2021 02:47:43 +0000
(
04:47
+0200)
Fixes #2912.
passes/memory/memory_share.cc
patch
|
blob
|
history
diff --git
a/passes/memory/memory_share.cc
b/passes/memory/memory_share.cc
index 846583c2ca2653226d9416b23cb6adc23e14d502..4e6a30ef1af4a053db6d621bb771554f54f3afa6 100644
(file)
--- a/
passes/memory/memory_share.cc
+++ b/
passes/memory/memory_share.cc
@@
-288,8
+288,7
@@
struct MemoryShareWorker
for (auto bit : bits)
if (bit == RTLIL::State::S1)
goto port_is_always_active;
- if (modwalker.has_drivers(bits))
- eligible_ports.insert(i);
+ eligible_ports.insert(i);
port_is_always_active:;
}
@@
-310,7
+309,6
@@
struct MemoryShareWorker
if (checked_ports.count(i))
continue;
-
std::vector<int> group;
group.push_back(i);