mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #4625 from povik/cellmatch-lut
cellmatch: Size the `lut` attribute
This commit is contained in:
commit
a00137c2f6
|
@ -223,7 +223,7 @@ struct CellmatchPass : Pass {
|
|||
for (auto bit : outputs) {
|
||||
log_assert(bit.is_wire());
|
||||
bit.wire->attributes[ID(p_class)] = p_class(inputs.size(), luts[no]);
|
||||
bit.wire->attributes[ID(lut)] = luts[no++];
|
||||
bit.wire->attributes[ID(lut)] = Const(luts[no++], 1 << inputs.size());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue