mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-12 12:41:28 +00:00
Fixed memory_share for unconditional write with part select to memory
This commit is contained in:
parent
1277d1bcb8
commit
11f77205f5
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ struct MemoryShareWorker
|
||||||
created_conditions++;
|
created_conditions++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (terms.size() == 0)
|
||||||
|
terms = State::S1;
|
||||||
|
|
||||||
if (terms.size() > 1)
|
if (terms.size() > 1)
|
||||||
terms = module->ReduceAnd(NEW_ID, terms);
|
terms = module->ReduceAnd(NEW_ID, terms);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue