mirror of https://github.com/YosysHQ/yosys.git
Fixed memory_share for unconditional write with part select to memory
This commit is contained in:
parent
1277d1bcb8
commit
11f77205f5
|
@ -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…
Reference in New Issue