mirror of https://github.com/YosysHQ/yosys.git
memory_share: Don't skip ports with EN wired to input for SAT sharing.
Fixes #2912.
This commit is contained in:
parent
d8b0c3277f
commit
63f9e0544f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue